Minor linker cleanup, primarily to use Elf32_Dyn

Change-Id: Ifa9408e9859c6f79444715bed4808b7c13fdced5
This commit is contained in:
Brian Carlstrom
2013-02-28 15:58:45 -08:00
parent d392e044c7
commit d4ee82dfa3
6 changed files with 188 additions and 176 deletions

View File

@@ -174,7 +174,7 @@ static bool haveSiginfo(int signum) {
* Catches fatal signals so we can ask debuggerd to ptrace us before
* we crash.
*/
void debugger_signal_handler(int n, siginfo_t* info, void*) {
void debuggerd_signal_handler(int n, siginfo_t* info, void*) {
/*
* It's possible somebody cleared the SA_SIGINFO flag, which would mean
* our "info" arg holds an undefined value.
@@ -245,10 +245,10 @@ void debugger_signal_handler(int n, siginfo_t* info, void*) {
}
}
void debugger_init() {
void debuggerd_init() {
struct sigaction act;
memset(&act, 0, sizeof(act));
act.sa_sigaction = debugger_signal_handler;
act.sa_sigaction = debuggerd_signal_handler;
act.sa_flags = SA_RESTART | SA_SIGINFO;
sigemptyset(&act.sa_mask);