Link alias symbols together
commita28b18fa16edaeb6bc7d34cf1ddac690b27ba610
authorThomas Preud'homme <thomas.preudhomme@celest.fr>
Sun, 25 Apr 2010 22:46:39 +0000 (26 00:46 +0200)
committerThomas Preud'homme <thomas.preudhomme@celest.fr>
Sat, 1 May 2010 14:45:36 +0000 (1 16:45 +0200)
tree909b72cbe83ba6cc163d38afbba2c1f063d91810
parent036ff17916586febc968b964ee416e1d4d1da70f
Link alias symbols together

Make sure alias symbols resolve to the same address in program .bss or .data
section. This ensure for example that if a program reference environ (via an
extern char **environ declaration) and the libc change its value via the
__environ alias after the R_ARCH_COPY relocation have been performed, then
the program will see the new value.
tccelf.c