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-cris.c
diff --git
a/bfd/elf32-cris.c
b/bfd/elf32-cris.c
index c9316ee1958ee7cc35784f128be62f24b6477faf..33afc63f169fff71a61c9f54281fa44f7caf62f5 100644
(file)
--- a/
bfd/elf32-cris.c
+++ b/
bfd/elf32-cris.c
@@
-2288,7
+2288,7
@@
elf_cris_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.02352 seconds
and
4
git commands to generate.