2007-12-24 H.J. Lu <hongjiu.lu@intel.com>
authorH.J. Lu <hjl.tools@gmail.com>
Mon, 24 Dec 2007 16:55:39 +0000 (16:55 +0000)
committerH.J. Lu <hjl.tools@gmail.com>
Mon, 24 Dec 2007 16:55:39 +0000 (16:55 +0000)
commit147d51c2327f0f36ddab7e2766087a902f8d83c1
treef336d7d660e7da2e09b28179f134e0ce1ef90a73
parent5a517ebd81c05da8cf39fd9a9b8dddb4042009f6
2007-12-24  H.J. Lu  <hongjiu.lu@intel.com>

PR binutils/5449
* elf.c (rewrite_elf_program_header): Don't adjust p_paddr if
p_paddr is set to 0.
(copy_private_bfd_data): Call rewrite_elf_program_header if
p_paddr is set to 0.

* elfcode.h (elf_swap_phdr_out): Set p_paddr to 0 if needed.

* elfxx-ia64.c (ELF_MAXPAGESIZE): Don't redefine it for HPUX.
bfd/ChangeLog
bfd/elf.c
bfd/elfcode.h
bfd/elfxx-ia64.c