public inbox for binutils@sourceware.org
 help / color / mirror / Atom feed
* [PATCH 00/22] ELF: correct handling of simplified section directives
@ 2023-12-15 11:59 Jan Beulich
  2023-12-15 12:06 ` [PATCH 01/22] Arm: drop .bss override Jan Beulich
                   ` (22 more replies)
  0 siblings, 23 replies; 27+ messages in thread
From: Jan Beulich @ 2023-12-15 11:59 UTC (permalink / raw)
  To: Binutils; +Cc: Nick Clifton, Alan Modra

Various targets override .bss (many), .text, or .data (a few) handling,
and sadly more often than not these overrides break things: In some
cases .previous doesn't work as intended, while in other cases the
sub-section specifier that ELF allows also for .bss for isn't recognized.
Fix this (first primarily for .bss, then for .text/.data), putting in
place tests to cover these pretty universal ELF aspects.

Speaking of "universal ELF aspects": Three targets (csky, mcore, and
spu) handle .bss much like .lcomm. There surely are reasons for this,
but it feels at best odd.

01: Arm: drop .bss override
02: Arm64: drop .bss override
03: RISC-V: drop .bss override
04: IA64: drop .bss override
05: bfin: drop .bss override
06: m32c: drop .bss override
07: m68k: drop .bss override
08: microblaze: drop/restrict override of .text, .data, and .bss
09: rl78: drop .bss override
10: rx: drop .bss override
11: s390: drop .bss override
12: score: drop .bss override
13: visium: drop .bss and .skip overrides
14: z80: drop .bss override
15: ELF: test certain .bss usages
16: v850: drop .bss override
17: gas: correct .bss documentation for non-ELF
18: d30v: fix .text/.data interaction with .previous
19: hppa/ELF: fix .text/.data interaction with .previous
20: nios2: fix .text/.data interaction with .previous
21: pru: fix .text/.data interaction with .previous
22: ELF: test certain .text/.data usages

Jan

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

end of thread, other threads:[~2024-01-02  0:40 UTC | newest]

Thread overview: 27+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2023-12-15 11:59 [PATCH 00/22] ELF: correct handling of simplified section directives Jan Beulich
2023-12-15 12:06 ` [PATCH 01/22] Arm: drop .bss override Jan Beulich
2023-12-15 12:06 ` [PATCH 02/22] Arm64: " Jan Beulich
2023-12-15 12:07 ` [PATCH 03/22] RISC-V: " Jan Beulich
2023-12-21  6:44   ` Nelson Chu
2023-12-15 12:08 ` [PATCH 04/22] IA64: " Jan Beulich
2023-12-15 12:09 ` [PATCH 05/22] bfin: " Jan Beulich
2023-12-15 12:10 ` [PATCH 06/22] m32c: " Jan Beulich
2023-12-15 12:10 ` [PATCH 07/22] m68k: " Jan Beulich
2023-12-15 12:11 ` [PATCH 08/22] microblaze: drop/restrict override of .text, .data, and .bss Jan Beulich
2023-12-15 12:12 ` [PATCH 09/22] rl78: drop .bss override Jan Beulich
2023-12-15 12:12 ` [PATCH 10/22] rx: " Jan Beulich
2023-12-15 12:13 ` [PATCH 11/22] s390: " Jan Beulich
2023-12-15 12:14 ` [PATCH 12/22] score: " Jan Beulich
2023-12-15 12:15 ` [PATCH 13/22] visium: drop .bss and .skip overrides Jan Beulich
2023-12-15 12:16 ` [PATCH 14/22] z80: drop .bss override Jan Beulich
2023-12-15 12:16 ` [PATCH 15/22] ELF: test certain .bss usages Jan Beulich
2023-12-15 12:16 ` [PATCH 16/22] gas: correct .bss documentation for non-ELF Jan Beulich
2023-12-15 12:17 ` [PATCH 17/22] v850: drop .bss override Jan Beulich
2023-12-15 12:18 ` [PATCH 18/22] d30v: fix .text/.data interaction with .previous Jan Beulich
2023-12-15 12:19 ` [PATCH 19/22] hppa/ELF: " Jan Beulich
2023-12-15 16:37   ` John David Anglin
2023-12-15 12:19 ` [PATCH 20/22] nios2: " Jan Beulich
2023-12-15 19:00   ` Sandra Loosemore
2023-12-15 12:20 ` [PATCH 21/22] pru: " Jan Beulich
2023-12-15 12:20 ` [PATCH 22/22] ELF: test certain .text/.data usages Jan Beulich
2024-01-02  0:40 ` [PATCH 00/22] ELF: correct handling of simplified section directives Alan Modra

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).