patches/glibc/2.2.2/glibc-2.2.2-export_fp_hw.patch
changeset 1 eeea35fbf182
     1.1 --- /dev/null	Thu Jan 01 00:00:00 1970 +0000
     1.2 +++ b/patches/glibc/2.2.2/glibc-2.2.2-export_fp_hw.patch	Sat Feb 24 11:00:05 2007 +0000
     1.3 @@ -0,0 +1,30 @@
     1.4 +Fixes undefined symbol _fp_hw required by the ABI:
     1.5 +readelf -s /opt/crosstool/i686-pc-linux-gnu/i686-unknown-linux-gnu/gcc-3.4.3-glibc-2.2.2/i686-unknown-linux-gnu/lib/crt1.o | grep fp_hw
     1.6 +    29: 00000000     4 NOTYPE  GLOBAL DEFAULT  UND _fp_hw 
     1.7 +Rumored to fix problems with icc, which gets upset at any symbol
     1.8 +which is undefined, even if nobody cares about it.
     1.9 +
    1.10 +Revision 1.16, Thu Feb 22 19:57:34 2001 UTC (4 years, 2 months ago) by drepper
    1.11 +Branch: MAIN
    1.12 +CVS Tags: glibc-2_2_3
    1.13 +Changes since 1.15: +1 -1 lines
    1.14 +Diff to previous 1.15 (colored)
    1.15 +
    1.16 +(_fp_hw): Actually define label.
    1.17 +
    1.18 +===================================================================
    1.19 +RCS file: /cvs/glibc/libc/sysdeps/i386/elf/start.S,v
    1.20 +retrieving revision 1.15
    1.21 +retrieving revision 1.16
    1.22 +diff -u -r1.15 -r1.16
    1.23 +--- libc/sysdeps/i386/elf/start.S	2001/02/03 21:34:54	1.15
    1.24 ++++ libc/sysdeps/i386/elf/start.S	2001/02/22 19:57:34	1.16
    1.25 +@@ -85,7 +85,7 @@
    1.26 +    meaningless since we don't support machines < 80386.  */
    1.27 + 	.section .rodata
    1.28 + 	.globl _fp_hw
    1.29 +-	.long 3
    1.30 ++_fp_hw:	.long 3
    1.31 + 	.size _fp_hw, 4
    1.32 + 
    1.33 + /* Define a symbol for the first piece of initialized data.  */