summaryrefslogtreecommitdiff
path: root/utils/hwstub/stub/jz4760b/hwstub.lds
diff options
context:
space:
mode:
Diffstat (limited to 'utils/hwstub/stub/jz4760b/hwstub.lds')
-rw-r--r--utils/hwstub/stub/jz4760b/hwstub.lds13
1 files changed, 13 insertions, 0 deletions
diff --git a/utils/hwstub/stub/jz4760b/hwstub.lds b/utils/hwstub/stub/jz4760b/hwstub.lds
index 33aad51ebd..f0460284ca 100644
--- a/utils/hwstub/stub/jz4760b/hwstub.lds
+++ b/utils/hwstub/stub/jz4760b/hwstub.lds
@@ -20,10 +20,23 @@ SECTIONS
20 *(.icode*) 20 *(.icode*)
21 *(.data*) 21 *(.data*)
22 *(.rodata*) 22 *(.rodata*)
23 /* exceptions needs to be on a 0x1000 boundary */
24 . = ALIGN(0x1000);
25 tcsm0_irqbase = .;
26 KEEP(*(.exception.tlb_refill))
27 . = tcsm0_irqbase + 0x100;
28 KEEP(*(.exception.cache_error))
29 . = tcsm0_irqbase + 0x180;
30 KEEP(*(.exception.general_exception))
23 . = ALIGN(4); 31 . = ALIGN(4);
24 relocend = .; 32 relocend = .;
25 } > TCSM0 33 } > TCSM0
26 34
35 /* tcsm0_irqbase is the address in the 0xf400xxxx address space, but for
36 * EBASE, we want to the corresponding k1seg address, that maps to the
37 * physical address of TCSM0 */
38 irqbase = tcsm0_irqbase - TCSM0_ORIG + TCSM0_UNCACHED_ADDRESS;
39
27 .bss (NOLOAD) : 40 .bss (NOLOAD) :
28 { 41 {
29 bssbegin = .; 42 bssbegin = .;