projects
/
deliverable
/
binutils-gdb.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
Don't make dynamic .data.rel.ro SEC_READONLY
[deliverable/binutils-gdb.git]
/
bfd
/
elf32-ppc.c
diff --git
a/bfd/elf32-ppc.c
b/bfd/elf32-ppc.c
index e71757eab0ff2f533cecf5528c501e9b3b04fcd6..834ef67d00ea2014ec56ec023aa279e7f0bcda27 100644
(file)
--- a/
bfd/elf32-ppc.c
+++ b/
bfd/elf32-ppc.c
@@
-10355,7
+10355,7
@@
ppc_elf_finish_dynamic_symbol (bfd *output_bfd,
if (ppc_elf_hash_entry (h)->has_sda_refs)
s = htab->relsbss;
- else if (
(h->root.u.def.section->flags & SEC_READONLY) != 0
)
+ else if (
h->root.u.def.section == htab->elf.sdynrelro
)
s = htab->elf.sreldynrelro;
else
s = htab->elf.srelbss;
This page took
0.035887 seconds
and
4
git commands to generate.