Evolution of ELF symbol management
Andreas Schwab
schwab@suse.de
Tue Nov 22 15:30:00 GMT 2016
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.
Andreas.
--
Andreas Schwab, SUSE Labs, schwab@suse.de
GPG Key fingerprint = 0196 BAD8 1CE9 1970 F4BE 1748 E4D4 88E3 0EEA B9D7
"And now for something completely different."
More information about the Libc-alpha
mailing list