Age | Commit message (Collapse) | Author | |
---|---|---|---|
2022-07-26 | Added support for creation of Static Position-Independent Executables (PIE) ↵ | linted | |
on i386, x86_64, and arm. This patch adds the generation of rcrt1.o which is used by gcc when compiling with the --static-pie flag. rcrt1.o differs from crt1.o and Scrt1.o in that it the executable has a dynamic section but no relocations have been performed prior to _start being called. crt1.o assumes there to be no dynamic relocations, and Scrt1.o has all relocations performed prior to execution by lsdo. The new reloc_static_pie function handles parsing the dynamic section, and performing the relocations in a architecture agnostic method. It also sets _dl_load_base which is used when initalizing TLS to ensure loading from the proper location. This allows for easier porting of static-pie support to additional architectures as only modifications to crt1.S to find the load address are required. Signed-off-by: linted <linted@users.noreply.github.com> | |||
2014-09-16 | buildsys: fix IS_IN_lib* | Bernhard Reutner-Fischer | |
define NOT_IN_libc / IS_IN_libxxx appropriately to fix pthread_once Signed-off-by: Bernhard Reutner-Fischer <rep.dot.nop@gmail.com> | |||
2012-11-18 | Replace FSF snail mail address with URLs | Mike Frysinger | |
This matches a similar change made to glibc. No functional changes here. Signed-off-by: Mike Frysinger <vapier@gentoo.org> | |||
2005-07-14 | import the rest of the glibc start.S so PIE works | Mike Frysinger | |
2005-07-09 | setting envp is pointless since no other arch does it | Mike Frysinger | |
2005-07-06 | use % as the function marker instead of @ | Mike Frysinger | |
2005-07-01 | tweak whitespace/syntax | Mike Frysinger | |
2005-06-29 | rename crt0.S to crt1.S and clean up so it actually works :) | Mike Frysinger | |