Correct section / alignment rule for a.out. From in-tree egcs.
This commit is contained in:
parent
bd6a4107d8
commit
b2f2b1cb44
14
gnu/dist/toolchain/gcc/config/i386/netbsd.h
vendored
14
gnu/dist/toolchain/gcc/config/i386/netbsd.h
vendored
@ -85,3 +85,17 @@
|
||||
and initialization stuff better. */
|
||||
#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
|
||||
|
Loading…
Reference in New Issue
Block a user