소스 검색

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