diff options
author | Vineet Gupta <Vineet.Gupta1@synopsys.com> | 2015-10-21 12:42:25 +0530 |
---|---|---|
committer | Waldemar Brodkorb <wbx@uclibc-ng.org> | 2015-10-22 04:03:36 +0200 |
commit | 9860910d1706011a561c9a9075b0ab76af098588 (patch) | |
tree | 4eabc78580f233dd943d77176212e150369e5160 /ldso | |
parent | da25b583ece753e46f6af1342986e189099dc679 (diff) |
ARC: With NPTL support, GP is no longer used for PIC
Signed-off-by: Vineet Gupta <vgupta@synopsys.com>
Diffstat (limited to 'ldso')
-rw-r--r-- | ldso/ldso/arc/dl-sysdep.h | 6 |
1 files changed, 0 insertions, 6 deletions
diff --git a/ldso/ldso/arc/dl-sysdep.h b/ldso/ldso/arc/dl-sysdep.h index ca62a2c04..b6bda9d14 100644 --- a/ldso/ldso/arc/dl-sysdep.h +++ b/ldso/ldso/arc/dl-sysdep.h @@ -127,12 +127,6 @@ static __always_inline Elf32_Addr elf_machine_dynamic(void) __asm__("ld %0,[pcl,_DYNAMIC@gotpc]\n\t" : "=r" (dyn)); return dyn; - -/* - * Another way would have been to simply return GP, which due to some - * PIC reference would be automatically setup by gcc in caller - * register Elf32_Addr *got __asm__ ("gp"); return *got; - */ } /* Return the run-time load address of the shared object. */ |