about summary refs log tree commit diff
path: root/elf
diff options
context:
space:
mode:
authorRoland McGrath <roland@gnu.org>2003-03-13 21:51:07 +0000
committerRoland McGrath <roland@gnu.org>2003-03-13 21:51:07 +0000
commit6461e57784358cf4fd261e5e61d064a315aae924 (patch)
treec204eb7e9d3a13ead269e965d9856759c9bd946d /elf
parent0579fabbe81afc3051b74c71907e8b5a76e2ab8a (diff)
downloadglibc-6461e57784358cf4fd261e5e61d064a315aae924.tar.gz
glibc-6461e57784358cf4fd261e5e61d064a315aae924.tar.xz
glibc-6461e57784358cf4fd261e5e61d064a315aae924.zip
* elf/Makefile ($(objpfx)librtld.mk): Tweak regexp so that one-line
	entries in the map file match too.
Diffstat (limited to 'elf')
-rw-r--r--elf/Makefile3
1 files changed, 2 insertions, 1 deletions
diff --git a/elf/Makefile b/elf/Makefile
index 205957c3e4..7c3f0f187e 100644
--- a/elf/Makefile
+++ b/elf/Makefile
@@ -210,7 +210,8 @@ $(objpfx)librtld.map: $(objpfx)dl-allobjs.os $(common-objpfx)libc_pic.a
 	mv -f $@T $@
 
 $(objpfx)librtld.mk: $(objpfx)librtld.map Makefile
-	sed -n 's@^$(common-objpfx)\([^(]*\)(\([^)]*\.os\))$$@\1 \2@p' $< | \
+	sed -n 's@^$(common-objpfx)\([^(]*\)(\([^)]*\.os\)) *.*$$@\1 \2@p' \
+	    $< | \
 	while read lib file; do \
 	  case $$lib in \
 	  libc_pic.a) \