[PATCH] Reduce the statically linked startup code [BZ #23323]
Florian Weimer
fweimer@redhat.com
Wed Aug 8 16:11:00 GMT 2018
On 08/08/2018 05:56 PM, Szabolcs Nagy wrote:
> On 08/08/18 15:48, Florian Weimer wrote:
>> This is the patch rebased for glibc 2.29.
>>
>> Should we make more far-reaching changes and remove the arguments
>> which are now zero?
>>
>
> there might be code that calls __libc_start_main directly
> (e.g. the cgo runtime ?), if removing args breaks something
> then i'd keep them (i don't know if it does).
If that's a concern, we should rename the symbol as well.
I think cgo mentions it only in the documentation, quoting Go code which
has been auto-generated from the underlying executable link.
Thanks,
Florian
More information about the Libc-alpha
mailing list