Commit dec32c53 authored by John van Groningen's avatar John van Groningen

align pic symbol stubs to 36 bytes, to allow linking

with new gcc that generates 32 byte pic symbol stubs
parent b19078e0
This diff is collapsed.
......@@ -79,6 +79,8 @@ PPC_RELOC_SECTDIFF:==8;
PPC_RELOC_LO16_SECTDIFF:==11;
PPC_RELOC_HA16_SECTDIFF:==12;
STUB_SIZE:==36;
sort_modules :: !*SXcoff -> .SXcoff;
create_names_table :: NamesTable;
......
......@@ -192,7 +192,7 @@ write_mach_o_headers text_section_size_align_4 data_section_size_align_4 bss_sec
FWI n_stub_relocations
FWI (0x80000400 bitor S_SYMBOL_STUBS)
FWI 0
FWI 36;
FWI STUB_SIZE;
# file = file
FWS "__la_symbol_ptr\0"
FWS "__DATA\0\0\0\0\0\0\0\0\0\0"
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment