aboutsummaryrefslogtreecommitdiff
path: root/bfd
diff options
context:
space:
mode:
authorKim Knuttila <krk@cygnus>1996-01-19 00:16:31 +0000
committerKim Knuttila <krk@cygnus>1996-01-19 00:16:31 +0000
commite7894f6b5daf4ae6b8881520a4f59aa68ceaa044 (patch)
tree6ffa2d744bf01b6fe27c7ac12bf057498af145fc /bfd
parent0291f0f54389fab7513b03f358fdc2e1be54fa2f (diff)
downloadgdb-e7894f6b5daf4ae6b8881520a4f59aa68ceaa044.zip
gdb-e7894f6b5daf4ae6b8881520a4f59aa68ceaa044.tar.gz
gdb-e7894f6b5daf4ae6b8881520a4f59aa68ceaa044.tar.bz2
Numerous PowerPC PE fixes
Diffstat (limited to 'bfd')
-rw-r--r--bfd/ChangeLog23
-rw-r--r--bfd/coffcode.h4
2 files changed, 27 insertions, 0 deletions
diff --git a/bfd/ChangeLog b/bfd/ChangeLog
index dc00ab4..3832d10 100644
--- a/bfd/ChangeLog
+++ b/bfd/ChangeLog
@@ -1,3 +1,26 @@
+Thu Jan 18 18:25:34 1996 Kim Knuttila <krk@cygnus.com>
+
+ * 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 <ian@cygnus.com>
* elfcore.h: Include <signal.h> before <sys/procfs.h>.
diff --git a/bfd/coffcode.h b/bfd/coffcode.h
index 1eb9ba8..069acda 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