diff options
author | ant <ant@unknown.openembedded.org> | 2008-08-22 16:56:50 +0000 |
---|---|---|
committer | Phil Blundell <philb@gnu.org> | 2008-08-22 16:56:50 +0000 |
commit | a67cb0ff5cf6670a151b7583ac078b72b7ccb836 (patch) | |
tree | 8f83600feda144c1fefa5f99d01969f63150e169 /packages/u-boot/u-boot-git/uboot-eabi-fix-HACK2.patch | |
parent | f56aab883db4a1fde7bd23318ef64a0d6139b6af (diff) |
apply latest u-boot-on-zaurus patch from bug #3738
Diffstat (limited to 'packages/u-boot/u-boot-git/uboot-eabi-fix-HACK2.patch')
-rw-r--r-- | packages/u-boot/u-boot-git/uboot-eabi-fix-HACK2.patch | 47 |
1 files changed, 47 insertions, 0 deletions
diff --git a/packages/u-boot/u-boot-git/uboot-eabi-fix-HACK2.patch b/packages/u-boot/u-boot-git/uboot-eabi-fix-HACK2.patch new file mode 100644 index 0000000000..f4d039da72 --- /dev/null +++ b/packages/u-boot/u-boot-git/uboot-eabi-fix-HACK2.patch @@ -0,0 +1,47 @@ +Index: git/lib_arm/div0.c +=================================================================== +--- git.orig/lib_arm/div0.c ++++ git/lib_arm/div0.c +@@ -22,9 +22,3 @@ + */ + + /* Replacement (=dummy) for GNU/Linux division-by zero handler */ +-void __div0 (void) +-{ +- extern void hang (void); +- +- hang(); +-} +Index: git/Makefile +=================================================================== +--- git.orig/Makefile ++++ git/Makefile +@@ -225,7 +225,7 @@ LIBS := $(addprefix $(obj),$(LIBS)) + .PHONY : $(LIBS) + + # Add GCC lib +-PLATFORM_LIBS += -L $(shell dirname `$(CC) $(CFLAGS) -print-libgcc-file-name`) -lgcc ++PLATFORM_LIBS += -L $(shell dirname `$(CC) $(CFLAGS) -print-libgcc-file-name`) -lgcc -lgcc_eh + + # The "tools" are needed early, so put this first + # Don't include stuff already done in $(LIBS) +--- git/board/akita/akita.c.orig 2007-12-26 17:52:33.000000000 +0000 ++++ git/board/akita/akita.c 2007-12-26 17:52:59.000000000 +0000 +@@ -87,3 +87,7 @@ + + return 0; + } ++ ++void raise() {} ++ ++void abort() {} +--- git/board/corgi/corgi.c.orig 2007-12-26 17:52:33.000000000 +0000 ++++ git/board/corgi/corgi.c 2007-12-26 17:52:59.000000000 +0000 +@@ -87,3 +87,7 @@ + + return 0; + } ++ ++void raise() {} ++ ++void abort() {} |