diff options
author | Flavio Cruz <flaviocruz@gmail.com> | 2022-12-14 02:35:47 -0500 |
---|---|---|
committer | Samuel Thibault <samuel.thibault@ens-lyon.org> | 2022-12-15 17:12:33 +0100 |
commit | ad51c68171cb6a1cae15c61ca0218bbee2c05485 (patch) | |
tree | ab451409f5b33389f86cc039a14ff640aa1fefe7 /Makefile.am | |
parent | 3c26c30fd2a5bdec081384d45e42a7ea4e424846 (diff) |
Use __builtin_ffs instead of libc provided ffs in vm_map.c
We already use this built-in in other places and this will move us closer to
being able to build the kernel without libc.
Message-Id: <Y5l80/VUFvJYZTjy@jupiter.tail36e24.ts.net>
Diffstat (limited to 'Makefile.am')
-rw-r--r-- | Makefile.am | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/Makefile.am b/Makefile.am index 684344e2..33f770f6 100644 --- a/Makefile.am +++ b/Makefile.am @@ -167,13 +167,13 @@ gnumach_o_LINK = $(LD) $(LDFLAGS) -u _start -r -o $@ noinst_PROGRAMS += \ gnumach.o -# This is the list of routines we decide is OK to steal from the C library. +# This is the list of routines we decide is OK to steal from the C library or libgcc. clib_routines := htonl htons ntohl ntohs \ udivdi3 __udivdi3 __udivmoddi4 __umoddi3 \ __divdi3 __moddi3 \ __rel_iplt_start __rel_iplt_end \ __rela_iplt_start __rela_iplt_end \ - __ffsdi2 ffs \ + __ffsdi2 \ _START _start etext _edata end _end # actually ld magic, not libc. gnumach-undef: gnumach.$(OBJEXT) $(NM_V) $(NM) -u $< | sed 's/ *U *//' | sort -u > $@ |