summaryrefslogtreecommitdiff
path: root/ld/testsuite/ld-aarch64/no-morello-syms-static.d
blob: e1b495b34a4ee9c21ceb4c232b6e75f35ff6fc39 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
# The emit-relocs-28 test was creating space for unnecessary relocations and
# correspondingly adding the __rela_dyn_{start,end} symbols to span them.
# This was happening because of Morello changes which applied on non-Morello
# links by mistake.  This testcase is to ensure that that does not happen.
#source: emit-relocs-28.s
#as: -mabi=ilp32
#ld: -m [aarch64_choose_ilp32_emul] --defsym globala=0x11000 --defsym globalb=0x45000 --defsym globalc=0x1234  -e0 --emit-relocs
#readelf: --symbols

#failif
#...
.* __rela_dyn_start
#...