mirror of
https://sourceware.org/git/binutils-gdb.git
synced 2024-12-15 04:31:49 +08:00
b5f5fd962e
* 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.
13 lines
270 B
ArmAsm
13 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
|