Formatting adjustments, for better smallbook formatting
authorRoland Pesch <pesch@cygnus>
Thu, 3 Feb 1994 04:38:58 +0000 (04:38 +0000)
committerRoland Pesch <pesch@cygnus>
Thu, 3 Feb 1994 04:38:58 +0000 (04:38 +0000)
and to agree better w/FSF (RMS) indentation conventions.

ld/ld.texinfo

index f096c78ea17e2604febb62ef39f8ddde4f5be515..4c929ac0fae3190b80807d8d88451d8329505a38 100644 (file)
@@ -1766,11 +1766,13 @@ and one called @samp{.mdata}, which is loaded at the end of the
 
 @smallexample
 SECTIONS
-       @{
-       .text 0x1000 : @{ *(.text) _etext = . ; @}
-       .mdata 0x2000 :  AT ( ADDR(.text) + SIZEOF ( .text ) )
-            @{ _data = . ; *(.data); _edata = . ;  @}
-       .bss 0x3000 : @{ _bstart = . ;  *(.bss) *(COMMON) ; _bend = . ;@}
+  @{
+  .text 0x1000 : @{ *(.text) _etext = . ; @}
+  .mdata 0x2000 : 
+    AT ( ADDR(.text) + SIZEOF ( .text ) )
+    @{ _data = . ; *(.data); _edata = . ;  @}
+  .bss 0x3000 :
+    @{ _bstart = . ;  *(.bss) *(COMMON) ; _bend = . ;@}
 @}
 @end smallexample
 
@@ -1779,19 +1781,19 @@ for use with a ROM generated this way has to include something like
 the following, to copy the initialized data from the ROM image to its runtime
 address:
 
-@example
-/* ROM has data glommed at end of text; copy it. */
+@smallexample
 char *src = _etext;
 char *dst = _data;
 
+/* ROM has data at end of text; copy it. */
 while (dst < _edata) @{
-       *dst++ = *src++;
+  *dst++ = *src++;
 @}
 
 /* Zero bss */
 for (dst = _bstart; dst< _bend; dst++)
-       *dst = 0;
-@end example
+  *dst = 0;
+@end smallexample
 
 @item =@var{fill}
 @kindex =@var{fill}
This page took 0.031076 seconds and 4 git commands to generate.