This is the mail archive of the
binutils@sourceware.org
mailing list for the binutils project.
PATCH: Remove shared object from -Ttext-segment document
- From: "H.J. Lu" <hongjiu dot lu at intel dot com>
- To: binutils at sourceware dot org
- Date: Wed, 11 Dec 2013 10:32:52 -0800
- Subject: PATCH: Remove shared object from -Ttext-segment document
- Authentication-results: sourceware.org; auth=none
- Reply-to: "H.J. Lu" <hjl dot tools at gmail dot com>
Hi,
"ld -Ttext-segment" isn't intended for shared object. Even if we use
it on shared object, it probably will be ignored. I checked in this
patch to remove shared object from -Ttext-segment document.
H.J.
---
diff --git a/ld/ChangeLog b/ld/ChangeLog
index 677a467..7dc40f7 100644
--- a/ld/ChangeLog
+++ b/ld/ChangeLog
@@ -1,3 +1,7 @@
+2013-12-11 H.J. Lu <hongjiu.lu@intel.com>
+
+ * ld.texinfo: Remove shared object from -Ttext-segment.
+
2013-12-10 Roland McGrath <mcgrathr@google.com>
* Makefile.am (install-exec-local): Prefix libtool invocation with
diff --git a/ld/ld.texinfo b/ld/ld.texinfo
index c925ecb..78b15a5 100644
--- a/ld/ld.texinfo
+++ b/ld/ld.texinfo
@@ -1838,8 +1838,8 @@ Same as @option{--section-start}, with @code{.bss}, @code{.data} or
@kindex -Ttext-segment=@var{org}
@item -Ttext-segment=@var{org}
@cindex text segment origin, cmd line
-When creating an ELF executable or shared object, it will set the address
-of the first byte of the text segment.
+When creating an ELF executable, it will set the address of the first
+byte of the text segment.
@kindex -Trodata-segment=@var{org}
@item -Trodata-segment=@var{org}