This is the mail archive of the libc-hacker@sourceware.cygnus.com mailing list for the glibc project.

Note that libc-hacker is a closed list. You may look at the archives of this list, but subscription and posting are not open.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]

PATCH: BP thunks in Makerules


This handles BP syscall thunks in a way that doesn't break `make dist'

2000-06-20  Greg McGary  <greg@mcgary.org>

	* Makerules (objects): Add BP thunks.

Index: Makerules
===================================================================
RCS file: /cvs/glibc/libc/Makerules,v
retrieving revision 1.337
diff -u -p -r1.337 Makerules
--- Makerules	2000/06/13 20:45:27	1.337
+++ Makerules	2000/06/21 01:59:53
@@ -474,18 +474,17 @@ override sources := $(addsuffix .c,\
 			$(filter-out $(elided-routines),\
 			    $(routines) $(aux) \
 			    $(sysdep_routines)))
-# XXX The following was introduced here in the BP patches but it belongs
-# XXX somewhere else since adding it here breaks `make dist'.
-#			    $(addprefix $(bppfx),\
-#				$(filter $(routines) $(sysdep_routines),\
-#				    $(bp-thunks))))
 sysdep_routines := $(sysdep_routines)
 
 headers := $(headers) $(sysdep_headers)
 
 # This is the list of all object files, gotten by
 # replacing every ".c" in `sources' with a ".o".
-override objects	:= $(addprefix $(objpfx),$(sources:.c=.o))
+# We also add bounded-pointer thunks, which are later
+# elided for all suffixes except for `.ob'.
+override objects := $(addprefix $(objpfx),$(sources:.c=.o) \
+		      $(patsubst %,$(bppfx)%.o,\
+			$(filter $(routines) $(sysdep_routines),$(bp-thunks))))
 
 
 # The makefile may define $(extra-libs) with `libfoo libbar'

Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]