|
|
|
@ -229,8 +229,9 @@ proc run_srec_test { test objs } { |
|
|
|
global host_triplet |
|
|
|
|
|
|
|
# Tell the ELF linker to not do anything clever with .eh_frame, |
|
|
|
# and not to put anything in small data. |
|
|
|
set flags "--traditional-format -G 0" |
|
|
|
# not to put anything in small data, and define a symbol referenced |
|
|
|
# by gcc -fstack-protector code. |
|
|
|
set flags "--traditional-format -G 0 --defsym __stack_chk_fail=0" |
|
|
|
|
|
|
|
# If the linker script uses SIZEOF_HEADERS, use a -Ttext argument |
|
|
|
# to force both the normal link and the S-record link to be put in |
|
|
|
|