diff options
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..c591583 --- /dev/null +++ b/ld/testsuite/ld-cris/noov.d @@ -0,0 +1,13 @@ +#target: cris-*-*elf* +#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 .* |