summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMarc Espie <espie@cvs.openbsd.org>2001-09-05 08:27:32 +0000
committerMarc Espie <espie@cvs.openbsd.org>2001-09-05 08:27:32 +0000
commit8c6b9f6eb559ab3faeba98d7f24ce33cc02b60ed (patch)
tree6aab76e2b59590f96080d3150d0596a240d65a91
parentb52d06f3372cb4ec3ab32061dd2269f67786157a (diff)
remove work-around for _GLOBAL_OFFSET_TABLE_, now that the last pieces
have been converted to __GLOBAL_OFFSET_TABLE_.
-rw-r--r--gnu/usr.bin/gas/config/tc-i386.c18
1 files changed, 2 insertions, 16 deletions
diff --git a/gnu/usr.bin/gas/config/tc-i386.c b/gnu/usr.bin/gas/config/tc-i386.c
index b76656d4b0c..98d16751635 100644
--- a/gnu/usr.bin/gas/config/tc-i386.c
+++ b/gnu/usr.bin/gas/config/tc-i386.c
@@ -1,4 +1,4 @@
-/* $OpenBSD: tc-i386.c,v 1.7 1999/06/15 10:28:49 espie Exp $ */
+/* $OpenBSD: tc-i386.c,v 1.8 2001/09/05 08:27:31 espie Exp $ */
/* i386.c -- Assemble code for the Intel 80386
Copyright (C) 1989, 1991, 1992 Free Software Foundation.
@@ -27,7 +27,7 @@
*/
#ifndef lint
-static char rcsid[] = "$OpenBSD: tc-i386.c,v 1.7 1999/06/15 10:28:49 espie Exp $";
+static char rcsid[] = "$OpenBSD: tc-i386.c,v 1.8 2001/09/05 08:27:31 espie Exp $";
#endif
#include "as.h"
@@ -2258,20 +2258,6 @@ symbolS *
md_undefined_symbol (name)
char *name;
{
-#ifdef PIC
- /* gcc bug work-around:
- * old versions of gcc don't heed YES_UNDERSCORES,
- * and always generate _GLOBAL_OFFSET_TABLE_.
- * On OpenBSD, this is a bug, as this collides with
- * the user namespace.
- *
- * This code will no longer be needed once the switch to a recent
- * egcs is complete.
- */
- if (*name == '_' && *(name+1) == 'G' &&
- strcmp(name, "_GLOBAL_OFFSET_TABLE_") == 0)
- return symbol_find(GLOBAL_OFFSET_TABLE_NAME);
-#endif
return 0;
}