patches/glibc/2.1.3/glibc-2.2.2-export_fp_hw.patch
author "Yann E. MORIN" <yann.morin.1998@anciens.enib.fr>
Sat Feb 24 11:00:05 2007 +0000 (2007-02-24)
changeset 1 eeea35fbf182
permissions -rw-r--r--
Add the full crosstool-NG sources to the new repository of its own.
You might just say: 'Yeah! crosstool-NG's got its own repo!".
Unfortunately, that's because the previous repo got damaged beyond repair and I had no backup.
That means I'm putting backups in place in the afternoon.
That also means we've lost history... :-(
     1 Fixes undefined symbol _fp_hw required by the ABI:
     2 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
     3     29: 00000000     4 NOTYPE  GLOBAL DEFAULT  UND _fp_hw 
     4 Rumored to fix problems with icc, which gets upset at any symbol
     5 which is undefined, even if nobody cares about it.
     6 
     7 Revision 1.16, Thu Feb 22 19:57:34 2001 UTC (4 years, 2 months ago) by drepper
     8 Branch: MAIN
     9 CVS Tags: glibc-2_2_3
    10 Changes since 1.15: +1 -1 lines
    11 Diff to previous 1.15 (colored)
    12 
    13 (_fp_hw): Actually define label.
    14 
    15 ===================================================================
    16 RCS file: /cvs/glibc/libc/sysdeps/i386/elf/start.S,v
    17 retrieving revision 1.15
    18 retrieving revision 1.16
    19 diff -u -r1.15 -r1.16
    20 --- libc/sysdeps/i386/elf/start.S	2001/02/03 21:34:54	1.15
    21 +++ libc/sysdeps/i386/elf/start.S	2001/02/22 19:57:34	1.16
    22 @@ -85,7 +85,7 @@
    23     meaningless since we don't support machines < 80386.  */
    24  	.section .rodata
    25  	.globl _fp_hw
    26 -	.long 3
    27 +_fp_hw:	.long 3
    28  	.size _fp_hw, 4
    29  
    30  /* Define a symbol for the first piece of initialized data.  */