about summary refs log tree commit diff
path: root/libio/libio-macros.sym
Commit message (Collapse)AuthorAgeFilesLines
* libio: Remove the usage of __libc_IO_vtablesAdhemerval Zanella Netto2023-03-271-0/+7
Instead of using a special ELF section along with a linker script directive to put the IO vtables within the RELRO section, the libio vtables are all moved to an array marked as data.relro (so linker will place in the RELRO segment without the need of extra directives). To avoid static linking namespace issues and including all vtable referenced objects, all required function pointers are set to weak alias. Checked on x86_64-linux-gnu, i686-linux-gnu, and aarch64-linux-gnu. Reviewed-by: Carlos O'Donell <carlos@redhat.com>