aboutsummaryrefslogtreecommitdiff
path: root/bfd/section.c
diff options
context:
space:
mode:
authorMaciej W. Rozycki <macro@mips.com>2018-02-19 18:38:41 +0000
committerMaciej W. Rozycki <macro@mips.com>2018-02-19 18:38:41 +0000
commit4f7fd351a727ffc44d3dd4e00ddf5222cd2063c5 (patch)
tree2dd16533f39bd4647ae88470fcd8926af9bea38f /bfd/section.c
parentf2b740ac53a3347b7e0fe1a09e52f6311265e709 (diff)
downloadgdb-4f7fd351a727ffc44d3dd4e00ddf5222cd2063c5.zip
gdb-4f7fd351a727ffc44d3dd4e00ddf5222cd2063c5.tar.gz
gdb-4f7fd351a727ffc44d3dd4e00ddf5222cd2063c5.tar.bz2
BFD: Remove unused SEC_HAS_GOT_REF section flag
Remove the SEC_HAS_GOT_REF section flag no longer in use since commit a252afa4cdff ("Fix linking of PIC code on PA"), <https://sourceware.org/ml/binutils/2003-08/msg00467.html>, to make the bit position available for reuse. bfd/ * section.c (SEC_HAS_GOT_REF): Remove macro. * bfd-in2.h: Regenerate.
Diffstat (limited to 'bfd/section.c')
-rw-r--r--bfd/section.c8
1 files changed, 0 insertions, 8 deletions
diff --git a/bfd/section.c b/bfd/section.c
index ef0af8a..de4ca3a 100644
--- a/bfd/section.c
+++ b/bfd/section.c
@@ -221,14 +221,6 @@ CODE_FRAGMENT
. {* The section contains thread local data. *}
.#define SEC_THREAD_LOCAL 0x400
.
-. {* The section has GOT references. This flag is only for the
-. linker, and is currently only used by the elf32-hppa back end.
-. It will be set if global offset table references were detected
-. in this section, which indicate to the linker that the section
-. contains PIC code, and must be handled specially when doing a
-. static link. *}
-.#define SEC_HAS_GOT_REF 0x800
-.
. {* The section contains common symbols (symbols may be defined
. multiple times, the value of a symbol is the amount of
. space it requires, and the largest symbol value is the one