[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[commits] r7807 - in /branches/eglibc-2_8/libc: ChangeLog.eglibc elf/Makefile



Author: julian
Date: Mon Jan 26 07:32:54 2009
New Revision: 7807

Log:
	* elf/Makefile ($(objpfx)ld.so): Add sed pattern to recognize text
	segment defined with SEGMENT_START.


Modified:
    branches/eglibc-2_8/libc/ChangeLog.eglibc
    branches/eglibc-2_8/libc/elf/Makefile

Modified: branches/eglibc-2_8/libc/ChangeLog.eglibc
==============================================================================
--- branches/eglibc-2_8/libc/ChangeLog.eglibc (original)
+++ branches/eglibc-2_8/libc/ChangeLog.eglibc Mon Jan 26 07:32:54 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: branches/eglibc-2_8/libc/elf/Makefile
==============================================================================
--- branches/eglibc-2_8/libc/elf/Makefile (original)
+++ branches/eglibc-2_8/libc/elf/Makefile Mon Jan 26 07:32:54 2009
@@ -301,6 +301,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))	\