aboutsummaryrefslogtreecommitdiff
path: root/gas
diff options
context:
space:
mode:
authorTom Rix <trix@redhat.com>2002-06-12 16:14:02 +0000
committerTom Rix <trix@redhat.com>2002-06-12 16:14:02 +0000
commitb4f96c78d90900dd74c25f02119c47f483d5237d (patch)
treea507dea1442c7f2d76ada91904acec96dd6b11ec /gas
parent3e0922c96f8c6012862c107c3746ab2722b34019 (diff)
downloadgdb-b4f96c78d90900dd74c25f02119c47f483d5237d.zip
gdb-b4f96c78d90900dd74c25f02119c47f483d5237d.tar.gz
gdb-b4f96c78d90900dd74c25f02119c47f483d5237d.tar.bz2
Change default csect alignment to 4 bytes.
Diffstat (limited to 'gas')
-rw-r--r--gas/ChangeLog6
-rw-r--r--gas/config/tc-ppc.c10
-rw-r--r--gas/config/tc-ppc.h4
3 files changed, 7 insertions, 13 deletions
diff --git a/gas/ChangeLog b/gas/ChangeLog
index 8077ecc..86b4627 100644
--- a/gas/ChangeLog
+++ b/gas/ChangeLog
@@ -1,3 +1,9 @@
+2002-06-11 Tom Rix <trix@redhat.com>
+
+ * config/tc-ppc.c (ppc_subseg_align): Delete.
+ (ppc_change_csect): Default csect align is 2.
+ * config/tc-ppc.h (SUB_SEGMENT_ALIGN): Delete
+
2002-06-09 Marek Michalkiewicz <marekm@amelek.gda.pl>
* config/tc-avr.c (mcu_types): Update.
diff --git a/gas/config/tc-ppc.c b/gas/config/tc-ppc.c
index e1c7c57..f8b19c1 100644
--- a/gas/config/tc-ppc.c
+++ b/gas/config/tc-ppc.c
@@ -1120,14 +1120,6 @@ ppc_mach ()
return ppc_size == PPC_OPCODE_64 ? 620 : 0;
}
-#ifdef OBJ_XCOFF
-int
-ppc_subseg_align ()
-{
- return ppc_xcoff64 ? 3 : 2;
-}
-#endif
-
extern char*
ppc_target_format ()
{
@@ -2836,7 +2828,7 @@ ppc_change_csect (sym)
symbol_set_frag (sym, frag_now);
S_SET_VALUE (sym, (valueT) frag_now_fix ());
- symbol_get_tc (sym)->align = (ppc_xcoff64) ? 3 : 2;
+ symbol_get_tc (sym)->align = 2;
symbol_get_tc (sym)->output = 1;
symbol_get_tc (sym)->within = sym;
diff --git a/gas/config/tc-ppc.h b/gas/config/tc-ppc.h
index 74e7794..da68020 100644
--- a/gas/config/tc-ppc.h
+++ b/gas/config/tc-ppc.h
@@ -196,10 +196,6 @@ extern int ppc_frob_symbol PARAMS ((symbolS *));
#define tc_adjust_symtab() ppc_adjust_symtab ()
extern void ppc_adjust_symtab PARAMS ((void));
-/* Niclas Andersson <nican@ida.liu.se> says this is needed. */
-extern int ppc_subseg_align PARAMS ((void));
-#define SUB_SEGMENT_ALIGN(SEG, FRCHAIN) ppc_subseg_align ()
-
/* We also need to copy, in particular, the class of the symbol,
over what obj-coff would otherwise have copied. */
#define OBJ_COPY_SYMBOL_ATTRIBUTES(dest,src) \