Patchwork AIX libgcc.map missing symbols

login
register
mail settings
Submitter David Edelsohn
Date Aug. 17, 2012, 2:28 a.m.
Message ID <CAGWvnykDNGGPmZWir22_6oJQv+s1MtXYAdiyEhZc1pwB965p0g@mail.gmail.com>
Download mbox | patch
Permalink /patch/178133/
State New
Headers show

Comments

David Edelsohn - Aug. 17, 2012, 2:28 a.m.
When libgcc was moved to its own directory, reorganized and
refactored, the tmakefile fragment for AIX was broken.  t-ibm-ldouble
must come after t-slibgcc-aix because t-ibm-ldouble appends to
SHLIB_MAPFILES Makefile variable and t-slibgcc-aix.  This omitted
ibm-ldouble support symbols from the libgcc.map and export file.

Bootstrapped and regression tested on powerpc-ibm-aix5.3.0.0.

Committed.

This also will be back-ported to GCC 4.7.

Thanks, David

        * config.host (*-*-aix*): Move rs6000/t-ibm-ldouble after
        rs6000/t-slibgcc-aix.

-       tmake_file="t-fdpbit rs6000/t-ppc64-fp rs6000/t-ibm-ldouble
rs6000/t-slibgcc-aix"
+       tmake_file="t-fdpbit rs6000/t-ppc64-fp rs6000/t-slibgcc-aix
rs6000/t-ibm-ldouble"
        ;;
 rl78-*-elf)
        tmake_file="$tm_file t-fdpbit rl78/t-rl78"

Patch

Index: config.host
===================================================================
--- config.host (revision 190464)
+++ config.host (working copy)
@@ -898,15 +898,15 @@ 
        ;;
 rs6000-ibm-aix4.[3456789]* | powerpc-ibm-aix4.[3456789]*)
        md_unwind_header=rs6000/aix-unwind.h
-       tmake_file="t-fdpbit rs6000/t-ppc64-fp rs6000/t-ibm-ldouble
rs6000/t-slibgcc-aix"
+       tmake_file="t-fdpbit rs6000/t-ppc64-fp rs6000/t-slibgcc-aix
rs6000/t-ibm-ldouble"
        ;;
 rs6000-ibm-aix5.1.* | powerpc-ibm-aix5.1.*)
        md_unwind_header=rs6000/aix-unwind.h
-       tmake_file="t-fdpbit rs6000/t-ppc64-fp rs6000/t-ibm-ldouble
rs6000/t-slibgcc-aix"
+       tmake_file="t-fdpbit rs6000/t-ppc64-fp rs6000/t-slibgcc-aix
rs6000/t-ibm-ldouble"
        ;;
 rs6000-ibm-aix[56789].* | powerpc-ibm-aix[56789].*)
        md_unwind_header=rs6000/aix-unwind.h