projects
/
external
/
binutils.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
Delete duplicate target short-cuts to dynamic sections
[external/binutils.git]
/
bfd
/
elflink.c
diff --git
a/bfd/elflink.c
b/bfd/elflink.c
index
76f91e9
..
daf4b82
100644
(file)
--- a/
bfd/elflink.c
+++ b/
bfd/elflink.c
@@
-149,8
+149,7
@@
_bfd_elf_create_got_section (bfd *abfd, struct bfd_link_info *info)
struct elf_link_hash_table *htab = elf_hash_table (info);
/* This function may be called more than once. */
- s = bfd_get_linker_section (abfd, ".got");
- if (s != NULL)
+ if (htab->sgot != NULL)
return TRUE;
flags = bed->dynamic_sec_flags;