Evolution of ELF symbol management

Florian Weimer fweimer@redhat.com
Tue Nov 22 15:39:00 GMT 2016


On 11/22/2016 04:29 PM, Andreas Schwab wrote:
> On Nov 22 2016, Florian Weimer <fweimer@redhat.com> wrote:
>
>> There also configure scripts which do
>>
>> extern char whatever();
>> main () { whatever(); }
>>
>> for link testing, without including the appropriate header (perhaps
>> deliberately).  That could be considered broken.  I'm not sure.
>
> While getting the return type wrong makes it slightly broken, the C
> standard does support declaring standard functions on your own, as long
> as you don't need special types.

Yes, that's true.  Thanks for the reminder.

Florian



More information about the Libc-alpha mailing list