[PATCH 2/2] PR ld/26288: Allow the use of `--just-symbols' with ET_EXEC input

Maciej W. Rozycki macro@wdc.com
Thu Jul 23 08:34:50 GMT 2020


On Thu, 23 Jul 2020, Maciej W. Rozycki wrote:

>  Additionally the tests fail with a couple of targets, which appear to be 
> genuine bugs in the handling of `--just-symbols', so I have let the 
> failures through for the respective maintainers to investigate:

 Ah, and also:

* tic30-unknown-coff:

regexp_diff match failure
regexp "^ [0-9a-f]+ (?:(:?12000000|00120000|00000012) 0{8}|0{8} 00000012) 0{8} 0{8} .*$"
line   " 0000 00000004 00000000 00000000 00000000  ................"
FAIL: Executable with --just-symbols test

which also appears genuine:

tmpdir/just-symbols-0:     file format coff-tic30

SYMBOL TABLE:
[  0](sec -2)(fl 0x00)(ty   0)(scl 103) (nx 1) 0x00000000 fake
File
[  2](sec  1)(fl 0x00)(ty   0)(scl   3) (nx 1) 0x00000000 .data
AUX scnlen 0x14 nreloc 0 nlnno 0
[  4](sec  1)(fl 0x00)(ty   0)(scl   2) (nx 0) 0x00000012 foo

tmpdir/just-symbols-1.o:     file format coff-tic30

RELOCATION RECORDS FOR [.data]:
OFFSET   TYPE              VALUE
00000000 32                foo

but maybe I don't know something about tic30.

  Maciej


More information about the Binutils mailing list