wok annotate gcc/stuff/gcc-4.5.2-startfiles_fix-1.patch @ rev 10458
xruskb: update bdeps
author | Pascal Bellard <pascal.bellard@slitaz.org> |
---|---|
date | Wed May 25 11:15:21 2011 +0200 (2011-05-25) |
parents | |
children |
rev | line source |
---|---|
gokhlayeh@8181 | 1 Submitted By: Jeremy Huntwork (jhuntwork AT linuxfromscratch DOT org) |
gokhlayeh@8181 | 2 Date: 2008-12-05 |
gokhlayeh@8181 | 3 Initial Package Version: 4.3.2 |
gokhlayeh@8181 | 4 Upstream Status: See below. |
gokhlayeh@8181 | 5 Origin: DIY Linux, See below. |
gokhlayeh@8181 | 6 Description: Original patch follows: |
gokhlayeh@8181 | 7 |
gokhlayeh@8181 | 8 # DIY Linux Patch |
gokhlayeh@8181 | 9 Date: 2008-09-09 |
gokhlayeh@8181 | 10 Author: Refer Origin. |
gokhlayeh@8181 | 11 Origin: Partial revert of http://gcc.gnu.org/ml/gcc-cvs/2006-11/msg00416.html |
gokhlayeh@8181 | 12 Maker: Greg Schafer <gschafer@zip.com.au> |
gokhlayeh@8181 | 13 Upstream Status: Not applicable. Tweak only for Temptools phase GCC-Pass2. |
gokhlayeh@8181 | 14 Description: Partially revert GCC driver to pre-GCC-4.3 state to allow startfiles to be |
gokhlayeh@8181 | 15 found in $prefix when GCC is configured for a non-standard prefix eg: /temptools. Full |
gokhlayeh@8181 | 16 background info in thread starting here: http://gcc.gnu.org/ml/gcc/2008-03/msg00095.html |
gokhlayeh@8181 | 17 and GCC bugzilla here: http://gcc.gnu.org/bugzilla/show_bug.cgi?id=35532 |
gokhlayeh@8181 | 18 |
gokhlayeh@8181 | 19 diff -Naur gcc-4.3.0-RC-20080222.orig/gcc/gcc.c gcc-4.3.0-RC-20080222/gcc/gcc.c |
gokhlayeh@8181 | 20 --- gcc-4.3.0-RC-20080222.orig/gcc/gcc.c 2008-01-24 18:57:12.000000000 +0000 |
gokhlayeh@8181 | 21 +++ gcc-4.3.0-RC-20080222/gcc/gcc.c 2008-03-02 06:07:36.000000000 +0000 |
gokhlayeh@8181 | 22 @@ -6370,6 +6370,11 @@ |
gokhlayeh@8181 | 23 machine_suffix, |
gokhlayeh@8181 | 24 standard_startfile_prefix, NULL), |
gokhlayeh@8181 | 25 NULL, PREFIX_PRIORITY_LAST, 0, 1); |
gokhlayeh@8181 | 26 + add_prefix (&startfile_prefixes, |
gokhlayeh@8181 | 27 + concat (standard_exec_prefix, |
gokhlayeh@8181 | 28 + machine_suffix, |
gokhlayeh@8181 | 29 + standard_startfile_prefix, NULL), |
gokhlayeh@8181 | 30 + NULL, PREFIX_PRIORITY_LAST, 0, 1); |
gokhlayeh@8181 | 31 } |
gokhlayeh@8181 | 32 |
gokhlayeh@8181 | 33 /* Sysrooted prefixes are relocated because target_system_root is |