aboutsummaryrefslogtreecommitdiff
path: root/ld
diff options
context:
space:
mode:
authorRoland McGrath <mcgrathr@google.com>2022-02-17 09:58:29 -0800
committerRoland McGrath <mcgrathr@google.com>2022-02-18 11:42:09 -0800
commit5c14cc552d3b5c0dddb17c2f81ca8af137b0b254 (patch)
tree24c49b86cf2427f9c5036743a98db7a58a8dccca /ld
parent9221923cf677a1fbb61e42fc41e74759abdd895d (diff)
downloadgdb-5c14cc552d3b5c0dddb17c2f81ca8af137b0b254.zip
gdb-5c14cc552d3b5c0dddb17c2f81ca8af137b0b254.tar.gz
gdb-5c14cc552d3b5c0dddb17c2f81ca8af137b0b254.tar.bz2
Fix typo in ld.texi
ld/ * ld.texi (Output Section Type): Fix typo in @code syntax.
Diffstat (limited to 'ld')
-rw-r--r--ld/ChangeLog6
-rw-r--r--ld/ld.texi8
2 files changed, 9 insertions, 5 deletions
diff --git a/ld/ChangeLog b/ld/ChangeLog
index 464f537..3fea799 100644
--- a/ld/ChangeLog
+++ b/ld/ChangeLog
@@ -1,9 +1,13 @@
+2022-02-17 Roland McGrath <mcgrathr@google.com>
+
+ * ld.texi (Output Section Type): Fix typo in @code syntax.
+
2022-02-17 Nick Clifton <nickc@redhat.com>
* po/sr.po: Updated Serbian translation.
2022-02-16 Fangrui Song <maskray@google.com>
- Nick Clifton <nickc@redhat.com>
+ Nick Clifton <nickc@redhat.com>
PR ld/28841
* ld.texi: Document new output section type.
diff --git a/ld/ld.texi b/ld/ld.texi
index d57e922..c8335a7 100644
--- a/ld/ld.texi
+++ b/ld/ld.texi
@@ -2076,7 +2076,7 @@ If this option is provided then the linker will invoke
@var{scriptname} whenever an error is encountered. Currently however
only two kinds of error are supported: missing symbols and missing
libraries. Two arguments will be passed to script: the keyword
-``undefined-symbol'' or `missing-lib'' and the @var{name} of the
+``undefined-symbol'' or `missing-lib'' and the @var{name} of the
undefined symbol or missing library. The intention is that the script
will provide suggestions to the user as to where the symbol or library
might be found. After the script has finished then the normal linker
@@ -2230,7 +2230,7 @@ On platforms where the feature is supported, the option
On platforms where the feature is not supported, both @option{--relax}
and @option{--no-relax} are accepted, but ignored.
-
+
@cindex retaining specified symbols
@cindex stripping all but some symbols
@cindex symbols, retaining selectively
@@ -3923,7 +3923,7 @@ check a list of possible entry symbols, matching the first one found.
@item
the address of the first byte of the code section, if present and an
executable is being created - the code section is usually
-@samp{.text}, but can be something else;
+@samp{.text}, but can be something else;
@item
The address @code{0}.
@end itemize
@@ -5493,7 +5493,7 @@ section when the program is run.
@item TYPE = @var{type}
Set the section type to the integer @var{type}. When generating an ELF
output file, type names @code{SHT_PROGBITS}, @code{SHT_STRTAB},
-@code{SHT_NOTE}, @code {SHT_NOBITS}, @code{SHT_INIT_ARRAY},
+@code{SHT_NOTE}, @code{SHT_NOBITS}, @code{SHT_INIT_ARRAY},
@code{SHT_FINI_ARRAY}, and @code{SHT_PREINIT_ARRAY} are also allowed
for @var{type}. It is the user's responsibility to ensure that any
special requirements of the section type are met.