diff options
author | Samuel Thibault <samuel.thibault@ens-lyon.org> | 2007-08-16 21:54:03 +0000 |
---|---|---|
committer | Thomas Schwinge <tschwinge@gnu.org> | 2009-06-18 00:27:12 +0200 |
commit | 4a2a8b039c53b2dd1b530a2592eac54634144dc4 (patch) | |
tree | 03ab89641b483bb5cf440493c93c92b362e1f437 | |
parent | e44a3dddf93d9ac15eea6bd323a2308b0ea6d493 (diff) |
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.
-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 |