Browse Source

Link vs libgcc to include needed stuff.

Eric Andersen 23 years ago
parent
commit
f38b02806a

+ 1 - 1
test/assert/Makefile

@@ -8,7 +8,7 @@ LSFLAGS = $(shell if ls -sh >/dev/null 2>&1; \
 XCFLAGS = -Wall -Os -fomit-frame-pointer -fno-builtin -nostdinc \
 	-I$(TOPDIR)include -I/usr/include/linux
 XLDFLAGS = -nostdlib -s -gc-sections
-EXTRA_LIBS=$(TOPDIR)libc.a
+EXTRA_LIBS=$(TOPDIR)libc.a -lgcc
 
 YCFLAGS = -Wall -Os -fomit-frame-pointer
 YLDFLAGS = -s --static 

+ 1 - 1
test/ctype/Makefile

@@ -8,7 +8,7 @@ LSFLAGS = $(shell if ls -sh >/dev/null 2>&1; \
 XCFLAGS = -Wall -Os -fomit-frame-pointer -fno-builtin -nostdinc \
 	-I$(TOPDIR)include -I/usr/include/linux
 XLDFLAGS = -nostdlib -s -gc-sections
-EXTRA_LIBS=$(TOPDIR)libc.a
+EXTRA_LIBS=$(TOPDIR)libc.a -lgcc
 
 YCFLAGS = -Wall -Os -fomit-frame-pointer
 YLDFLAGS = -s --static 

+ 1 - 1
test/pwd_grp/Makefile

@@ -8,7 +8,7 @@ LSFLAGS = $(shell if ls -sh >/dev/null 2>&1; \
 XCFLAGS = -Wall -Os -fomit-frame-pointer -fno-builtin -nostdinc \
 	-I$(TOPDIR)include -I/usr/include/linux
 XLDFLAGS = -nostdlib -s -gc-sections
-EXTRA_LIBS=$(TOPDIR)libc.a
+EXTRA_LIBS=$(TOPDIR)libc.a -lgcc
 
 YCFLAGS = -Wall -Os -fomit-frame-pointer
 YLDFLAGS = -s --static 

+ 1 - 1
test/signal/Makefile

@@ -8,7 +8,7 @@ LSFLAGS = $(shell if ls -sh >/dev/null 2>&1; \
 XCFLAGS = -Wall -Os -fomit-frame-pointer -fno-builtin -nostdinc \
 	-I$(TOPDIR)include -I/usr/include/linux
 XLDFLAGS = -nostdlib -s -gc-sections
-EXTRA_LIBS=$(TOPDIR)libc.a
+EXTRA_LIBS=$(TOPDIR)libc.a -lgcc
 
 YCFLAGS = -Wall -Os -fomit-frame-pointer
 YLDFLAGS = -s --static 

+ 1 - 1
test/silly/Makefile

@@ -8,7 +8,7 @@ LSFLAGS = $(shell if ls -sh >/dev/null 2>&1; \
 XCFLAGS = -Wall -Os -fomit-frame-pointer -fno-builtin -nostdinc \
 	-I$(TOPDIR)include -I/usr/include/linux
 XLDFLAGS = -nostdlib -s -gc-sections
-EXTRA_LIBS=$(TOPDIR)libc.a
+EXTRA_LIBS=$(TOPDIR)libc.a -lgcc
 
 YCFLAGS = -Wall -Os -fomit-frame-pointer
 YLDFLAGS = -s --static 

+ 1 - 1
test/stdlib/Makefile

@@ -8,7 +8,7 @@ LSFLAGS = $(shell if ls -sh >/dev/null 2>&1; \
 XCFLAGS = -Wall -Os -fomit-frame-pointer -fno-builtin -nostdinc \
 	-I$(TOPDIR)include -I/usr/include/linux
 XLDFLAGS = -nostdlib -s -gc-sections
-EXTRA_LIBS=$(TOPDIR)libc.a
+EXTRA_LIBS=$(TOPDIR)libc.a -lgcc
 
 YCFLAGS = -Wall -Os -fomit-frame-pointer
 YLDFLAGS = -s --static 

+ 1 - 1
test/string/Makefile

@@ -8,7 +8,7 @@ LSFLAGS = $(shell if ls -sh >/dev/null 2>&1; \
 XCFLAGS = -Wall -Os -fomit-frame-pointer -fno-builtin -nostdinc \
 	-I$(TOPDIR)include -I/usr/include/linux
 XLDFLAGS = -nostdlib -s -gc-sections
-EXTRA_LIBS=$(TOPDIR)libc.a
+EXTRA_LIBS=$(TOPDIR)libc.a -lgcc
 
 YCFLAGS = -Wall -Os -fomit-frame-pointer
 YLDFLAGS = -s --static