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... :-(
yann@1
     1
Fixes undefined symbol _fp_hw required by the ABI:
yann@1
     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
yann@1
     3
    29: 00000000     4 NOTYPE  GLOBAL DEFAULT  UND _fp_hw 
yann@1
     4
Rumored to fix problems with icc, which gets upset at any symbol
yann@1
     5
which is undefined, even if nobody cares about it.
yann@1
     6
yann@1
     7
Revision 1.16, Thu Feb 22 19:57:34 2001 UTC (4 years, 2 months ago) by drepper
yann@1
     8
Branch: MAIN
yann@1
     9
CVS Tags: glibc-2_2_3
yann@1
    10
Changes since 1.15: +1 -1 lines
yann@1
    11
Diff to previous 1.15 (colored)
yann@1
    12
yann@1
    13
(_fp_hw): Actually define label.
yann@1
    14
yann@1
    15
===================================================================
yann@1
    16
RCS file: /cvs/glibc/libc/sysdeps/i386/elf/start.S,v
yann@1
    17
retrieving revision 1.15
yann@1
    18
retrieving revision 1.16
yann@1
    19
diff -u -r1.15 -r1.16
yann@1
    20
--- libc/sysdeps/i386/elf/start.S	2001/02/03 21:34:54	1.15
yann@1
    21
+++ libc/sysdeps/i386/elf/start.S	2001/02/22 19:57:34	1.16
yann@1
    22
@@ -85,7 +85,7 @@
yann@1
    23
    meaningless since we don't support machines < 80386.  */
yann@1
    24
 	.section .rodata
yann@1
    25
 	.globl _fp_hw
yann@1
    26
-	.long 3
yann@1
    27
+_fp_hw:	.long 3
yann@1
    28
 	.size _fp_hw, 4
yann@1
    29
 
yann@1
    30
 /* Define a symbol for the first piece of initialized data.  */