comparison gcc/ld-script.src @ 113:16703b3fb211

gcc linker script m4 magic minor fix
author Mychaela Falconia <falcon@freecalypso.org>
date Sat, 13 Oct 2018 18:45:15 +0000
parents 80e3a78126ac
children
comparison
equal deleted inserted replaced
112:fdecfb3bd860 113:16703b3fb211
36 } > IRAM AT> FLASH_OVERLAY 36 } > IRAM AT> FLASH_OVERLAY
37 __romswitch_ram_addr = ADDR(bootrom.switch); 37 __romswitch_ram_addr = ADDR(bootrom.switch);
38 __romswitch_flash_addr = LOADADDR(bootrom.switch); 38 __romswitch_flash_addr = LOADADDR(bootrom.switch);
39 __romswitch_size = SIZEOF(bootrom.switch); 39 __romswitch_size = SIZEOF(bootrom.switch);
40 ')dnl 40 ')dnl
41
42 define(`INTTEXT_BASE_ADDR',
43 ifelse(Buildmem,FLASH,FLASHIMAGE_BASE_ADDR,`/* no fixed address */'))dnl
44 41
45 /* boot entry code, going into flash or XRAM emulating flash */ 42 /* boot entry code, going into flash or XRAM emulating flash */
46 .inttext INTTEXT_BASE_ADDR : { 43 .inttext INTTEXT_BASE_ADDR : {
47 *(.inttext) 44 *(.inttext)
48 } > Buildmem 45 } > Buildmem