aboutsummaryrefslogtreecommitdiff
path: root/ld/ld.texinfo
diff options
context:
space:
mode:
authorAlan Modra <amodra@gmail.com>2009-10-08 01:00:27 +0000
committerAlan Modra <amodra@gmail.com>2009-10-08 01:00:27 +0000
commit4100cea361e40b86953629f28dcab4d8d12d5fbe (patch)
tree1f897c573ce56d238e76c2b86bde3e7e272f618d /ld/ld.texinfo
parent092004b4862f5b5f1c5d50be14ffb062d92d5fbb (diff)
downloadgdb-4100cea361e40b86953629f28dcab4d8d12d5fbe.zip
gdb-4100cea361e40b86953629f28dcab4d8d12d5fbe.tar.gz
gdb-4100cea361e40b86953629f28dcab4d8d12d5fbe.tar.bz2
PR ld/10744
* ldlang.c (lang_new_phdr): Allow FILEHDR/PHDRS on more than the first PT_LOAD header. * ld.texinfo: Update.
Diffstat (limited to 'ld/ld.texinfo')
-rw-r--r--ld/ld.texinfo3
1 files changed, 2 insertions, 1 deletions
diff --git a/ld/ld.texinfo b/ld/ld.texinfo
index 978ae66..21ff9cd 100644
--- a/ld/ld.texinfo
+++ b/ld/ld.texinfo
@@ -4740,7 +4740,8 @@ the program header type to further describe the contents of the segment.
The @code{FILEHDR} keyword means that the segment should include the ELF
file header. The @code{PHDRS} keyword means that the segment should
include the ELF program headers themselves. If applied to a loadable
-segment (@code{PT_LOAD}), it must be the first loadable segment.
+segment (@code{PT_LOAD}), all prior loadable segments must have one of
+these keywords.
The @var{type} may be one of the following. The numbers indicate the
value of the keyword.