aboutsummaryrefslogtreecommitdiff
path: root/bfd/elf.c
diff options
context:
space:
mode:
authorAlan Modra <amodra@gmail.com>2015-07-24 14:44:26 +0930
committerAlan Modra <amodra@gmail.com>2015-07-24 14:48:55 +0930
commit91cb26dac47265f178fb6635f1deebdfd244572a (patch)
tree54455643cb56cef677747e99b10dd659e1935e7c /bfd/elf.c
parent2fb9328d8daa751f3b71745636323eddccaaacce (diff)
downloadgdb-91cb26dac47265f178fb6635f1deebdfd244572a.zip
gdb-91cb26dac47265f178fb6635f1deebdfd244572a.tar.gz
gdb-91cb26dac47265f178fb6635f1deebdfd244572a.tar.bz2
Correct reloc section name
* elf.c (_bfd_elf_assign_file_positions_for_non_load): Use .rela prefix for reloc section corresponding to rela section associated with renamed debug section.
Diffstat (limited to 'bfd/elf.c')
-rw-r--r--bfd/elf.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/bfd/elf.c b/bfd/elf.c
index 9846046..9776854 100644
--- a/bfd/elf.c
+++ b/bfd/elf.c
@@ -5654,7 +5654,7 @@ _bfd_elf_assign_file_positions_for_non_load (bfd *abfd)
if (d->rela.hdr
&& !_bfd_elf_set_reloc_sh_name (abfd,
d->rela.hdr,
- name, FALSE))
+ name, TRUE))
return FALSE;
/* Update section size and contents. */