/[vps]/dietlibc/patches/0.30-r2/300_mips_omit-nopic.patch
Gentoo

Contents of /dietlibc/patches/0.30-r2/300_mips_omit-nopic.patch

Parent Directory Parent Directory | Revision Log Revision Log


Revision 469 - (show annotations) (download)
Fri Sep 8 06:55:07 2006 UTC (7 years, 10 months ago) by hollow
File size: 1157 byte(s)
reorder, update readme
1 Index: dietlibc-0.30/diet.c
2 ===================================================================
3 --- dietlibc-0.30.orig/diet.c
4 +++ dietlibc-0.30/diet.c
5 @@ -33,7 +33,7 @@ static const char* Os[] = {
6 "sparc64","-Os","-m64","-mhard-quad-float",0,
7 "alpha","-Os","-fomit-frame-pointer",0,
8 "arm","-Os","-fomit-frame-pointer",0,
9 - "mips","-Os","-fomit-frame-pointer","-mno-abicalls","-fno-pic","-G","0",0,
10 + "mips","-Os","-fomit-frame-pointer",0,
11 "mipsel","-Os","-fomit-frame-pointer","-mno-abicalls","-fno-pic","-G","0",0,
12 "powerpc","-Os","-fomit-frame-pointer","-mpowerpc-gpopt","-mpowerpc-gfxopt",0,
13 "powerpc64","-Os","-fomit-frame-pointer","-mpowerpc-gpopt","-mpowerpc-gfxopt",0,
14 Index: dietlibc-0.30/mips/Makefile.add
15 ===================================================================
16 --- dietlibc-0.30.orig/mips/Makefile.add
17 +++ dietlibc-0.30/mips/Makefile.add
18 @@ -9,6 +9,6 @@
19 ifeq ($(CROSS),mips-linux-)
20 ENDIAN=-meb
21 endif
22 -CFLAGS+=$(ENDIAN) -Os -G 0 -fstrict-aliasing -fno-pic -mno-abicalls
23 +CFLAGS+=$(ENDIAN) -Os -fstrict-aliasing
24 VPATH:=mips:syscalls.s:$(VPATH)
25 LIBOBJ+=$(OBJDIR)/pread64.o $(OBJDIR)/pwrite64.o $(OBJDIR)/divdi3.o

  ViewVC Help
Powered by ViewVC 1.1.20