1 # Want to test the special "compatibility hack" where we treat a linker script
2 # defined symbol with a name of the form __.*_start or __start_.* which is at
3 # the very end of a section as being at the *start* of the next section.
5 # This is required now that symbols have permissions and bounds according to
7 # Checking LD128 relocations against a linker script defined symbol which
8 # should get this compatibility hack (and some linker script defined symbols
9 # that should not get the compatibility hack).
11 .section othersection,"aw"
12 .asciz "Hello there ;-)"
19 ldr c0, [c0, :got_lo12:__text_start]
20 ldr c0, [c0, :got_lo12:__text_other]
21 ldr c0, [c0, :got_lo12:__data_start]
22 ldr c0, [c0, :got_lo12:__data_other]