diff options
author | H. Peter Anvin <hpa@zytor.com> | 2004-11-30 23:11:02 +0000 |
---|---|---|
committer | H. Peter Anvin <hpa@zytor.com> | 2004-11-30 23:11:02 +0000 |
commit | 2fdb2f4f38c576ab2be9e9a4920271440048de8a (patch) | |
tree | 3e57981123d8ddf87fd9f443d25c2c39fe939a97 | |
parent | a359e1fc1c63abafcfc81f835d8ff36257359dc9 (diff) | |
download | klibc-2fdb2f4f38c576ab2be9e9a4920271440048de8a.tar.gz |
Remove CRIS-specific stuff from M32R codeklibc-0.193
-rw-r--r-- | klibc/arch/m32r/MCONFIG | 12 | ||||
-rw-r--r-- | klibc/arch/m32r/Makefile.inc | 16 |
2 files changed, 3 insertions, 25 deletions
diff --git a/klibc/arch/m32r/MCONFIG b/klibc/arch/m32r/MCONFIG index 2762494a30c55..6706d9ddc1b20 100644 --- a/klibc/arch/m32r/MCONFIG +++ b/klibc/arch/m32r/MCONFIG @@ -1,6 +1,6 @@ # -*- makefile -*- # -# arch/cris/MCONFIG +# arch/m32r/MCONFIG # # Special rules for this architecture. Note that this is actually # included from the main Makefile, and that pathnames should be @@ -13,14 +13,6 @@ BITSIZE = 32 # Extra linkflags when building the shared version of the library # This address needs to be reachable using normal inter-module # calls, and work on the memory models for this architecture -# 224 MB - normal binaries start at 0 +# 224 MB - normal binaries start at 0 (?) # (lib?)gcc on cris seems to insist on producing .init and .fini sections SHAREDFLAGS = --section-start .init=0x0e000100 - -# The CRIS compiler needs an -iprefix to find libgcc includes when -# nostdinc is used. It also needs -mlinux to compile linux applications. -INCLUDE_PREFIX = $(shell $(CC) -print-libgcc-file-name | sed -e s/libgcc.a//) -ARCHREQFLAGS = -iprefix $(INCLUDE_PREFIX) -mlinux - -# Special flags needed for linking -LDFLAGS += -mcrislinux diff --git a/klibc/arch/m32r/Makefile.inc b/klibc/arch/m32r/Makefile.inc index 75fa17ba99c92..43cb44ef8fab3 100644 --- a/klibc/arch/m32r/Makefile.inc +++ b/klibc/arch/m32r/Makefile.inc @@ -1,6 +1,6 @@ # -*- makefile -*- # -# arch/cris/Makefile.inc +# arch/m32r/Makefile.inc # # Special rules for this architecture. Note that this is actually # included from the main Makefile, and that pathnames should be @@ -8,11 +8,6 @@ # ARCHOBJS = \ - arch/$(ARCH)/__Umod.o \ - arch/$(ARCH)/__Udiv.o \ - arch/$(ARCH)/__Mod.o \ - arch/$(ARCH)/__Div.o \ - arch/$(ARCH)/__negdi2.o \ arch/$(ARCH)/setjmp.o \ arch/$(ARCH)/syscall.o \ libgcc/__divdi3.o \ @@ -21,13 +16,4 @@ ARCHOBJS = \ libgcc/__umoddi3.o \ libgcc/__udivmoddi4.o -arch/$(ARCH)/__Umod.o: arch/$(ARCH)/divide.c - $(CC) $(CFLAGS) -DSIGNED=0 -DREM=1 -DBITS=32 -DNAME=__Umod -c -o $@ $< -arch/$(ARCH)/__Udiv.o: arch/$(ARCH)/divide.c - $(CC) $(CFLAGS) -DSIGNED=0 -DREM=0 -DBITS=32 -DNAME=__Udiv -c -o $@ $< -arch/$(ARCH)/__Mod.o: arch/$(ARCH)/divide.c - $(CC) $(CFLAGS) -DSIGNED=1 -DREM=1 -DBITS=32 -DNAME=__Mod -c -o $@ $< -arch/$(ARCH)/__Div.o: arch/$(ARCH)/divide.c - $(CC) $(CFLAGS) -DSIGNED=1 -DREM=0 -DBITS=32 -DNAME=__Div -c -o $@ $< - archclean: |