bfd: don't silently wrap or truncate PE image section RVAs
[deliverable/binutils-gdb.git] / ld / testsuite / ld-scripts / print-memory-usage.exp
index 74087bf28f6d884e1d8c8b8a0145d68caf6bbf3d..a84c525882d1f737746772ea31f307df78b9f5dc 100644 (file)
@@ -33,6 +33,11 @@ if { [istarget mips*-*-*]
     return
 }
 
+set old_LDFLAGS $LDFLAGS
+if { [is_pecoff_format] } {
+    set LDFLAGS "$LDFLAGS --image-base 0"
+}
+
 run_ld_link_tests {
     {
        "print-memory-usage-1"
@@ -66,3 +71,4 @@ run_ld_link_tests {
 
 }
 
+set LDFLAGS $old_LDFLAGS
This page took 0.023979 seconds and 4 git commands to generate.