aboutsummaryrefslogtreecommitdiff
path: root/bfd/elfcode.h
diff options
context:
space:
mode:
authorJeff Law <law@redhat.com>1994-05-16 19:34:13 +0000
committerJeff Law <law@redhat.com>1994-05-16 19:34:13 +0000
commit459ae909b9afdda03da2255929ba1ec14a233ce9 (patch)
tree41584161b10f3244c3ba54a21a17a5c2e1b8f19f /bfd/elfcode.h
parent3315c7c71422bde8222cadbb9c1eb0568304c7d0 (diff)
downloadgdb-459ae909b9afdda03da2255929ba1ec14a233ce9.zip
gdb-459ae909b9afdda03da2255929ba1ec14a233ce9.tar.gz
gdb-459ae909b9afdda03da2255929ba1ec14a233ce9.tar.bz2
* bfd-in2.h: Rebuilt.
* elf32-hppa.c: Change .hppa_linker_stubs to .PARISC.stubs, likewise for other PA specific sections. (hppa_elf_relocate_unwind_table): Delete unused function. (elf_hppa_howto_table): Completely new table based on 94-02-02 draft PA ELF spec. Change relocation tags appropriately throughout elf32-hppa.c (hppa_elf_gen_reloc_type): Rewrite and simplify based on 94-02-02 spec. (hppa_elf_reloc): Likewise. (hppa_look_for_stubs_in_section): Likewise (ELF_MACHINE_CODE): Change to EM_PARISC. * elf32-hppa.h: Include "elf/hppa.h". Change relocation tags appropriately throughout elf32-hppa.h. (elf32_hppa_reloc_type): New table based on 94-02-02 draft PA ELF spec. (R_HPPA_ABS_CALL, R_HPPA_COMPLEX*, R_HPPA_UNWIND): Delete definitions. * elfcode.h (prep_headers): Use EM_PARISC instead of EM_HPPA. * reloc.c (bfd_reloc_code_real): Delete unused HPPA relocations. * som.h (R_HPPA_ABS_CALL, R_HPPA_COMPLEX): Delete definitions. * libhppa.h (hppa_field_adjust): Avoid adding constant_value into the final value twice for LR and RR field selectors.
Diffstat (limited to 'bfd/elfcode.h')
-rw-r--r--bfd/elfcode.h14
1 files changed, 1 insertions, 13 deletions
diff --git a/bfd/elfcode.h b/bfd/elfcode.h
index 70fac03..2be7ea3 100644
--- a/bfd/elfcode.h
+++ b/bfd/elfcode.h
@@ -2053,18 +2053,6 @@ assign_file_positions_except_relocs (abfd, dosyms)
off = assign_file_position_for_section (i_shdrp, off);
if (exec_p
- && i_shdrp->sh_type == SHT_NOBITS
- && (i == i_ehdrp->e_shnum
- || i_shdrpp[i + 1]->sh_type != SHT_NOBITS))
- {
- /* Skip to the next page to ensure that when the file is
- loaded the bss section is loaded with zeroes. I don't
- know if this is required on all platforms, but it
- shouldn't really hurt. */
- off = BFD_ALIGN (off, maxpagesize);
- }
-
- if (exec_p
&& (abfd->flags & D_PAGED) != 0
&& get_elf_backend_data (abfd)->maxpagesize > 1
&& i_shdrp->sh_type == SHT_PROGBITS
@@ -2161,7 +2149,7 @@ prep_headers (abfd)
i_ehdrp->e_machine = EM_MIPS; /* only MIPS R3000 */
break;
case bfd_arch_hppa:
- i_ehdrp->e_machine = EM_HPPA;
+ i_ehdrp->e_machine = EM_PARISC;
break;
case bfd_arch_powerpc:
i_ehdrp->e_machine = EM_CYGNUS_POWERPC;