On Wed, Jun 05, 2024 at 11:30 AM +1000, "Nicholas Piggin" <npiggin@xxxxxxxxx> wrote: > On Tue Jun 4, 2024 at 9:59 PM AEST, Marc Hartmayer wrote: >> The first patch is useful anyway, the third could be dropped to be consistent >> with the other architectures. > > Interesting. Is this the reason for the warning on all the other > archs? Could be, but the .eh_frame and .eh_frame_hdr sections are sometimes required, e.g for __builtin_return_address(n),…. Another fix would be to specify the sections in the linker scripts explicitly - but I’ve to ask whether this has other side effects… > Maybe they should all use the same options and all remove the explicit > PHDR specification? > > Thanks, > Nick > -- Kind regards / Beste Grüße Marc Hartmayer IBM Deutschland Research & Development GmbH Vorsitzender des Aufsichtsrats: Wolfgang Wendt Geschäftsführung: David Faller Sitz der Gesellschaft: Böblingen Registergericht: Amtsgericht Stuttgart, HRB 243294