diff options
author | H.J. Lu <hjl.tools@gmail.com> | 2007-12-24 16:55:39 +0000 |
---|---|---|
committer | H.J. Lu <hjl.tools@gmail.com> | 2007-12-24 16:55:39 +0000 |
commit | 147d51c2327f0f36ddab7e2766087a902f8d83c1 (patch) | |
tree | f336d7d660e7da2e09b28179f134e0ce1ef90a73 /bfd/elfxx-ia64.c | |
parent | 5a517ebd81c05da8cf39fd9a9b8dddb4042009f6 (diff) | |
download | gdb-147d51c2327f0f36ddab7e2766087a902f8d83c1.zip gdb-147d51c2327f0f36ddab7e2766087a902f8d83c1.tar.gz gdb-147d51c2327f0f36ddab7e2766087a902f8d83c1.tar.bz2 |
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.
Diffstat (limited to 'bfd/elfxx-ia64.c')
-rw-r--r-- | bfd/elfxx-ia64.c | 2 |
1 files changed, 0 insertions, 2 deletions
diff --git a/bfd/elfxx-ia64.c b/bfd/elfxx-ia64.c index 0c975c5..5aa1a0a 100644 --- a/bfd/elfxx-ia64.c +++ b/bfd/elfxx-ia64.c @@ -5715,8 +5715,6 @@ elfNN_hpux_backend_symbol_processing (bfd *abfd ATTRIBUTE_UNUSED, #undef elf_backend_want_p_paddr_set_to_zero #define elf_backend_want_p_paddr_set_to_zero 1 -#undef ELF_MAXPAGESIZE -#define ELF_MAXPAGESIZE 0x1000 /* 4K */ #undef ELF_COMMONPAGESIZE #undef ELF_OSABI #define ELF_OSABI ELFOSABI_HPUX |