projects
/
deliverable
/
binutils-gdb.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
Add hdynamic to elf_link_hash_table for _DYNAMIC
[deliverable/binutils-gdb.git]
/
bfd
/
elf32-cr16.c
diff --git
a/bfd/elf32-cr16.c
b/bfd/elf32-cr16.c
index 97fa5691e600ce61f87230e13512f705a8693c58..46769f55b55e86b8f6b23f7b8d24a8cefc7764eb 100644
(file)
--- a/
bfd/elf32-cr16.c
+++ b/
bfd/elf32-cr16.c
@@
-2698,7
+2698,7
@@
_bfd_cr16_elf_finish_dynamic_symbol (bfd * output_bfd,
}
/* Mark _DYNAMIC and _GLOBAL_OFFSET_TABLE_ as absolute. */
- if (
strcmp (h->root.root.string, "_DYNAMIC") == 0
+ if (
h == elf_hash_table (info)->hdynamic
|| h == elf_hash_table (info)->hgot)
sym->st_shndx = SHN_ABS;
This page took
0.024771 seconds
and
4
git commands to generate.