mirror of
https://sourceware.org/git/binutils-gdb.git
synced 2024-12-15 04:31:49 +08:00
43083a502b
Except for %eip-relative addressing, where we don't have a suitable relocation type silently wrapping at the 4G boundary, consistently force use of R_X86_64_32 (in ELF terms) instead of its sign-extending counterpart. This wasn't right in case there was no base register in the addressing expression.
14 lines
151 B
ArmAsm
14 lines
151 B
ArmAsm
.text
|
|
.intel_syntax noprefix
|
|
.global _start
|
|
_start:
|
|
ret
|
|
|
|
apic_read:
|
|
mov eax, [edi*4+APIC_BASE]
|
|
ret
|
|
|
|
apic_write:
|
|
mov [edi*4+APIC_BASE], esi
|
|
ret
|