diff options
author | Nick Clifton <nickc@redhat.com> | 2013-07-19 10:39:51 +0000 |
---|---|---|
committer | Nick Clifton <nickc@redhat.com> | 2013-07-19 10:39:51 +0000 |
commit | 1eec346e1275ed5aa982486f5a0d4ea4c21afe15 (patch) | |
tree | 8b6e670f85b48789d6c02a1bf7c3647e2af5042e /ld/testsuite/ld-scripts/script.exp | |
parent | 5d0a3b53c079d840b7e34c87a1d4301ae9f62fb1 (diff) | |
download | binutils-gdb-1eec346e1275ed5aa982486f5a0d4ea4c21afe15.tar.gz |
* ldgram.y: Add ALIGN_WITH_INPUT output section attribute.
* ldlang.c: Likewise.
* ldlang.h: Likewise.
* ldlex.l: Likewise.
* mri.c: Likewise.
* ld.texinfo: Document new feature.
* NEWS: Mention new feature.
* ld-scripts/script.exp: Run align with input test.
* ld-scripts/align-with-input.t: New file.
* ld-scripts/rgn-at8.d: Likewise.
* ld-scripts/rgn-at8.t: Likewise.
Diffstat (limited to 'ld/testsuite/ld-scripts/script.exp')
-rw-r--r-- | ld/testsuite/ld-scripts/script.exp | 11 |
1 files changed, 9 insertions, 2 deletions
diff --git a/ld/testsuite/ld-scripts/script.exp b/ld/testsuite/ld-scripts/script.exp index 267c0be7278..cc099a9d87f 100644 --- a/ld/testsuite/ld-scripts/script.exp +++ b/ld/testsuite/ld-scripts/script.exp @@ -1,7 +1,6 @@ # Test basic linker script functionality # By Ian Lance Taylor, Cygnus Support -# Copyright 1999, 2000, 2001, 2002, 2004, 2005, 2006, 2007, 2009, 2010 -# Free Software Foundation, Inc. +# Copyright 1999-2013 Free Software Foundation, Inc. # # This file is part of the GNU Binutils. # @@ -137,3 +136,11 @@ foreach test_script $test_script_list { xpass "REGION_ALIAS: $testname" } } + +set testname "ALIGN_WITH_INPUT" + +if ![ld_simple_link $ld tmpdir/script "$flags -T $srcdir/$subdir/align-with-input.t tmpdir/script.o"] { + xfail $testname +} else { + xpass $testname +} |