summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorNico Weber <thakis@chromium.org>2020-01-09 23:09:48 -0500
committerNico Weber <thakis@chromium.org>2020-01-09 23:10:15 -0500
commitefabe427b27643839849ebb61fe2e5db37dff0de (patch)
tree1737315d6635c9c81bf6079ed5fda8e330fa34de
parent02c5983310dcd627aecb521e03a16122f42e8a01 (diff)
downloadbcm5719-llvm-efabe427b27643839849ebb61fe2e5db37dff0de.tar.gz
bcm5719-llvm-efabe427b27643839849ebb61fe2e5db37dff0de.zip
fix a few typos to cycle the bots
-rw-r--r--lld/docs/NewLLD.rst2
-rw-r--r--lld/docs/WebAssembly.rst10
-rw-r--r--lld/docs/conf.py2
-rw-r--r--lld/docs/ld.lld.12
4 files changed, 8 insertions, 8 deletions
diff --git a/lld/docs/NewLLD.rst b/lld/docs/NewLLD.rst
index d01fb53b953..59a8f87ea86 100644
--- a/lld/docs/NewLLD.rst
+++ b/lld/docs/NewLLD.rst
@@ -7,7 +7,7 @@ The ELF Linker as a Library
You can embed LLD to your program by linking against it and calling the linker's
entry point function lld::elf::link.
-The current policy is that it is your reponsibility to give trustworthy object
+The current policy is that it is your responsibility to give trustworthy object
files. The function is guaranteed to return as long as you do not pass corrupted
or malicious object files. A corrupted file could cause a fatal error or SEGV.
That being said, you don't need to worry too much about it if you create object
diff --git a/lld/docs/WebAssembly.rst b/lld/docs/WebAssembly.rst
index 7f4a688140f..1b01cab5c25 100644
--- a/lld/docs/WebAssembly.rst
+++ b/lld/docs/WebAssembly.rst
@@ -59,11 +59,11 @@ WebAssembly-specific options:
.. option:: --compress-relocations
- Relocation targets in the code section 5-bytes wide in order to potentially
- occomate the largest LEB128 value. This option will cause the linker to
- shirnk the code section to remove any padding from the final output. However
- because it effects code offset, this option is not compatible with outputing
- debug information.
+ Relocation targets in the code section are 5-bytes wide in order to
+ potentially accommodate the largest LEB128 value. This option will cause the
+ linker to shrink the code section to remove any padding from the final
+ output. However because it affects code offset, this option is not
+ compatible with outputting debug information.
.. option:: --allow-undefined
diff --git a/lld/docs/conf.py b/lld/docs/conf.py
index 9ce16f06294..0f03b1275a7 100644
--- a/lld/docs/conf.py
+++ b/lld/docs/conf.py
@@ -245,7 +245,7 @@ texinfo_documents = [
#texinfo_show_urls = 'footnote'
-# FIXME: Define intersphinx configration.
+# FIXME: Define intersphinx configuration.
intersphinx_mapping = {}
diff --git a/lld/docs/ld.lld.1 b/lld/docs/ld.lld.1
index 1282bcfd28e..dce1e6d556f 100644
--- a/lld/docs/ld.lld.1
+++ b/lld/docs/ld.lld.1
@@ -667,7 +667,7 @@ Do not emit the
segment.
.Pp
.It Cm norelro
-Do not indicate that portions of the object shold be mapped read-only
+Do not indicate that portions of the object should be mapped read-only
after initial relocation processing.
The object will omit the
.Dv PT_GNU_RELRO
OpenPOWER on IntegriCloud