From: Ian Lance Taylor Date: Sat, 11 Sep 1999 23:38:11 +0000 (+0000) Subject: add some comments about peigen.c X-Git-Url: https://git.libre-soc.org/?a=commitdiff_plain;h=650f5dd8d8ac6792db26b94ff238754be33e2276;p=binutils-gdb.git add some comments about peigen.c --- diff --git a/bfd/coff-ppc.c b/bfd/coff-ppc.c index 934027c7d6e..f2e8cb8711d 100644 --- a/bfd/coff-ppc.c +++ b/bfd/coff-ppc.c @@ -2214,6 +2214,7 @@ static void ppc_coff_swap_sym_in_hook PARAMS ((bfd *, PTR, PTR)); #define coff_bfd_final_link ppc_bfd_coff_final_link #ifndef COFF_IMAGE_WITH_PE +/* FIXME: This no longer works. */ #define coff_swap_sym_in_hook ppc_coff_swap_sym_in_hook #endif @@ -2221,6 +2222,9 @@ static void ppc_coff_swap_sym_in_hook PARAMS ((bfd *, PTR, PTR)); #define COFF_PAGE_SIZE 0x1000 +/* FIXME: This controls some code that used to be in peicode.h and is + now in peigen.c. It will not control the code in peigen.c. If + anybody wants to get this working, you will need to fix that. */ #define POWERPC_LE_PE #define COFF_SECTION_ALIGNMENT_ENTRIES \ diff --git a/bfd/pe-ppc.c b/bfd/pe-ppc.c index a2bac04ac6f..7d4a5471623 100644 --- a/bfd/pe-ppc.c +++ b/bfd/pe-ppc.c @@ -38,4 +38,7 @@ Boston, MA 02111-1307, USA. */ /* FIXME: verify PCRELOFFSET is always false */ +/* FIXME: This target no longer works. Search for POWERPC_LE_PE in + coff-ppc.c and peigen.c. */ + #include "coff-ppc.c" diff --git a/bfd/pei-ppc.c b/bfd/pei-ppc.c index b2d207b3b71..86e1a5dc358 100644 --- a/bfd/pei-ppc.c +++ b/bfd/pei-ppc.c @@ -39,7 +39,7 @@ Boston, MA 02111-1307, USA. */ /* FIXME: Verify PCRELOFFSET is always false */ -#include "coff-ppc.c" - - +/* FIXME: This target no longer works. Search for POWERPC_LE_PE in + coff-ppc.c and peigen.c. */ +#include "coff-ppc.c"