aboutsummaryrefslogtreecommitdiff
path: root/bfd/coff-ppc.c
diff options
context:
space:
mode:
authorIan Lance Taylor <ian@airs.com>1999-09-11 21:39:03 +0000
committerIan Lance Taylor <ian@airs.com>1999-09-11 21:39:03 +0000
commita50f8417d5e6969db1193da0a056a7033a922bd1 (patch)
tree3b113a3989317e510108f3834b0e0ce11dd9505b /bfd/coff-ppc.c
parentb545f675c19fa314085ceebce218000f5abf81f4 (diff)
downloadgdb-a50f8417d5e6969db1193da0a056a7033a922bd1.zip
gdb-a50f8417d5e6969db1193da0a056a7033a922bd1.tar.gz
gdb-a50f8417d5e6969db1193da0a056a7033a922bd1.tar.bz2
* coff-ppc.c (COFF_SECTION_ALIGNMENT_ENTRIES): Define.
1999-09-11 Donn Terry <donn@interix.com> * coffcode.h (coff_set_alignment_hook): Delete POWERPC_LE_PE special handling.
Diffstat (limited to 'bfd/coff-ppc.c')
-rw-r--r--bfd/coff-ppc.c15
1 files changed, 14 insertions, 1 deletions
diff --git a/bfd/coff-ppc.c b/bfd/coff-ppc.c
index 6d5e781..934027c 100644
--- a/bfd/coff-ppc.c
+++ b/bfd/coff-ppc.c
@@ -2223,6 +2223,20 @@ static void ppc_coff_swap_sym_in_hook PARAMS ((bfd *, PTR, PTR));
#define POWERPC_LE_PE
+#define COFF_SECTION_ALIGNMENT_ENTRIES \
+{ COFF_SECTION_NAME_EXACT_MATCH (".idata$2"), \
+ COFF_ALIGNMENT_FIELD_EMPTY, COFF_ALIGNMENT_FIELD_EMPTY, 0 }, \
+{ COFF_SECTION_NAME_EXACT_MATCH (".idata$3"), \
+ COFF_ALIGNMENT_FIELD_EMPTY, COFF_ALIGNMENT_FIELD_EMPTY, 0 }, \
+{ COFF_SECTION_NAME_EXACT_MATCH (".idata$4"), \
+ COFF_ALIGNMENT_FIELD_EMPTY, COFF_ALIGNMENT_FIELD_EMPTY, 2 }, \
+{ COFF_SECTION_NAME_EXACT_MATCH (".idata$5"), \
+ COFF_ALIGNMENT_FIELD_EMPTY, COFF_ALIGNMENT_FIELD_EMPTY, 2 }, \
+{ COFF_SECTION_NAME_EXACT_MATCH (".idata$6"), \
+ COFF_ALIGNMENT_FIELD_EMPTY, COFF_ALIGNMENT_FIELD_EMPTY, 1 }, \
+{ COFF_SECTION_NAME_EXACT_MATCH (".reloc"), \
+ COFF_ALIGNMENT_FIELD_EMPTY, COFF_ALIGNMENT_FIELD_EMPTY, 1 }
+
#include "coffcode.h"
@@ -2316,7 +2330,6 @@ ppc_get_last()
where the POWERPC_LE_PE macro modifies the code. It is left in as a
precise form of comment. krk@cygnus.com
*/
-#define POWERPC_LE_PE
/* Do the final link step. */