Correct section / alignment rule for a.out. From in-tree egcs.

This commit is contained in:
itohy 2002-07-06 13:19:00 +00:00
parent bd6a4107d8
commit b2f2b1cb44
1 changed files with 14 additions and 0 deletions

View File

@ -85,3 +85,17 @@
and initialization stuff better. */ and initialization stuff better. */
#define DWARF2_UNWIND_INFO 0 #define DWARF2_UNWIND_INFO 0
/* Put relocations in the constant pool in the writable data section. */
#undef SELECT_RTX_SECTION
#define SELECT_RTX_SECTION(MODE,RTX) \
{ \
if (flag_pic && symbolic_operand (RTX)) \
data_section (); \
else \
readonly_data_section (); \
}
/* NetBSD's linker cannot align greater than 8 bytes anyway. */
#undef DATA_ALIGNMENT
#undef CONSTANT_ALIGNMENT