[PATCH] Introduce <elf-initfini.h> and ELF_INITFINI for all architectures
Florian Weimer
fweimer@redhat.com
Mon Feb 24 12:31:00 GMT 2020
* Andreas Schwab:
> On Feb 21 2020, Florian Weimer wrote:
>
>> What I don't know is whether this binutils bug has resulted in DT_INIT
>> being used *elsewhere*. I don't have a RISC-V distribution to analyze,
>> so I really don't know. Fedora RISC-V seems dead, this hasn't been
>> updated in a while:
>>
>> <https://dl.fedoraproject.org/pub/alt/risc-v/repo/fedora/rawhide/latest/riscv64/>
>>
>> (I have existing tools for RPM-based distributions, so having one would
>> be most useful to me to check for DT_INIT references.)
>
> You can take a look here:
>
> https://download.opensuse.org/ports/riscv/tumbleweed/repo/oss/
Nice, I could just point my tool at it and it got some data (despite not
having ported it to openSUSE or riscv64 at all):
nevra | name
----------------------------------+--------------------------------------
authbind-2.1.2-2.1.riscv64 | /usr/lib/authbind/libauthbind.so.1.0
glibc-2.31-2.1.riscv64 | /lib64/libc-2.31.so
jamin-0.95.0-259.1.riscv64 | /usr/lib64/ladspa/jamincont_1912.so
ladspa-caps-0.4.4-4.2.riscv64 | /usr/lib64/ladspa/caps.so
ladspa-pvoc-0.1.12-3.2.riscv64 | /usr/lib64/ladspa/pvoc.so
libnuma1-2.0.13-1.1.riscv64 | /usr/lib64/libnuma.so.1.0.0
segv_handler-0.0.1-161.2.riscv64 | /usr/lib64/segv_handler.so
vde2-2.3.2+svn587-3.2.riscv64 | /usr/lib64/vde2/libvdetap.so
(8 rows)
This still looks rather manageable to me, so perhaps we can go ahead
with the removal of DT_INIT support on riscv64.
Thanks,
Florian
More information about the Libc-alpha
mailing list