aboutsummaryrefslogtreecommitdiff
path: root/bfd
diff options
context:
space:
mode:
authorAlan Modra <amodra@gmail.com>2012-05-07 09:25:27 +0000
committerAlan Modra <amodra@gmail.com>2012-05-07 09:25:27 +0000
commit2de5d1350379e00c420dc4f1925ed82927cc7521 (patch)
treeac1b1de8a527ab8d336ca29574eef61234643ba4 /bfd
parentcce3d66c346149b194f8f9cbe82edf5354a198c9 (diff)
downloadgdb-2de5d1350379e00c420dc4f1925ed82927cc7521.zip
gdb-2de5d1350379e00c420dc4f1925ed82927cc7521.tar.gz
gdb-2de5d1350379e00c420dc4f1925ed82927cc7521.tar.bz2
* elf64-ia64-vms.c (elf64_ia64_relocate_section): Update
RELOC_AGAINST_DISCARDED_SECTION invocation.
Diffstat (limited to 'bfd')
-rw-r--r--bfd/ChangeLog5
-rw-r--r--bfd/elf64-ia64-vms.c2
2 files changed, 6 insertions, 1 deletions
diff --git a/bfd/ChangeLog b/bfd/ChangeLog
index 455a124..f695aef 100644
--- a/bfd/ChangeLog
+++ b/bfd/ChangeLog
@@ -1,3 +1,8 @@
+2012-05-07 Alan Modra <amodra@gmail.com>
+
+ * elf64-ia64-vms.c (elf64_ia64_relocate_section): Update
+ RELOC_AGAINST_DISCARDED_SECTION invocation.
+
2012-05-07 Hans-Peter Nilsson <hp@axis.com>
* elf-bfd.h (RELOC_AGAINST_DISCARDED_SECTION): Declare and use
diff --git a/bfd/elf64-ia64-vms.c b/bfd/elf64-ia64-vms.c
index 9c2cb4c..152ce32 100644
--- a/bfd/elf64-ia64-vms.c
+++ b/bfd/elf64-ia64-vms.c
@@ -3508,7 +3508,7 @@ elf64_ia64_relocate_section (bfd *output_bfd,
section contents zeroed. Avoid any special processing. */
if (sym_sec != NULL && discarded_section (sym_sec))
RELOC_AGAINST_DISCARDED_SECTION (info, input_bfd, input_section,
- rel, relend, howto, contents);
+ rel, 1, relend, howto, 0, contents);
if (info->relocatable)
continue;