still problems with libgcc.a long long symbols

This commit is contained in:
Markus Fröschle
2015-02-17 07:22:02 +00:00
parent a7eea51b60
commit f2f182c493
2 changed files with 25 additions and 36 deletions

View File

@@ -123,6 +123,7 @@ SECTIONS
#endif #endif
} > bas_rom } > bas_rom
#if (TARGET_ADDRESS == BOOTFLASH_BASE_ADDRESS) #if (TARGET_ADDRESS == BOOTFLASH_BASE_ADDRESS)
/* /*
* put BaS .data and .bss segments to flash, but relocate it to RAM after initialize_hardware() ran * put BaS .data and .bss segments to flash, but relocate it to RAM after initialize_hardware() ran
@@ -153,6 +154,8 @@ SECTIONS
* Global memory map * Global memory map
*/ */
___muldi3 = __muldi3;
/* SDRAM Initialization */ /* SDRAM Initialization */
___SDRAM = SDRAM_START; ___SDRAM = SDRAM_START;
___SDRAM_SIZE = SDRAM_SIZE; ___SDRAM_SIZE = SDRAM_SIZE;
@@ -231,10 +234,8 @@ SECTIONS
*/ */
__FPGA_JTAG_LOADED = __RAMBAR1; __FPGA_JTAG_LOADED = __RAMBAR1;
__FPGA_JTAG_VALID = __RAMBAR1 + 4; __FPGA_JTAG_VALID = __RAMBAR1 + 4;
/* system variables */
/* system variables */ /* system variables */
/* RAMBAR0 0 to 0x7FF -> exception vectors */ /* RAMBAR0 0 to 0x7FF -> exception vectors */
_rt_mod = __RAMBAR0 + 0x800; _rt_mod = __RAMBAR0 + 0x800;
_rt_ssp = __RAMBAR0 + 0x804; _rt_ssp = __RAMBAR0 + 0x804;
@@ -253,5 +254,7 @@ SECTIONS
_video_tlb = __RAMBAR0 + 0x838; _video_tlb = __RAMBAR0 + 0x838;
_video_sbt = __RAMBAR0 + 0x83C; _video_sbt = __RAMBAR0 + 0x83C;
_rt_mbar = __RAMBAR0 + 0x844; /* (c)0f */ _rt_mbar = __RAMBAR0 + 0x844; /* (c)0f */
} }
SEARCH_DIR(/usr/lib/gcc/m68k-elf/4.6.4/m5475/)
INPUT(-lgcc)

View File

@@ -66,17 +66,3 @@ _rom_entry:
/* initialize any hardware specific issues */ /* initialize any hardware specific issues */
bra _initialize_hardware bra _initialize_hardware
#ifdef _NOT_USED_
.globl ___muldi3
.extern __muldi3
___muldi3: jmp __muldi3
.globl ___divdi3
.extern __divdi3
___divdi3: jmp __divdi3
.globl ___moddi3
.extern __moddi3
___moddi3: jmp __moddi3
.globl ___modsi3
.extern __modsi3
___modsi3: jmp __modsi3
#endif /* _NOT_USED_ */