diff options
author | Elliott Hughes <enh@google.com> | 2014-07-08 19:22:57 -0700 |
---|---|---|
committer | Elliott Hughes <enh@google.com> | 2014-07-08 21:38:32 -0700 |
commit | 996524383f99cf513c181205cf61937faab85352 (patch) | |
tree | 96e6071474eda2e2e47f92b257271aaca3ca887f /linker/arch/x86_64 | |
parent | 006e0770ffaa57d88f407fad8d9b78ea0efa9c6a (diff) | |
download | bionic-996524383f99cf513c181205cf61937faab85352.zip bionic-996524383f99cf513c181205cf61937faab85352.tar.gz bionic-996524383f99cf513c181205cf61937faab85352.tar.bz2 |
Don't zero r1 on entry to the dynamic linker.
There's no need: __linker_init only takes one argument.
Also remove the arm __CTOR_LIST__; we use .init_array and .fini_array instead
of .ctor and .dtor anyway, and I don't think we've ever supported the latter.
Change-Id: Ifc91a5a90c6aa39d674bf0509a7af2e1ff0beddd
Diffstat (limited to 'linker/arch/x86_64')
-rw-r--r-- | linker/arch/x86_64/begin.S | 1 |
1 files changed, 0 insertions, 1 deletions
diff --git a/linker/arch/x86_64/begin.S b/linker/arch/x86_64/begin.S index aff4660..7945a31 100644 --- a/linker/arch/x86_64/begin.S +++ b/linker/arch/x86_64/begin.S @@ -29,7 +29,6 @@ #include <private/bionic_asm.h> ENTRY(_start) - /* Pass elfdata to __linker_init. */ mov %rsp, %rdi call __linker_init |