diff options
-rw-r--r-- | ChangeLog | 7 | ||||
-rw-r--r-- | Makefile.am | 7 |
2 files changed, 11 insertions, 3 deletions
@@ -1,3 +1,10 @@ +2007-08-16 Samuel Thibault <samuel.thibault@ens-lyon.org> + + * Makefile.am (clib_routines): Add udivdi3, __udivdi3 and _end. Fix + edata into _edata. + (gnumach-undef): Do not remove heading _s. + (clib-routines.o): Add -lgcc. + 2007-07-09 Samuel Thibault <samuel.thibault@ens-lyon.org> * i386/i386/db_interface.c (int_regs): Drop gs and fs fields. diff --git a/Makefile.am b/Makefile.am index 05c56ce..a2e7c9d 100644 --- a/Makefile.am +++ b/Makefile.am @@ -127,9 +127,10 @@ noinst_PROGRAMS += \ clib_routines := memcpy memmove memset bcopy bzero \ strchr strstr strsep strpbrk strtok \ htonl htons ntohl ntohs \ - etext edata end # actually ld magic, not libc. + udivdi3 __udivdi3 \ + etext _edata end _end # actually ld magic, not libc. gnumach-undef: gnumach.$(OBJEXT) - $(NM) -u $< | sed 's/ *U *//;s/^_*//' | sort -u > $@ + $(NM) -u $< | sed 's/ *U *//' | sort -u > $@ MOSTLYCLEANFILES += gnumach-undef gnumach-undef-bad: gnumach-undef Makefile sed '$(foreach r,$(clib_routines),/^$r$$/d;)' $< > $@ @@ -138,7 +139,7 @@ clib-routines.o: gnumach-undef gnumach-undef-bad if test -s gnumach-undef-bad; \ then cat gnumach-undef-bad; exit 2; else true; fi $(CCLD) -nostdlib -nostartfiles -r -static \ - -o $@ `sed 's/^/-Wl,-u,/' < $<` -x c /dev/null -lc + -o $@ `sed 's/^/-Wl,-u,/' < $<` -x c /dev/null -lc -lgcc gnumach_LINK = $(LD) $(LINKFLAGS) $(gnumach_LINKFLAGS) -o $@ gnumach_LDADD = gnumach.o clib-routines.o |