PATCH: disable inlines string2.h for BPs
Greg McGary
greg@kayak.mcgary.org
Wed Jun 21 13:02:00 GMT 2000
String inlines bloat the BP build, and make bounds violations
harder to debug.
OK?
2000-06-21 Greg McGary <greg@mcgary.org>
* string/bits/string2.h: Don't use inlines with bounded pointers.
Index: string/bits/string2.h
===================================================================
RCS file: /cvs/glibc/libc/string/bits/string2.h,v
retrieving revision 1.50
diff -u -p -r1.50 string2.h
--- string2.h 2000/05/04 00:55:30 1.50
+++ string2.h 2000/06/19 19:18:04
@@ -22,7 +22,7 @@
# error "Never use <bits/string2.h> directly; include <string.h> instead."
#endif
-#ifndef __NO_STRING_INLINES
+#if !defined (__NO_STRING_INLINES) && !__BOUNDED_POINTERS__
/* Unlike the definitions in the header <bits/string.h> the
definitions contained here are not optimized down to assembler
More information about the Libc-hacker
mailing list