aboutsummaryrefslogtreecommitdiff
path: root/bfd/elf32-m68k.c
diff options
context:
space:
mode:
authorAndreas Schwab <schwab@linux-m68k.org>2012-06-22 09:30:18 +0000
committerAndreas Schwab <schwab@linux-m68k.org>2012-06-22 09:30:18 +0000
commitb70e7a2fdf5fac8cacce8335a2fd9a561480eafc (patch)
tree6ab9ce26a73ccee50a28108c158b05f92b402ee0 /bfd/elf32-m68k.c
parentc614397c62fb697caa71283401177114b290432e (diff)
downloadgdb-b70e7a2fdf5fac8cacce8335a2fd9a561480eafc.zip
gdb-b70e7a2fdf5fac8cacce8335a2fd9a561480eafc.tar.gz
gdb-b70e7a2fdf5fac8cacce8335a2fd9a561480eafc.tar.bz2
* elf32-m68k.c (elf_m68k_finish_dynamic_symbol): Don't make
_GLOBAL_OFFSET_TABLE_ and _DYNAMIC absolute.
Diffstat (limited to 'bfd/elf32-m68k.c')
-rw-r--r--bfd/elf32-m68k.c5
1 files changed, 0 insertions, 5 deletions
diff --git a/bfd/elf32-m68k.c b/bfd/elf32-m68k.c
index 573003b..1cb03ae 100644
--- a/bfd/elf32-m68k.c
+++ b/bfd/elf32-m68k.c
@@ -4500,11 +4500,6 @@ elf_m68k_finish_dynamic_symbol (output_bfd, info, h, sym)
bfd_elf32_swap_reloca_out (output_bfd, &rela, loc);
}
- /* Mark _DYNAMIC and _GLOBAL_OFFSET_TABLE_ as absolute. */
- if (strcmp (h->root.root.string, "_DYNAMIC") == 0
- || h == elf_hash_table (info)->hgot)
- sym->st_shndx = SHN_ABS;
-
return TRUE;
}