[RFC] Proposal for new ELF extension - "Symbol meta-information"

Florian Weimer fweimer@redhat.com
Mon Aug 31 12:23:57 GMT 2020


* Jozef Lawrynowicz:

> I wonder if it is appropriate for inclusion in the GNU gABI or if we
> should just add it to a processor-specific ABI. However, it is being
> used downstream for MSP430 and ARM targets, in GCC and Clang/LLVM
> respectively. So we'd like to have it standardized somewhere generic
> so that different targets and toolchains can align on it.

Is there an expectation to upstream these changes?  In the present state
there does not seem to be need for such coordination.

>     3.3.3 SMT_PRINTF_FMT use case

Can this achieved in C++ with a library-only solution?  So that

  printf ("%s", str);

and

  printf ("%f", num);

resolve to different printf symbols externally?

Thanks,
Florian



More information about the Gnu-gabi mailing list