Change default csect alignment to 4 bytes.

This commit is contained in:
Tom Rix 2002-06-12 16:14:02 +00:00
parent 3e0922c96f
commit b4f96c78d9
3 changed files with 7 additions and 13 deletions

View File

@ -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.

View File

@ -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;

View File

@ -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) \