Fix typo in desription of linker script symbols.
authorNick Clifton <nickc@redhat.com>
Thu, 3 Sep 2015 15:49:18 +0000 (16:49 +0100)
committerNick Clifton <nickc@redhat.com>
Thu, 3 Sep 2015 15:49:18 +0000 (16:49 +0100)
(Source Code Reference): Fix off-by-one typo in example of how to
use linker script symbols in C source code.

ld/ChangeLog
ld/ld.texinfo

index d79c9e74c4be37bb33890be72bdd973bc1453091..7c60d9bbe4aec0da084ed2633f4ddc86d1601d1f 100644 (file)
@@ -3,6 +3,11 @@
        * ld.texinfo (--build-id): Fix typo.  The COFF/PE build-id section
        is called .buildid not .build-id.
 
+2015-09-03  Nick Clifton  <nickc@redhat.com>
+
+       (Source Code Reference): Fix off-by-one typo in example of how to
+       use linker script symbols in C source code.
+
 2015-08-19  Alan Modra  <amodra@gmail.com>
 
        * emultempl/aix.em: Don't set link_info.pic.
index 1c2c3f431e5737755b383462bf969e42431c3c67..2c78a07c3c2b9bcec029a54b81c15382ff19c3b3 100644 (file)
@@ -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
This page took 0.036607 seconds and 4 git commands to generate.