Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
View | Details | Raw Unified | Return to bug 288080 | Differences between
and this patch

Collapse All | Expand All

(-)wine-1.1.30.orig/tools/winegcc/winegcc.c (+3 lines)
Lines 891-902 Link Here
891
        break;
891
        break;
892
    case PLATFORM_SOLARIS:
892
    case PLATFORM_SOLARIS:
893
        {
893
        {
894
	/**
895
	 * This seems to be for solaris ld, but breaks things wit gun ld on solaris
894
            char *mapfile = get_temp_file( output_name, ".map" );
896
            char *mapfile = get_temp_file( output_name, ".map" );
895
            const char *align = opts->section_align ? opts->section_align : "0x1000";
897
            const char *align = opts->section_align ? opts->section_align : "0x1000";
896
898
897
            create_file( mapfile, 0644, "text = A%s;\ndata = A%s;\n", align, align );
899
            create_file( mapfile, 0644, "text = A%s;\ndata = A%s;\n", align, align );
898
            strarray_add(link_args, strmake("-Wl,-M,%s", mapfile));
900
            strarray_add(link_args, strmake("-Wl,-M,%s", mapfile));
899
            strarray_add(tmp_files, mapfile);
901
            strarray_add(tmp_files, mapfile);
902
	**/
900
        }
903
        }
901
        break;
904
        break;
902
    default:
905
    default:

Return to bug 288080