diff options
author | Renlin Li <renlin.li@arm.com> | 2015-05-06 12:18:19 +0100 |
---|---|---|
committer | Jiong Wang <jiong.wang@arm.com> | 2015-05-06 12:18:19 +0100 |
commit | 448eb63d72d960524ffe169f08419daf590b86d7 (patch) | |
tree | 51918dd9b742859ebaf4ab76353712d8d5832b18 /gas/testsuite | |
parent | 03bbcd1c7a7b76888969861686788c34858f4f67 (diff) | |
download | fsf-binutils-gdb-448eb63d72d960524ffe169f08419daf590b86d7.zip fsf-binutils-gdb-448eb63d72d960524ffe169f08419daf590b86d7.tar.gz fsf-binutils-gdb-448eb63d72d960524ffe169f08419daf590b86d7.tar.bz2 |
[AArch64] Record instruction alignment for .inst directive
2015-05-06 Renlin Li <renlin.li@arm.com>
gas/
* config/tc-aarch64.c (mapping_state): Recording alignment before exit.
gas/testsuite/
* gas/aarch64/codealign_1.s: New.
* gas/aarch64/codealign_1.d: New.
Diffstat (limited to 'gas/testsuite')
-rw-r--r-- | gas/testsuite/ChangeLog | 5 | ||||
-rw-r--r-- | gas/testsuite/gas/aarch64/codealign_1.d | 13 | ||||
-rw-r--r-- | gas/testsuite/gas/aarch64/codealign_1.s | 3 |
3 files changed, 21 insertions, 0 deletions
diff --git a/gas/testsuite/ChangeLog b/gas/testsuite/ChangeLog index 29649e1..41604ef 100644 --- a/gas/testsuite/ChangeLog +++ b/gas/testsuite/ChangeLog @@ -1,3 +1,8 @@ +2015-05-06 Renlin Li <renlin.li@arm.com> + + * gas/aarch64/codealign_1.s: New. + * gas/aarch64/codealign_1.d: New. + 2015-05-05 Renlin Li <renlin.li@arm.com> * gas/aarch64/mapping_5.d: New. diff --git a/gas/testsuite/gas/aarch64/codealign_1.d b/gas/testsuite/gas/aarch64/codealign_1.d new file mode 100644 index 0000000..08f4c25 --- /dev/null +++ b/gas/testsuite/gas/aarch64/codealign_1.d @@ -0,0 +1,13 @@ +#objdump: --section-headers +# Minimum code alignment should be set. + +.*: +file format.*aarch64.* + +Sections: +Idx Name Size VMA LMA File off Algn + 0 \.text .* .* .* .* 2\*\*2 + .*CODE.* + 1 \.data .* .* .* .* 2\*\*0 + .*DATA.* + 2 \.bss .* .* .* .* 2\*\*0 +.* diff --git a/gas/testsuite/gas/aarch64/codealign_1.s b/gas/testsuite/gas/aarch64/codealign_1.s new file mode 100644 index 0000000..b27cc6b --- /dev/null +++ b/gas/testsuite/gas/aarch64/codealign_1.s @@ -0,0 +1,3 @@ +.text + .byte 0xf + .inst 0xd503201f |