diff options
author | mengqinggang <mengqinggang@loongson.cn> | 2024-04-07 16:34:42 +0800 |
---|---|---|
committer | liuzhensong <liuzhensong@loongson.cn> | 2024-04-20 12:10:40 +0800 |
commit | 20eee7540b9f2615f7661393756fec0bb62a1495 (patch) | |
tree | 4fab76b94a7d0a45034c7ef66d98ce14c845a99f /gas/testsuite | |
parent | 02fa4bbec1974df262f44e13023071f5ae4fc9b1 (diff) | |
download | gdb-20eee7540b9f2615f7661393756fec0bb62a1495.zip gdb-20eee7540b9f2615f7661393756fec0bb62a1495.tar.gz gdb-20eee7540b9f2615f7661393756fec0bb62a1495.tar.bz2 |
LoongArch: Add -mignore-start-align option
Ignore .align at the start of a section may result in misalignment when
partial linking. Manually add -mignore-start-align option without partial
linking.
Gcc -falign-functions add .align 5 to the start of a section, it causes some
error message mismatch. Set these testcases to xfail on LoongArch target.
Diffstat (limited to 'gas/testsuite')
-rw-r--r-- | gas/testsuite/gas/loongarch/relax-align-ignore-start.d (renamed from gas/testsuite/gas/loongarch/relax-align-first.d) | 2 | ||||
-rw-r--r-- | gas/testsuite/gas/loongarch/relax-align-ignore-start.s (renamed from gas/testsuite/gas/loongarch/relax-align-first.s) | 0 |
2 files changed, 1 insertions, 1 deletions
diff --git a/gas/testsuite/gas/loongarch/relax-align-first.d b/gas/testsuite/gas/loongarch/relax-align-ignore-start.d index ec0698b..0a67392 100644 --- a/gas/testsuite/gas/loongarch/relax-align-first.d +++ b/gas/testsuite/gas/loongarch/relax-align-ignore-start.d @@ -1,4 +1,4 @@ -#as: +#as: -mignore-start-align #objdump: -dr .*:[ ]+file format .* diff --git a/gas/testsuite/gas/loongarch/relax-align-first.s b/gas/testsuite/gas/loongarch/relax-align-ignore-start.s index a4c3d68..a4c3d68 100644 --- a/gas/testsuite/gas/loongarch/relax-align-first.s +++ b/gas/testsuite/gas/loongarch/relax-align-ignore-start.s |