Many Kudos go to Segher Boessenkool and Patrick Georgi for figuring this one
out. Fix the libgcc dependency on abort() due to nested functions. Signed-off-by: Stefan Reinauer <stepan@coresystems.de> Acked-by: Stefan Reinauer <stepan@coresystems.de> git-svn-id: svn://svn.coreboot.org/coreboot/trunk@4326 2b7e53f0-3cfb-0310-b3e9-8179ed1497e1
This commit is contained in:
parent
41216225a1
commit
608762793a
3 changed files with 35 additions and 1 deletions
|
|
@ -47,7 +47,7 @@ end
|
|||
|
||||
makerule coreboot_ram.o
|
||||
depends "src/arch/$(ARCH)/lib/c_start.o $(DRIVER) coreboot.a $(LIBGCC_FILE_NAME)"
|
||||
action "$(CC) $(DISTRO_LFLAGS) -nostdlib -r -o $@ $^"
|
||||
action "$(CC) $(DISTRO_LFLAGS) -nostdlib -r -o $@ src/arch/$(ARCH)/lib/c_start.o $(DRIVER) -Wl,-\( coreboot.a $(LIBGCC_FILE_NAME) -Wl,-\)"
|
||||
end
|
||||
|
||||
makerule coreboot_ram
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue