diff options
author | Marcus Shawcroft <mshawcroft@sourceware.org> | 2013-05-28 09:43:42 +0000 |
---|---|---|
committer | Marcus Shawcroft <mshawcroft@sourceware.org> | 2013-05-28 09:43:42 +0000 |
commit | 89d2a2a39e924e48033edc1d04e55b5cc10dbe21 (patch) | |
tree | 6ae7d6f6d85792371d339b6d8733c6e45867a92e /gas/testsuite | |
parent | a73e3634d1f2873959629046578ef562aed68592 (diff) | |
download | gdb-89d2a2a39e924e48033edc1d04e55b5cc10dbe21.zip gdb-89d2a2a39e924e48033edc1d04e55b5cc10dbe21.tar.gz gdb-89d2a2a39e924e48033edc1d04e55b5cc10dbe21.tar.bz2 |
[AArch64] Range check only resolved relocations.
2013-05-28 Marcus Shawcroft <marcus.shawcroft@arm.com>
* config/tc-aarch64.c (md_apply_fix): Move value range checking
inside fx_done condition.
2013-05-28 Marcus Shawcroft <marcus.shawcroft@arm.com>
* gas/aarch64/adr_1.d: New file.
* gas/aarch64/adr_1.s: New file.
* gas/aarch64/b_1.d: New file.
* gas/aarch64/b_1.s: New file.
* gas/aarch64/beq_1.d: New file.
* gas/aarch64/beq_1.s: New file.
* gas/aarch64/ldr_1.d: New file.
* gas/aarch64/ldr_1.s: New file.
* gas/aarch64/tbz_1.d: New file.
* gas/aarch64/tbz_1.s: New file.
Diffstat (limited to 'gas/testsuite')
-rw-r--r-- | gas/testsuite/ChangeLog | 13 | ||||
-rw-r--r-- | gas/testsuite/gas/aarch64/adr_1.d | 9 | ||||
-rw-r--r-- | gas/testsuite/gas/aarch64/adr_1.s | 5 | ||||
-rw-r--r-- | gas/testsuite/gas/aarch64/b_1.d | 9 | ||||
-rw-r--r-- | gas/testsuite/gas/aarch64/b_1.s | 5 | ||||
-rw-r--r-- | gas/testsuite/gas/aarch64/beq_1.d | 9 | ||||
-rw-r--r-- | gas/testsuite/gas/aarch64/beq_1.s | 5 | ||||
-rw-r--r-- | gas/testsuite/gas/aarch64/ldr_1.d | 9 | ||||
-rw-r--r-- | gas/testsuite/gas/aarch64/ldr_1.s | 5 | ||||
-rw-r--r-- | gas/testsuite/gas/aarch64/tbz_1.d | 9 | ||||
-rw-r--r-- | gas/testsuite/gas/aarch64/tbz_1.s | 5 |
11 files changed, 83 insertions, 0 deletions
diff --git a/gas/testsuite/ChangeLog b/gas/testsuite/ChangeLog index f71d45c..f326033 100644 --- a/gas/testsuite/ChangeLog +++ b/gas/testsuite/ChangeLog @@ -1,3 +1,16 @@ +2013-05-28 Marcus Shawcroft <marcus.shawcroft@arm.com> + + * gas/aarch64/adr_1.d: New file. + * gas/aarch64/adr_1.s: New file. + * gas/aarch64/b_1.d: New file. + * gas/aarch64/b_1.s: New file. + * gas/aarch64/beq_1.d: New file. + * gas/aarch64/beq_1.s: New file. + * gas/aarch64/ldr_1.d: New file. + * gas/aarch64/ldr_1.s: New file. + * gas/aarch64/tbz_1.d: New file. + * gas/aarch64/tbz_1.s: New file. + 2013-05-24 Richard Sandiford <rsandifo@linux.vnet.ibm.com> * gas/s390/zarch-z9-109-err.s, gas/s390/zarch-z9-109-err.l: New test. diff --git a/gas/testsuite/gas/aarch64/adr_1.d b/gas/testsuite/gas/aarch64/adr_1.d new file mode 100644 index 0000000..bfaaece --- /dev/null +++ b/gas/testsuite/gas/aarch64/adr_1.d @@ -0,0 +1,9 @@ +#objdump: -dr + +.*: file format .* + +Disassembly of section \.text: + +0000000000000000 <.*>: + 0: 10000001 adr x1, 0 <bar> + 0: R_AARCH64_ADR_PREL_LO21 bar\+0x80000000 diff --git a/gas/testsuite/gas/aarch64/adr_1.s b/gas/testsuite/gas/aarch64/adr_1.s new file mode 100644 index 0000000..e4ef262 --- /dev/null +++ b/gas/testsuite/gas/aarch64/adr_1.s @@ -0,0 +1,5 @@ +// adr.s Test file for AArch64 adr. + + .text + + adr x1, bar + 0x80000000 diff --git a/gas/testsuite/gas/aarch64/b_1.d b/gas/testsuite/gas/aarch64/b_1.d new file mode 100644 index 0000000..c093f66 --- /dev/null +++ b/gas/testsuite/gas/aarch64/b_1.d @@ -0,0 +1,9 @@ +#objdump: -dr + +.*: file format .* + +Disassembly of section \.text: + +0000000000000000 <.*>: + 0: 14000000 b 0 <bar> + 0: R_AARCH64_JUMP26 bar\+0x8000000 diff --git a/gas/testsuite/gas/aarch64/b_1.s b/gas/testsuite/gas/aarch64/b_1.s new file mode 100644 index 0000000..6de5607 --- /dev/null +++ b/gas/testsuite/gas/aarch64/b_1.s @@ -0,0 +1,5 @@ +// b.s Test file for AArch64 b. + + .text + + b bar + 0x8000000 diff --git a/gas/testsuite/gas/aarch64/beq_1.d b/gas/testsuite/gas/aarch64/beq_1.d new file mode 100644 index 0000000..4e3b0d1 --- /dev/null +++ b/gas/testsuite/gas/aarch64/beq_1.d @@ -0,0 +1,9 @@ +#objdump: -dr + +.*: file format .* + +Disassembly of section \.text: + +0000000000000000 <.*>: + 0: 54000000 b.eq 0 <bar> + 0: R_AARCH64_CONDBR19 bar\+0x100000 diff --git a/gas/testsuite/gas/aarch64/beq_1.s b/gas/testsuite/gas/aarch64/beq_1.s new file mode 100644 index 0000000..085c8de --- /dev/null +++ b/gas/testsuite/gas/aarch64/beq_1.s @@ -0,0 +1,5 @@ +// b.s Test file for AArch64 b. + + .text + + beq bar + 0x100000 diff --git a/gas/testsuite/gas/aarch64/ldr_1.d b/gas/testsuite/gas/aarch64/ldr_1.d new file mode 100644 index 0000000..95f6f1b --- /dev/null +++ b/gas/testsuite/gas/aarch64/ldr_1.d @@ -0,0 +1,9 @@ +#objdump: -dr + +.*: file format .* + +Disassembly of section \.text: + +0000000000000000 <.*>: + 0: 58000001 ldr x1, 0 <bar> + 0: R_AARCH64_LD_PREL_LO19 bar\+0x100000 diff --git a/gas/testsuite/gas/aarch64/ldr_1.s b/gas/testsuite/gas/aarch64/ldr_1.s new file mode 100644 index 0000000..8e4a14d --- /dev/null +++ b/gas/testsuite/gas/aarch64/ldr_1.s @@ -0,0 +1,5 @@ +// ldr.s Test file for AArch64 ldr. + + .text + + ldr x1, bar + 0x100000 diff --git a/gas/testsuite/gas/aarch64/tbz_1.d b/gas/testsuite/gas/aarch64/tbz_1.d new file mode 100644 index 0000000..8183a22 --- /dev/null +++ b/gas/testsuite/gas/aarch64/tbz_1.d @@ -0,0 +1,9 @@ +#objdump: -dr + +.*: file format .* + +Disassembly of section \.text: + +0000000000000000 <.*>: + 0: 36080000 tbz w0, #1, 0 <bar> + 0: R_AARCH64_TSTBR14 bar\+0x8000 diff --git a/gas/testsuite/gas/aarch64/tbz_1.s b/gas/testsuite/gas/aarch64/tbz_1.s new file mode 100644 index 0000000..10a1a7f --- /dev/null +++ b/gas/testsuite/gas/aarch64/tbz_1.s @@ -0,0 +1,5 @@ +// tbz.s Test file for AArch64 tbz. + + .text + + tbz x0, #1, bar + 0x8000 |