public inbox for binutils@sourceware.org
 help / color / mirror / Atom feed
* non-conformant ELF symbol table on MIPS?
@ 2023-07-27 14:27 Jan Beulich
  2023-07-27 19:04 ` Ian Lance Taylor
  2023-07-27 19:28 ` Maciej W. Rozycki
  0 siblings, 2 replies; 11+ messages in thread
From: Jan Beulich @ 2023-07-27 14:27 UTC (permalink / raw)
  To: Maciej W. Rozycki, Chenghua Xu; +Cc: Binutils

Hello,

extending the gas elf/common3.s testcase (in the context of trying to fix
PR gas/30688) to

	.comm foobar,30,4
	.comm buf1, 5-1, 8
	.comm buf2, 4, 9-1
	.lcomm lbuf, 9-1

I notice a violation of the ELF spec on most (all?) MIPS targets I would
routinely test for common code changes: "lbuf" is emitted last in the
symbol table. The spec is quite clear: "In each symbol table, all
symbols with STB_LOCAL binding precede the weak and global symbols." I
guess I want/need to xfail that test for mips*-*-* for the time being,
but it would be nice if you could shed some light on this behavior.

Thanks, Jan

^ permalink raw reply	[flat|nested] 11+ messages in thread

end of thread, other threads:[~2023-07-28 23:58 UTC | newest]

Thread overview: 11+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2023-07-27 14:27 non-conformant ELF symbol table on MIPS? Jan Beulich
2023-07-27 19:04 ` Ian Lance Taylor
2023-07-27 19:39   ` Maciej W. Rozycki
2023-07-28  6:16   ` Jan Beulich
2023-07-28 17:11     ` Ian Lance Taylor
2023-07-28 23:58       ` Alan Modra
2023-07-27 19:28 ` Maciej W. Rozycki
2023-07-28  6:13   ` Jan Beulich
2023-07-28  7:18     ` Jan Beulich
2023-07-28  6:18   ` Jan Beulich
2023-07-28  6:56     ` Maciej W. Rozycki

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).