--- a/usr/src/uts/intel/amd64/krtld/kobj_boot.c Tue Sep 20 14:52:33 2005 -0700
+++ b/usr/src/uts/intel/amd64/krtld/kobj_boot.c Tue Sep 20 15:07:36 2005 -0700
@@ -2,9 +2,8 @@
* CDDL HEADER START
*
* The contents of this file are subject to the terms of the
- * Common Development and Distribution License, Version 1.0 only
- * (the "License"). You may not use this file except in compliance
- * with the License.
+ * Common Development and Distribution License (the "License").
+ * You may not use this file except in compliance with the License.
*
* You can obtain a copy of the license at usr/src/OPENSOLARIS.LICENSE
* or http://www.opensolaris.org/os/licensing.
@@ -20,7 +19,7 @@
* CDDL HEADER END
*/
/*
- * Copyright 2004 Sun Microsystems, Inc. All rights reserved.
+ * Copyright 2005 Sun Microsystems, Inc. All rights reserved.
* Use is subject to license terms.
*/
@@ -104,20 +103,6 @@
*/
for (; ebp->eb_tag != EB_NULL; ebp++) {
switch (ebp->eb_tag) {
-#if defined(__GNUC__)
- /*
- * gcc 2.95, 3.1 cannot be told to not generate GOT references,
- * which krtld cannot handle. yet switch statements which
- * can be mapped to jump tables are a frequent generator
- * of such references.
- */
- case 0x12345678:
- /*
- * deliberately mess up the compilers
- * temptation to create a jump table
- */
- break;
-#endif
case EB_AUXV:
auxv = (auxv_t *)ebp->eb_un.eb_ptr;
break;
@@ -137,14 +122,6 @@
*/
for (; auxv->a_type != AT_NULL; auxv++) {
switch (auxv->a_type) {
-#if defined(__GNUC__)
- case 0x12345678:
- /*
- * deliberately mess up the compilers
- * temptation to create a jump table
- */
- break;
-#endif
case AT_PHDR:
bootaux[BA_PHDR].ba_ptr = auxv->a_un.a_ptr;
break;
@@ -410,14 +387,6 @@
* order unaligned.
*/
switch (rtype) {
-#if defined(__GNUC__)
- case 0x12345678:
- /*
- * deliberately mess up the compilers
- * temptation to create a jump table
- */
- break;
-#endif
case R_AMD64_64:
*(unsigned long *)offptr = value + addend;
break;