mirror of
https://github.com/LIV2/a4091-software.git
synced 2025-12-06 06:22:44 +00:00
Prevent gcc from creating a second CODE hunk
GCC wants code to be placed in ".text" or it will create another hunk when the relocation code is linked into the device driver.
This commit is contained in:
parent
48593095cd
commit
ce96f096fe
3
reloc.S
3
reloc.S
@ -1,6 +1,9 @@
|
||||
INCLUDE "exec/memory.i"
|
||||
INCLUDE "lvo/exec_lib.i"
|
||||
|
||||
IFND ROM
|
||||
section .text,code
|
||||
ENDIF
|
||||
; API:
|
||||
; Z3 ROM access:
|
||||
; a0: rombase
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user