public inbox for binutils@sourceware.org
 help / color / mirror / Atom feed
* [PATCH 0/6] PE/COFF linking adjustments
@ 2021-03-02  9:46 Jan Beulich
  2021-03-02  9:47 ` [PATCH 1/6] ld: don't generate base relocations in PE output for absolute symbols Jan Beulich
                   ` (5 more replies)
  0 siblings, 6 replies; 30+ messages in thread
From: Jan Beulich @ 2021-03-02  9:46 UTC (permalink / raw)
  To: Binutils

As reported in [1] and [2] the 2.36 release has caused issues with
(at least) Xen Project's linking of EFI binaries from ELF object
files. This series, while consisting of largely independent changes,
tries to address aspects of these issues as well as further ones
(see e.g. [3]) found in the course of making things work (again and,
for some aspects, actually in the first place).

In particular the last two patches adding diagnostics will want to
be considered partly RFC, as I haven't checked them yet for fallout
on a sufficiently large set of targets. But before doing so I first
wanted to see whether the changes are deemed generally acceptable
at all.

Of course I'll happily take suggestions for all of these changes as
to addressing the issues at had in a better way.

1: ld: don't generate base relocations in PE output for absolute symbols
2: bfd: prune COFF/PE section flags setting
3: bfd: refine handling of relocations between debugging sections
4: ld: adjust ld-scripts/map-address.*
5: bfd: don't silently wrap or truncate PE image section RVAs
6: bfd: strip symbols not representable in COFF/PE symbol table

Jan

[1] https://sourceware.org/pipermail/binutils/2021-February/115220.html
[2] https://sourceware.org/pipermail/binutils/2021-February/115430.html
[3] https://sourceware.org/pipermail/binutils/2021-February/115433.html

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

end of thread, other threads:[~2021-03-09 12:49 UTC | newest]

Thread overview: 30+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2021-03-02  9:46 [PATCH 0/6] PE/COFF linking adjustments Jan Beulich
2021-03-02  9:47 ` [PATCH 1/6] ld: don't generate base relocations in PE output for absolute symbols Jan Beulich
2021-03-02 13:30   ` Jan Beulich
2021-03-04  4:46   ` Alan Modra
2021-03-04  8:52     ` Jan Beulich
2021-03-04 13:16       ` Alan Modra
2021-03-05 12:49         ` Alan Modra
2021-03-05 13:38           ` Jan Beulich
2021-03-05 13:59             ` Alan Modra
2021-03-02  9:47 ` [PATCH 2/6] bfd: prune COFF/PE section flags setting Jan Beulich
2021-03-04  4:47   ` Alan Modra
2021-03-02  9:48 ` [PATCH 3/6] bfd: refine handling of relocations between debugging sections Jan Beulich
2021-03-04  6:10   ` Alan Modra
2021-03-04  9:00     ` Jan Beulich
2021-03-05 12:00       ` Alan Modra
2021-03-08 14:17         ` Jan Beulich
2021-03-09  2:24           ` Alan Modra
2021-03-09  7:46             ` Jan Beulich
2021-03-09 11:23               ` Alan Modra
2021-03-09 12:49             ` Jan Beulich
2021-03-02  9:49 ` [PATCH 4/6] ld: adjust ld-scripts/map-address.* Jan Beulich
2021-03-04  6:10   ` Alan Modra
2021-03-02  9:49 ` [PATCH 5/6] bfd: don't silently wrap or truncate PE image section RVAs Jan Beulich
2021-03-04  6:13   ` Alan Modra
2021-03-02  9:50 ` [PATCH 6/6] bfd: strip symbols not representable in COFF/PE symbol table Jan Beulich
2021-03-04  6:15   ` Alan Modra
2021-03-04  9:06     ` Jan Beulich
2021-03-04 13:27       ` Alan Modra
2021-03-08 15:05       ` Jan Beulich
2021-03-08 16:11         ` Jan Beulich

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