From eea2ad45018025d9975e0c6403a8c923c75e7708 Mon Sep 17 00:00:00 2001 From: Andreas Jaeger Date: Thu, 11 Jan 2001 11:38:24 +0000 Subject: [PATCH] * config/tc-i386.h (TC_RELOC_GLOBAL_OFFSET_TABLE): Removed, it's not used anywhere. --- gas/ChangeLog | 5 +++++ gas/config/tc-i386.h | 11 +---------- 2 files changed, 6 insertions(+), 10 deletions(-) diff --git a/gas/ChangeLog b/gas/ChangeLog index e1d14bddc5e..918829baa09 100644 --- a/gas/ChangeLog +++ b/gas/ChangeLog @@ -1,3 +1,8 @@ +2001-01-11 Andreas Jaeger + + * config/tc-i386.h (TC_RELOC_GLOBAL_OFFSET_TABLE): Removed, it's + not used anywhere. + 2001-01-10 Nick Clifton * config/tc-arm.c (arm_fix_adjustable): Define for OBJ_COFF. diff --git a/gas/config/tc-i386.h b/gas/config/tc-i386.h index 0a2200b6e73..f42765b6418 100644 --- a/gas/config/tc-i386.h +++ b/gas/config/tc-i386.h @@ -1,5 +1,5 @@ /* tc-i386.h -- Header file for tc-i386.c - Copyright (C) 1989, 92, 93, 94, 95, 96, 97, 98, 99, 2000 + Copyright (C) 1989, 92, 93, 94, 95, 96, 97, 98, 99, 2000, 2001 Free Software Foundation. This file is part of GAS, the GNU Assembler. @@ -54,15 +54,6 @@ extern int tc_i386_fix_adjustable PARAMS ((struct fix *)); (! symbol_used_in_reloc_p ((fixP)->fx_addsy) && tc_fix_adjustable (fixP)) #endif -/* This is the relocation type for direct references to GLOBAL_OFFSET_TABLE. - * It comes up in complicated expressions such as - * _GLOBAL_OFFSET_TABLE_+[.-.L284], which cannot be expressed normally with - * the regular expressions. The fixup specified here when used at runtime - * implies that we should add the address of the GOT to the specified location, - * and as a result we have simplified the expression into something we can use. - */ -#define TC_RELOC_GLOBAL_OFFSET_TABLE BFD_RELOC_386_GOTPC - /* This expression evaluates to false if the relocation is for a local object for which we still want to do the relocation at runtime. True if we are willing to perform this relocation while building the .o file. -- 2.30.2