+2016-01-20 Nick Clifton <nickc@redhat.com>
+
+ PR 19457
+ * testsuite/ld-scripts/script.exp (extract_symbol_test): Stop test
+ early for PE based targets.
+ * testsuite/ld-scripts/align.t: Use 0x1000 as VMA alignment.
+ * testsuite/ld-pe/tlssec32.d: Allow for relocatable output.
+
2016-01-20 Mickael Guene <mickael.guene@st.com>
* testsuite/ld-arm/thumb1-noread-not-present-mixing-two-section.s:
#...
-Entry 9 00003000 00000018 Thread Storage Directory \[\.tls\]
+Entry 9 0000.000 000000.. Thread Storage Directory \[\.tls\]
#...
SECTIONS
{
.text : {*(.text)}
- .data ALIGN(0x40) : AT (ALIGN (LOADADDR (.text) + SIZEOF (.text), 0x80))
+ .data ALIGN(0x1000) : AT (ALIGN (LOADADDR (.text) + SIZEOF (.text), 0x80))
{}
ASSERT (LOADADDR(.data) == 0x80, "dyadic ALIGN broken")
- ASSERT (ADDR(.data) == 0x40, "monadic ALIGN broken")
+ ASSERT (ADDR(.data) == 0x1000, "monadic ALIGN broken")
}
pass $testname
return
}
+ [a-z]*-*-pe$ {
+ # Fails for PE based targets because the extracted section
+ # relative symbols (eg tred or .text) all become undefined
+ # when the sections are blown away by --extract-symbol. Again
+ # this should not matter as --extract-symbol is only used by
+ # VxWorks.
+ pass $testname
+ return
+ }
}
set extract_syms [run_host_cmd $nm $copyfile]