diff options
author | Hans-Peter Nilsson <hp@axis.com> | 2005-10-28 00:24:09 +0000 |
---|---|---|
committer | Hans-Peter Nilsson <hp@axis.com> | 2005-10-28 00:24:09 +0000 |
commit | 8559470fe507829e1dab7a990e669946b71e03af (patch) | |
tree | 5ccc02fd67dc3cee83ac21c039260510dc5091fe /ld/testsuite/ld-cris/noov.d | |
parent | 8e33215f84fcc3b13da48d82a97b9a288abc62fe (diff) | |
download | binutils-8559470fe507829e1dab7a990e669946b71e03af.zip binutils-8559470fe507829e1dab7a990e669946b71e03af.tar.gz binutils-8559470fe507829e1dab7a990e669946b71e03af.tar.bz2 |
PR ld/1567
* ld-cris/noov.s, ld-cris/noov.d: New test.
Diffstat (limited to 'ld/testsuite/ld-cris/noov.d')
-rw-r--r-- | ld/testsuite/ld-cris/noov.d | 13 |
1 files changed, 13 insertions, 0 deletions
diff --git a/ld/testsuite/ld-cris/noov.d b/ld/testsuite/ld-cris/noov.d new file mode 100644 index 0000000..2108e38 --- /dev/null +++ b/ld/testsuite/ld-cris/noov.d @@ -0,0 +1,13 @@ +#notarget: cris-*-*aout* +#ld: --section-start=.text=0xc0010000 +#objdump: -s -j .text + +# Check that we don't get a "relocation truncated to fit", when a +# relocation would overflow if it hadn't been wrapping. We always +# want 32-bit-wrapping on a 32-bit target for the benefit of Linux +# address-mapping macros. + +.*: file format elf32.*-cris + +Contents of section \.text: + c0010000 04200100 00200100 .* |