projects
/
binutils-gdb.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
09ff350
)
* elf64-ppc.c (ppc64_elf_edit_opd): Don't call dec_dynrel_count
author
Alan Modra
<amodra@gmail.com>
Tue, 16 Aug 2005 10:13:43 +0000
(10:13 +0000)
committer
Alan Modra
<amodra@gmail.com>
Tue, 16 Aug 2005 10:13:43 +0000
(10:13 +0000)
when relocatable.
bfd/ChangeLog
patch
|
blob
|
history
bfd/elf64-ppc.c
patch
|
blob
|
history
diff --git
a/bfd/ChangeLog
b/bfd/ChangeLog
index e26264ddf49774c3d94ce96ffc9624fb0486c994..5e17f89540b228955f999ce941b658322aee3260 100644
(file)
--- a/
bfd/ChangeLog
+++ b/
bfd/ChangeLog
@@
-1,3
+1,8
@@
+2005-08-16 Alan Modra <amodra@bigpond.net.au>
+
+ * elf64-ppc.c (ppc64_elf_edit_opd): Don't call dec_dynrel_count
+ when relocatable.
+
2005-08-15 Bob Wilson <bob.wilson@acm.org>
* elf32-xtensa.c (ELF_MACHINE_CODE, ELF_MACHINE_ALT1): Swap values
diff --git
a/bfd/elf64-ppc.c
b/bfd/elf64-ppc.c
index 545fae83503b2dfc9b3138bad23f0e3e17c0bf35..31ad3d0e305c09ee28de6258123c9cbeee0ef788 100644
(file)
--- a/
bfd/elf64-ppc.c
+++ b/
bfd/elf64-ppc.c
@@
-6461,8
+6461,9
@@
ppc64_elf_edit_opd (bfd *obfd, struct bfd_link_info *info,
if (skip)
{
- if (!dec_dynrel_count (rel->r_info, sec, info,
- NULL, h, sym_sec))
+ if (!info->relocatable
+ && !dec_dynrel_count (rel->r_info, sec, info,
+ NULL, h, sym_sec))
goto error_ret;
}
else