Age | Commit message (Collapse) | Author |
|
* normalized the signatures of the functions passed to each_file()
and each_full_file(). In most cases that meant adding a void *dummy.
In one case it changed an int to a void*, but the arg was only checked
for zero/not-zero so the change was not significant.
* removes unused code and structures.
* makes sure printf args match their format.
* got rid of some of the gcc -Wall warnings
OK deraadt@
|
|
Function arg types have not yet been fixed. OK fgs@, espie@
|
|
|
|
|
|
register variables. clean-up concept ok deraadt@
|
|
|
|
This reduces the memory requirements to build any recent big libtool
package, like kde.
Tested by miod, fries, naddy, and various.
|
|
valid lengths are 0 length malloc's.
tested by miod@, deraadt@ ok.
|
|
|
|
|
|
Otherwise, if a shared library uses an aliased symbol in another
library, the alias will only be partially resolved (everything setup...
except for the real symbol marked as referenced, so the relocation ends
up being zero and causes core-dumps on runtimes).
Caused quite a few crashes: Xfree's 4 GL (linked with libc_r) or
kerberosV exhibited the problem...
|
|
each time.
|
|
This is needed for a -fPIC libgcc.
|
|
|
|
collect2: ld terminated with signal 11 [Segmentation fault]
|
|
This fixes an important bug: libc now uses weak symbols a lot.
Without this patch, dynamic linking with libraries that reference libc
would mean those symbols would not be resolved, as weak symbols are good
enough for linking, but 2nd hand libraries symbols are not.
Not 100% sure this won't trigger problems later (nothing yet), but this
fixes the immediate problem.
Approved by niklas@ and millert@
|
|
everything to fit into pic mode.
More extensive changes (like tagging relocs with pic/PIC, sorting, and
putting pic nearest the beginning of the GOT) would be needed for full
handling pic relocs with a sizeable number of PIC relocs.
|
|
|
|
|
|
--whole-archive, --no-whole-archive for compatibility with ELF ports and
to aid migration to bintils. Update manpage with new options; jonathan
|
|
|
|
|
|
shared objects are being built.
|
|
|
|
|
|
|
|
Simplify update of r_addend field in relocation record if `-r' is on.
The old quirky code did strange things.
|
|
|