HomeFreeBSD

libc: Access _logname_valid more efficiently.

Description

libc: Access _logname_valid more efficiently.

The variable _logname_valid is not exported via the version script;
therefore, change C and i386/amd64 assembler code to remove indirection
(which allowed interposition). This makes the code slightly smaller and
faster.

Also, remove #define PIC_GOT from i386/amd64 in !PIC mode. Without PIC,
there is no place containing the address of each variable, so there is no
possible definition for PIC_GOT.

Details

Provenance
jillesAuthored on Aug 17 2013, 7:24 PM
Parents
rGa678ca234fef: - Remove struct ifinfo *iflist. It is no longer used.
Branches
Unknown
Tags
Unknown

Event Timeline