aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAlan Modra <amodra@gmail.com>2009-06-20 02:52:08 +0000
committerAlan Modra <amodra@gmail.com>2009-06-20 02:52:08 +0000
commit90dce00a2aaceca2e7cf857dc70665260cf5cb6f (patch)
treec28fb9817fe054405e049654f57bdd8c097f8a68
parent09a24cbf399cbb184c7121403d394e3db416ae71 (diff)
downloadgdb-90dce00a2aaceca2e7cf857dc70665260cf5cb6f.zip
gdb-90dce00a2aaceca2e7cf857dc70665260cf5cb6f.tar.gz
gdb-90dce00a2aaceca2e7cf857dc70665260cf5cb6f.tar.bz2
PR 10302
* doc/as.texinfo (Section <ELF "M,S" flag>): Clarify tail merge.
-rw-r--r--gas/ChangeLog6
-rw-r--r--gas/doc/as.texinfo5
2 files changed, 10 insertions, 1 deletions
diff --git a/gas/ChangeLog b/gas/ChangeLog
index 075d6f0..0e6f874 100644
--- a/gas/ChangeLog
+++ b/gas/ChangeLog
@@ -1,3 +1,9 @@
+2009-06-20 Alan Modra <amodra@bigpond.net.au>
+
+ PR 10302
+ * doc/as.texinfo (Section <ELF "M,S" flag>): Clarify tail merge.
+
+=======
2009-06-19 Martin Schwidefsky <schwidefsky@de.ibm.com>
* config/tc-s390.c (md_gather_operands): Accept an instruction
diff --git a/gas/doc/as.texinfo b/gas/doc/as.texinfo
index e4f7984..fc6794b 100644
--- a/gas/doc/as.texinfo
+++ b/gas/doc/as.texinfo
@@ -5819,7 +5819,10 @@ constants, each @var{entsize} octets long. Sections with both @code{M} and
@code{S} must contain zero terminated strings where each character is
@var{entsize} bytes long. The linker may remove duplicates within sections with
the same name, same entity size and same flags. @var{entsize} must be an
-absolute expression.
+absolute expression. For sections with both @code{M} and @code{S}, a string
+which is a suffix of a larger string is considered a duplicate. Thus
+@code{"def"} will be merged with @code{"abcdef"}; A reference to the first
+@code{"def"} will be changed to a reference to @code{"abcdef"+3}.
If @var{flags} contains the @code{G} symbol then the @var{type} argument must
be present along with an additional field like this: