diff options
author | Nick Clifton <nickc@redhat.com> | 2015-09-03 16:49:18 +0100 |
---|---|---|
committer | Nick Clifton <nickc@redhat.com> | 2015-09-03 16:49:18 +0100 |
commit | a5e406b5ada4fc7e5131dc4242b6cf46c6139a3f (patch) | |
tree | 4b271401f3e92896727e3202d2a0aae5dd3c997b /ld/ld.texinfo | |
parent | 1a9155522d3d1f6aded1178ad7038e846b6d67ba (diff) | |
download | gdb-a5e406b5ada4fc7e5131dc4242b6cf46c6139a3f.zip gdb-a5e406b5ada4fc7e5131dc4242b6cf46c6139a3f.tar.gz gdb-a5e406b5ada4fc7e5131dc4242b6cf46c6139a3f.tar.bz2 |
Fix typo in desription of linker script symbols.
(Source Code Reference): Fix off-by-one typo in example of how to
use linker script symbols in C source code.
Diffstat (limited to 'ld/ld.texinfo')
-rw-r--r-- | ld/ld.texinfo | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/ld/ld.texinfo b/ld/ld.texinfo index 1c2c3f4..2c78a07 100644 --- a/ld/ld.texinfo +++ b/ld/ld.texinfo @@ -3853,7 +3853,7 @@ linker script contains these declarations: @smallexample @group start_of_ROM = .ROM; - end_of_ROM = .ROM + sizeof (.ROM) - 1; + end_of_ROM = .ROM + sizeof (.ROM); start_of_FLASH = .FLASH; @end group @end smallexample |