Module Name: src Committed By: christos Date: Wed Sep 28 15:11:42 UTC 2011
Modified Files: src/lib/libc/arch/x86_64/gen: flt_rounds.S Log Message: 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). To generate a diff of this commit: cvs rdiff -u -r1.2 -r1.3 src/lib/libc/arch/x86_64/gen/flt_rounds.S Please note that diffs are not public domain; they are subject to the copyright notices on the relevant files.
Modified files: Index: src/lib/libc/arch/x86_64/gen/flt_rounds.S diff -u src/lib/libc/arch/x86_64/gen/flt_rounds.S:1.2 src/lib/libc/arch/x86_64/gen/flt_rounds.S:1.3 --- src/lib/libc/arch/x86_64/gen/flt_rounds.S:1.2 Thu Jun 6 19:04:35 2002 +++ src/lib/libc/arch/x86_64/gen/flt_rounds.S Wed Sep 28 11:11:42 2011 @@ -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 @@ ENTRY(__flt_rounds) 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