* elf32-i386.c (elf_i386_finish_dynamic_sections): Add output_offset
authorAlan Modra <amodra@gmail.com>
Thu, 12 Dec 2002 10:17:14 +0000 (10:17 +0000)
committerAlan Modra <amodra@gmail.com>
Thu, 12 Dec 2002 10:17:14 +0000 (10:17 +0000)
to DT_JMPREL.  Use srelplt input section size for DT_PLTRELSZ and
DT_RELSZ adjustment, not output section.  Avoid writing tags when
unchanged.  Don't assume linker script is sane, adjust DT_REL too.
* elf32-hppa.c (elf32_hppa_finish_dynamic_sections): Just use raw
size of srelplt for DT_PLTRELSZ.  Use srelplt input section size for
DT_RELASZ adjustment, not output section.  Avoid writing tags when
unchanged.  Adjust DT_RELA.
* elf64-ppc.c (ppc64_elf_finish_dynamic_sections): Tweaks for better
formatting.  Avoid writing tags when unchanged.  Adjust DT_RELA.


No differences found