binutils-gdb/ld/testsuite/ld-scripts/fill2.d
Nick Clifton f1837d9c3f ld: =fillexp different behaviors for hexidecimal literal
PR 30865
  * ld.texi: Update description of the FILL command.
  * testsuite/ld-scripts/fill2.d: New test.
  * testsuite/ld-scripts/fill2.t: New test source.
  * testsuite/ld-scripts/data.exp: Run the new test.
2023-11-06 13:59:53 +00:00

13 lines
457 B
D

#source: fill_0.s
#ld: -T fill2.t
#readelf: -x.foo
#notarget: ![is_elf_format]
# See PR 30865 - a fill value expressed as a simple hexadecimal
# number behaves differently from other fill values.
Hex dump of section '.foo':
0x00000000 00000000 00000090 91919191 00000092 ................
0x00000010 00000093 00025000 00969500 00000097 ................
0x00000020 00010203 04050607 04050607 04050607 ................
0x00000030 08090a0b ffffffff .*