[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[commits] r7805 - in /trunk/libc: ChangeLog.eglibc elf/Makefile
- To: commits@xxxxxxxxxx
- Subject: [commits] r7805 - in /trunk/libc: ChangeLog.eglibc elf/Makefile
- From: julian@xxxxxxxxxx
- Date: Mon, 26 Jan 2009 15:25:06 -0000
Author: julian
Date: Mon Jan 26 07:25:06 2009
New Revision: 7805
Log:
* elf/Makefile ($(objpfx)ld.so): Add sed pattern to recognize text
segment defined with SEGMENT_START.
Modified:
trunk/libc/ChangeLog.eglibc
trunk/libc/elf/Makefile
Modified: trunk/libc/ChangeLog.eglibc
==============================================================================
--- trunk/libc/ChangeLog.eglibc (original)
+++ trunk/libc/ChangeLog.eglibc Mon Jan 26 07:25:06 2009
@@ -1,3 +1,8 @@
+2009-01-26 Julian Brown <julian@xxxxxxxxxxxxxxxx>
+
+ * elf/Makefile ($(objpfx)ld.so): Add sed pattern to recognize text
+ segment defined with SEGMENT_START.
+
2009-01-23 Joseph Myers <joseph@xxxxxxxxxxxxxxxx>
[BZ #7094]
Modified: trunk/libc/elf/Makefile
==============================================================================
--- trunk/libc/elf/Makefile (original)
+++ trunk/libc/elf/Makefile Mon Jan 26 07:25:06 2009
@@ -306,6 +306,7 @@
LC_ALL=C \
sed -e '/^=========/,/^=========/!d;/^=========/d' \
-e 's/\. = 0 + SIZEOF_HEADERS;/& _begin = . - SIZEOF_HEADERS;/' \
+ -e 's/\. = SEGMENT_START("text-segment", 0) + SIZEOF_HEADERS;/& _begin = . - SIZEOF_HEADERS;/' \
> $@.lds
$(LINK.o) -nostdlib -nostartfiles -shared -o $@ \
$(LDFLAGS-rtld) -Wl,-z,defs $(z-now-$(bind-now)) \