From: Kim Knuttila Date: Fri, 19 Jan 1996 00:16:31 +0000 (+0000) Subject: Numerous PowerPC PE fixes X-Git-Url: https://git.libre-soc.org/?a=commitdiff_plain;h=e7894f6b5daf4ae6b8881520a4f59aa68ceaa044;p=binutils-gdb.git Numerous PowerPC PE fixes --- diff --git a/bfd/ChangeLog b/bfd/ChangeLog index dc00ab49e6a..3832d1097ea 100644 --- a/bfd/ChangeLog +++ b/bfd/ChangeLog @@ -1,3 +1,26 @@ +Thu Jan 18 18:25:34 1996 Kim Knuttila + + * coff-ppc.c (coff_ppc_relocate_section): changed TOCDEFN relocs. + (coff_ppc_relocate_section): Handle special values for gcc built dlls. + (dump_toc): fix diagnosing code to identify out-of-toc-bounds entries. + Also begin the toc at 4 as an eye catcher ('31313131' marks the first + toc entry in an objdump) for now. + (ppc_do_last, ppc_get_last): New function - needed to save processing + the toc owner to the end. + (ppc_coff_swap_sym_in_hook): Removed an incorrect hack for doing the + toc owner last. + + * cofflink.c (_bfd_coff_final_link): Added a new hack to keep the + toc owner from being done till last. Must define POWERPC_LE_PC + to enable it. + + * coffcode.h (coff_set_alignment_hook): alignment setting for .stab + + * peicode.h (coff_swap_scnhdr_out): set section flags for stab/str + to INFO. + (coff_swap_aouthdr_out): Removed a non-working hack for computing the + SizeOfImage for PowerPC. Ignore the size of the .junk section. + Thu Jan 18 17:42:12 1996 Ian Lance Taylor * elfcore.h: Include before . diff --git a/bfd/coffcode.h b/bfd/coffcode.h index 1eb9ba82027..069acda5b67 100644 --- a/bfd/coffcode.h +++ b/bfd/coffcode.h @@ -985,6 +985,10 @@ coff_set_alignment_hook (abfd, section, scnhdr) { section->alignment_power = 1; } + else if (strncmp (section->name, ".stab", 5) == 0) + { + section->alignment_power = 2; + } #endif } #undef ALIGN_SET