summaryrefslogtreecommitdiff
path: root/ld/testsuite/config
diff options
context:
space:
mode:
authorNick Clifton <nickc@redhat.com>2017-11-20 15:32:55 +0000
committerNick Clifton <nickc@redhat.com>2017-11-20 15:32:55 +0000
commitb77db948f4175e479bb3310ba86346c9554ab9f5 (patch)
tree634d70cd1221d48fa76e2f56c0c6836022e72c2c /ld/testsuite/config
parentb7486a74a62527412cfd2dd50a9a100118265c28 (diff)
downloadbinutils-gdb-b77db948f4175e479bb3310ba86346c9554ab9f5.tar.gz
Fix handling of GNU Property notes that are not in a GNU NOTE PROPERTY section.
PR 22450 gas * elf-properties.c (_bfd_elf_link_setup_gnu_properties): Skip objects without a GNU_PROPERTY note section when looking for a bfd onto which notes can be accumulated. ld * testsuite/ld-elf/elf.exp: Add --defsym ALIGN=2|3 to assembler command line depending upon the size of the target address space. * testsuite/ld-elf/pr22450.s: New test file. * testsuite/ld-elf/pr22450.d: New test driver. * testsuite/config/default.exp: Add note that LD_CLASS refers to the size of the host linker not the size of the target linker.
Diffstat (limited to 'ld/testsuite/config')
-rw-r--r--ld/testsuite/config/default.exp2
1 files changed, 1 insertions, 1 deletions
diff --git a/ld/testsuite/config/default.exp b/ld/testsuite/config/default.exp
index 6aba75fdc59..950e202b1ae 100644
--- a/ld/testsuite/config/default.exp
+++ b/ld/testsuite/config/default.exp
@@ -251,7 +251,7 @@ if ![info exists LDFLAGS] then {
set LDFLAGS {}
}
-# Set LD_CLASS to "64bit" for 64-bit LD.
+# Set LD_CLASS to "64bit" for a 64-bit *host* linker.
if { ![info exists LD_CLASS] } then {
set REAL_LD [findfile $base_dir/.libs/ld-new .libs/ld-new $LD [transform ld]]
set readelf_output [run_host_cmd "$READELF" "-h $REAL_LD"]