diff --git a/lld/docs/NewLLD.rst b/lld/docs/NewLLD.rst index d01fb53b953fe..59a8f87ea86af 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 7f4a688140fd9..1b01cab5c253a 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 9ce16f0629411..0f03b1275a7c8 100644 --- a/lld/docs/conf.py +++ b/lld/docs/conf.py @@ -245,7 +245,7 @@ #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 1282bcfd28e2e..dce1e6d556fe9 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