csu: Move calling main out of __libc_start_main_impl
authorFlorian Weimer <fweimer@redhat.com>
Wed, 21 Apr 2021 17:49:50 +0000 (19:49 +0200)
committerFlorian Weimer <fweimer@redhat.com>
Wed, 21 Apr 2021 17:49:50 +0000 (19:49 +0200)
commit130fca173f323a24b41873b6656ab77c7cff86e1
tree8262f34380073e5c409b02af00ffb93a603829e2
parent1d95b035c721908d3bcbbca9e8d3a5e55a24c09e
csu: Move calling main out of __libc_start_main_impl

This code depends on whether glibc has unwinding support for
a particular port.

Reviewed-by: Adhemerval Zanella <adhemerval.zanella@linaro.org>
csu/libc-start.c
sysdeps/generic/libc_start_call_main.h [new file with mode: 0644]
sysdeps/nptl/libc_start_call_main.h [new file with mode: 0644]