old-cross-binutils/ld/testsuite/ld-mn10300/i127740.s
Nick Clifton b5f5fd962e * config/tc-mn10300.c (mn10300_force_relocation): Force a reloc to be generated for alignment fixups.
* config/tc-mn10300.h (TC_FORCE_RELOCATION): Call mn10300_force_relocation.
* elf-m10300.c (mn10300_elf_final_link_relocate): Prevent the accidental termination of DWARF location list entries.
  (mn10300_elf_relax_delete_bytes): Stop deletion if an align reloc is encountered that is larger than or not a mutliple of the number of bytes being deleted.
  When adjusting symbols, any symbols inside the region being deleted must be moved to the end of the region.
  Move align relocs forward if there is room for them after the deletion of the region.
2007-11-13 10:40:29 +00:00

12 lines
270 B
ArmAsm

.section .text
.global _main
.global _dummy
_main:
mov _g_label,d1 # instruction is changed by relaxations
.balign 0x100
_dummy:
.long _dummy
ret [],0
.size _main, .-_main
.comm _g_label,4,4