]> git.ipfire.org Git - thirdparty/binutils-gdb.git/commitdiff
* ld.texinfo: Document that fill values now use the four least
authorAlan Modra <amodra@gmail.com>
Fri, 17 Aug 2001 09:51:08 +0000 (09:51 +0000)
committerAlan Modra <amodra@gmail.com>
Fri, 17 Aug 2001 09:51:08 +0000 (09:51 +0000)
significant bytes.
* emulparams/elf32fr30.sh (NOP): Update.
* emulparams/elf32mcore.sh: Likewise.
* emulparams/elf64_s390.sh: Likewise.
* emulparams/elf_i386.sh: Likewise.
* emulparams/elf_i386_be.sh: Likewise.
* emulparams/elf_i386_chaos.sh: Likewise.
* emulparams/elf_i386_ldso.sh: Likewise.
* emulparams/elf_s390.sh: Likewise.
* emulparams/elf_x86_64.sh: Likewise.
* emulparams/i386moss.sh: Likewise.
* emulparams/i386nw.sh: Likewise.
* emulparams/m68kelf.sh: Likewise.
* scripttempl/elf.sc: Update NOP comment.
* scripttempl/elfi370.sc: Likewise.
* scripttempl/elfm68hc11.sc: Likewise.
* scripttempl/elfm68hc12.sc: Likewise.
* scripttempl/nw.sc: Likewise.

19 files changed:
ld/ChangeLog
ld/emulparams/elf32fr30.sh
ld/emulparams/elf32mcore.sh
ld/emulparams/elf64_s390.sh
ld/emulparams/elf_i386.sh
ld/emulparams/elf_i386_be.sh
ld/emulparams/elf_i386_chaos.sh
ld/emulparams/elf_i386_ldso.sh
ld/emulparams/elf_s390.sh
ld/emulparams/elf_x86_64.sh
ld/emulparams/i386moss.sh
ld/emulparams/i386nw.sh
ld/emulparams/m68kelf.sh
ld/ld.texinfo
ld/scripttempl/elf.sc
ld/scripttempl/elfi370.sc
ld/scripttempl/elfm68hc11.sc
ld/scripttempl/elfm68hc12.sc
ld/scripttempl/nw.sc

index b8a5cac67cfa4c2bae76c2e394aa2ea037a668c5..b10f2fd3e3f2eabee2f74e85b16aec101d750306 100644 (file)
@@ -1,3 +1,25 @@
+2001-08-17  Alan Modra  <amodra@bigpond.net.au>
+
+       * ld.texinfo: Document that fill values now use the four least
+       significant bytes.
+       * emulparams/elf32fr30.sh (NOP): Update.
+       * emulparams/elf32mcore.sh: Likewise.
+       * emulparams/elf64_s390.sh: Likewise.
+       * emulparams/elf_i386.sh: Likewise.
+       * emulparams/elf_i386_be.sh: Likewise.
+       * emulparams/elf_i386_chaos.sh: Likewise.
+       * emulparams/elf_i386_ldso.sh: Likewise.
+       * emulparams/elf_s390.sh: Likewise.
+       * emulparams/elf_x86_64.sh: Likewise.
+       * emulparams/i386moss.sh: Likewise.
+       * emulparams/i386nw.sh: Likewise.
+       * emulparams/m68kelf.sh: Likewise.
+       * scripttempl/elf.sc: Update NOP comment.
+       * scripttempl/elfi370.sc: Likewise.
+       * scripttempl/elfm68hc11.sc: Likewise.
+       * scripttempl/elfm68hc12.sc: Likewise.
+       * scripttempl/nw.sc: Likewise.
+
 2001-08-15  Tom Rix <trix@redhat.com>
 
        * ldgram.y (saved_script_handle): Initialize to NULL.
index 1be1f534b1157c303549e56b243ff4a3f2c83c80..0c40750c4978da8baebad7862fbe7d4ca9fb95a2 100755 (executable)
@@ -6,5 +6,5 @@ ARCH=fr30
 MAXPAGESIZE=256
 ENTRY=_start
 EMBEDDED=yes
-NOP=0x9fa0
+NOP=0x9fa09fa0
 OTHER_RELOCATING_SECTIONS='PROVIDE (__stack = 0x200000);'
\ No newline at end of file
index 2d0638730751b732b8801be6844d21d6bd2be2d3..06b23257a9850f7eac7f15590fdbea5219a9bca7 100644 (file)
@@ -19,7 +19,7 @@ EMBEDDED=yes
 # explicitly set first, and since the NOP code is only used as a
 # fill value between independantly viable peices of code, it should
 # not matter.
-NOP=0x0e0e
+NOP=0x0e0e0e0e
 
 OTHER_BSS_SYMBOLS="__bss_start__ = . ;"
 OTHER_BSS_END_SYMBOLS="__bss_end__ = . ;"
index 1ba223e41a38f8aa0c0ab9f683494269834c8a5c..08cf4ccb6f21182c58f9ad653759e8782c17b5a3 100644 (file)
@@ -6,6 +6,6 @@ MAXPAGESIZE=0x1000
 NONPAGED_TEXT_START_ADDR=0x80000000
 ARCH="s390:esame"
 MACHINE=
-NOP=0x0707
+NOP=0x07070707
 TEMPLATE_NAME=elf32
 GENERATE_SHLIB_SCRIPT=yes 
index dff567bffbcc918b5e0ede55fd1f2b04542b4993..6928f642b7f110a1941d17a156cdbdebe955628e 100644 (file)
@@ -5,6 +5,6 @@ MAXPAGESIZE=0x1000
 NONPAGED_TEXT_START_ADDR=0x08048000
 ARCH=i386
 MACHINE=
-NOP=0x9090
+NOP=0x90909090
 TEMPLATE_NAME=elf32
 GENERATE_SHLIB_SCRIPT=yes
index 9977a069a4abae1279f025c0bf86510f035a99a4..4405d210fcf746b5d7b8f52b3cad4fc2935c63df 100644 (file)
@@ -6,6 +6,6 @@ NONPAGED_TEXT_START_ADDR=0x80000000
 MAXPAGESIZE=0x1000
 ARCH=i386
 MACHINE=
-NOP=0x9090
+NOP=0x90909090
 TEMPLATE_NAME=elf32
 GENERATE_SHLIB_SCRIPT=yes
index 32e7719de6caef6ce78af449d29dbd5613d8a2eb..6afe3c8d70df08ddfe77006f41793b9b3594d57b 100644 (file)
@@ -5,6 +5,6 @@ MAXPAGESIZE=0x1000
 NONPAGED_TEXT_START_ADDR=0x40000000
 ARCH=i386
 MACHINE=
-NOP=0x9090
+NOP=0x90909090
 TEMPLATE_NAME=elf32
 GENERATE_SHLIB_SCRIPT=yes
index e1f43b2b3717a4ffba022ab6d0c10578e4747523..4bb212359c1cdb98374c13d49fa52f41cab6d3be 100644 (file)
@@ -5,7 +5,7 @@ MAXPAGESIZE=0x1000
 NONPAGED_TEXT_START_ADDR=0x08048000
 ARCH=i386
 MACHINE=
-NOP=0x9090
+NOP=0x90909090
 TEMPLATE_NAME=elf32
 GENERATE_SHLIB_SCRIPT=yes
 ELF_INTERPRETER_NAME=\"/usr/lib/ld.so.1\"
index 6fa383607ccc4118ee2eb043ce0c150fb4cb3dfa..811add47516b22ced78f89edaa987d3e28172548 100644 (file)
@@ -5,6 +5,6 @@ MAXPAGESIZE=0x1000
 NONPAGED_TEXT_START_ADDR=0x00400000
 ARCH=s390
 MACHINE=
-NOP=0x0707
+NOP=0x07070707
 TEMPLATE_NAME=elf32
 GENERATE_SHLIB_SCRIPT=yes 
index 635748f6388457a0d1143bc09bb3bf9b8b25b6b2..c6586c38e8da4dedaf3c746f7c27ca2174dc62e5 100644 (file)
@@ -6,6 +6,6 @@ MAXPAGESIZE=0x100000
 NONPAGED_TEXT_START_ADDR=0x400000
 ARCH=i386
 MACHINE=
-NOP=0x9090
+NOP=0x90909090
 TEMPLATE_NAME=elf32
 GENERATE_SHLIB_SCRIPT=yes
index a5e0e05eb2208fd60eb186be0a29e0f123b14365..eece4473976c8c2afb15725b82188b694959e6ba 100644 (file)
@@ -5,6 +5,6 @@ MAXPAGESIZE=0x1000
 NONPAGED_TEXT_START_ADDR=0x00002000
 ARCH=i386
 MACHINE=
-NOP=0x9090
+NOP=0x90909090
 TEMPLATE_NAME=elf32
 GENERATE_SHLIB_SCRIPT=yes
index e70ed678f3e2dde061dc59f2e0588137b5676ea0..621b4755b8bc2c0948470cf727c4e82e95cb79c9 100644 (file)
@@ -4,6 +4,6 @@ TEXT_START_ADDR=0x08000000
 MAXPAGESIZE=0x1000
 NONPAGED_TEXT_START_ADDR=0x08000000
 ARCH=i386
-NOP=0x9090
+NOP=0x90909090
 TEMPLATE_NAME=elf32
 GENERATE_SHLIB_SCRIPT=yes
index a27f63cff5cb1e5f0ad83c5cab2d46e97f09f04f..508d58d59fe8fd0a9ca2f5a5e3ca01bd7d441cdb 100644 (file)
@@ -5,7 +5,7 @@ MAXPAGESIZE=0x2000
 NONPAGED_TEXT_START_ADDR=${TEXT_START_ADDR}
 ARCH=m68k
 MACHINE=
-NOP=0x4e75
+NOP=0x4e754e75
 TEMPLATE_NAME=elf32
 EXTRA_EM_FILE=m68kelf
 GENERATE_SHLIB_SCRIPT=yes
index 82e7fc4fc8920e664405deef816170bfc8461bc4..95785e036e9f17840aadf22ced420de347e23ba1 100644 (file)
@@ -1265,7 +1265,7 @@ undefined symbols in the link.
 @kindex --sort-common
 This option tells @code{ld} to sort the common symbols by size when it
 places them in the appropriate output sections.  First come all the one
-byte symbols, then all the two bytes, then all the four bytes, and then
+byte symbols, then all the two byte, then all the four byte, and then
 everything else.  This is to prevent gaps between symbols due to
 alignment constraints.
 
@@ -2781,16 +2781,16 @@ You may use the @code{FILL} command to set the fill pattern for the
 current section.  It is followed by an expression in parentheses.  Any
 otherwise unspecified regions of memory within the section (for example,
 gaps left due to the required alignment of input sections) are filled
-with the two least significant bytes of the expression, repeated as
+with the four least significant bytes of the expression, repeated as
 necessary.  A @code{FILL} statement covers memory locations after the
 point at which it occurs in the section definition; by including more
 than one @code{FILL} statement, you can have different fill patterns in
 different parts of an output section.
 
 This example shows how to fill unspecified regions of memory with the
-value @samp{0x9090}:
+value @samp{0x90}:
 @smallexample
-FILL(0x9090)
+FILL(0x90909090)
 @end smallexample
 
 The @code{FILL} command is similar to the @samp{=@var{fillexp}} output
@@ -3076,7 +3076,7 @@ You can set the fill pattern for an entire section by using
 @samp{=@var{fillexp}}.  @var{fillexp} is an expression
 (@pxref{Expressions}).  Any otherwise unspecified regions of memory
 within the output section (for example, gaps left due to the required
-alignment of input sections) will be filled with the two least
+alignment of input sections) will be filled with the four least
 significant bytes of the value, repeated as necessary.
 
 You can also change the fill value with a @code{FILL} command in the
@@ -3085,7 +3085,7 @@ output section commands; see @ref{Output Section Data}.
 Here is a simple example:
 @smallexample
 @group
-SECTIONS @{ .text : @{ *(.text) @} =0x9090 @}
+SECTIONS @{ .text : @{ *(.text) @} =0x90909090 @}
 @end group
 @end smallexample
 
@@ -3728,7 +3728,7 @@ SECTIONS
       file2(.text)
       . += 1000;
       file3(.text)
-    @} = 0x1234;
+    @} = 0x12345678;
 @}
 @end smallexample
 @noindent
@@ -3736,7 +3736,7 @@ In the previous example, the @samp{.text} section from @file{file1} is
 located at the beginning of the output section @samp{output}.  It is
 followed by a 1000 byte gap.  Then the @samp{.text} section from
 @file{file2} appears, also with a 1000 byte gap following before the
-@samp{.text} section from @file{file3}.  The notation @samp{= 0x1234}
+@samp{.text} section from @file{file3}.  The notation @samp{= 0x12345678}
 specifies what data to write in the gaps (@pxref{Output Section Fill}).
 
 @cindex dot inside sections
index c66be4b623ec96e7f3a8dcfb0b5a3a1a7b45e6ab..84630bd21f5c2c559f7d683a3ed1d0dfe6c2cdec 100644 (file)
@@ -1,6 +1,6 @@
 #
 # Unusual variables checked by this code:
-#      NOP - two byte opcode for no-op (defaults to 0)
+#      NOP - four byte opcode for no-op (defaults to 0)
 #      DATA_ADDR - if end-of-text-plus-one-page isn't right for data start
 #      INITIAL_READONLY_SECTIONS - at start of text segment
 #      OTHER_READONLY_SECTIONS - other than .text .init .rodata ...
index 05b1cf1d1bff09455fa43149503e11c738c1ad54..39bf8a1458d2b25877c75c867abbc0177f372cf2 100644 (file)
@@ -2,7 +2,7 @@
 # This is just a raw copy of elfppc.sc and has not been otherwise modified
 #
 # Unusual variables checked by this code:
-#      NOP - two byte opcode for no-op (defaults to 0)
+#      NOP - four byte opcode for no-op (defaults to 0)
 #      DATA_ADDR - if end-of-text-plus-one-page isn't right for data start
 #      OTHER_READONLY_SECTIONS - other than .text .init .rodata ...
 #              (e.g., .PARISC.milli)
index f40e32c51168cbf28e545632e4fca6c26be7093f..4bd0dc69370b3f5d53be7def7cb09ea676684f6e 100644 (file)
@@ -1,6 +1,6 @@
 #
 # Unusual variables checked by this code:
-#      NOP - two byte opcode for no-op (defaults to 0)
+#      NOP - four byte opcode for no-op (defaults to 0)
 #      DATA_ADDR - if end-of-text-plus-one-page isn't right for data start
 #      OTHER_READWRITE_SECTIONS - other than .data .bss .ctors .sdata ...
 #              (e.g., .PARISC.global)
index d7898bba5edc5dda905aaa3c3816fef73c4a0742..50e9241abdcfcc03884c226347d71228a30310ce 100644 (file)
@@ -1,6 +1,6 @@
 #
 # Unusual variables checked by this code:
-#      NOP - two byte opcode for no-op (defaults to 0)
+#      NOP - four byte opcode for no-op (defaults to 0)
 #      DATA_ADDR - if end-of-text-plus-one-page isn't right for data start
 #      OTHER_READWRITE_SECTIONS - other than .data .bss .ctors .sdata ...
 #              (e.g., .PARISC.global)
index 725522c78956d557e0994985bdfa60181cc6fb7c..4a0b051e47b57d47810af6e9cee04914ea059733 100644 (file)
@@ -1,6 +1,6 @@
 #
 # Unusual variables checked by this code:
-#      NOP - two byte opcode for no-op (defaults to 0)
+#      NOP - four byte opcode for no-op (defaults to 0)
 #      DATA_ADDR - if end-of-text-plus-one-page isn't right for data start
 #      OTHER_READONLY_SECTIONS - other than .text .init .ctors .rodata ...
 #              (e.g., .PARISC.milli)