Source-Changes-HG archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
[src/trunk]: src/lib/libc/arch/x86_64/gen Instead of using a PICGOT relocatio...
details: https://anonhg.NetBSD.org/src/rev/dbfbac79ea3a
branches: trunk
changeset: 769975:dbfbac79ea3a
user: christos <christos%NetBSD.org@localhost>
date: Wed Sep 28 15:11:42 2011 +0000
description:
Instead of using a PICGOT relocation for map, use just a pc-relative one
since it is guaranteed to be close enough. Fixes issue with binutils-2.21.1a
(probably a bug).
diffstat:
lib/libc/arch/x86_64/gen/flt_rounds.S | 4 ++--
1 files changed, 2 insertions(+), 2 deletions(-)
diffs (18 lines):
diff -r a3f0b7a474a2 -r dbfbac79ea3a lib/libc/arch/x86_64/gen/flt_rounds.S
--- a/lib/libc/arch/x86_64/gen/flt_rounds.S Wed Sep 28 14:26:27 2011 +0000
+++ b/lib/libc/arch/x86_64/gen/flt_rounds.S Wed Sep 28 15:11:42 2011 +0000
@@ -1,4 +1,4 @@
-/* $NetBSD: flt_rounds.S,v 1.2 2002/06/06 23:04:35 fvdl Exp $ */
+/* $NetBSD: flt_rounds.S,v 1.3 2011/09/28 15:11:42 christos Exp $ */
/*
* Written by J.T. Conklin, Apr 4, 1995
@@ -21,7 +21,7 @@
shrl $10,%eax
andl $3,%eax
#ifdef PIC
- leaq PIC_GOT(_map),%rcx
+ leaq _map(%rip),%rcx
movb (%rcx,%rax,1),%al
#else
movb _map(,%rax,1),%al
Home |
Main Index |
Thread Index |
Old Index