瀏覽代碼

Link vs libgcc to include needed stuff.

Eric Andersen 23 年之前
父節點
當前提交
f38b02806a
共有 7 個文件被更改,包括 7 次插入7 次删除
  1. 1 1
      test/assert/Makefile
  2. 1 1
      test/ctype/Makefile
  3. 1 1
      test/pwd_grp/Makefile
  4. 1 1
      test/signal/Makefile
  5. 1 1
      test/silly/Makefile
  6. 1 1
      test/stdlib/Makefile
  7. 1 1
      test/string/Makefile

+ 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