* elf64-ia64-vms.c (elf64_ia64_relocate_section): Update

RELOC_AGAINST_DISCARDED_SECTION invocation.
This commit is contained in:
Alan Modra 2012-05-07 09:25:27 +00:00
parent cce3d66c34
commit 2de5d13503
2 changed files with 6 additions and 1 deletions

View File

@ -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

View File

@ -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;