[gdb/testsuite] Fix infoline-reloc-main-from-zero.exp compilation
[external/binutils.git] / gdb / testsuite / gdb.base / infoline-reloc-main-from-zero.exp
index 99f5770..670f611 100644 (file)
@@ -29,7 +29,7 @@ if [get_compiler_info] {
 
 # Build executable with stripped startup code and text section starting at zero
 
-set opts {debug "additional_flags=-nostdlib -emain -Wl,-Ttext=0x00"}
+set opts {debug "additional_flags=-nostdlib -emain -Wl,-Ttext=0x00 -Wl,-N"}
 
 if {[build_executable $testfile.exp $testfile $srcfile $opts] == -1} {
     untested "failed to compile"