head 1.5; access; symbols pkgsrc-2013Q2:1.5.0.6 pkgsrc-2013Q2-base:1.5 pkgsrc-2012Q4:1.5.0.4 pkgsrc-2012Q4-base:1.5 pkgsrc-2011Q4:1.5.0.2 pkgsrc-2011Q4-base:1.5 pkgsrc-2011Q3:1.4.0.46 pkgsrc-2011Q3-base:1.4 pkgsrc-2011Q2:1.4.0.44 pkgsrc-2011Q2-base:1.4 pkgsrc-2011Q1:1.4.0.42 pkgsrc-2011Q1-base:1.4 pkgsrc-2010Q4:1.4.0.40 pkgsrc-2010Q4-base:1.4 pkgsrc-2010Q3:1.4.0.38 pkgsrc-2010Q3-base:1.4 pkgsrc-2010Q2:1.4.0.36 pkgsrc-2010Q2-base:1.4 pkgsrc-2010Q1:1.4.0.34 pkgsrc-2010Q1-base:1.4 pkgsrc-2009Q4:1.4.0.32 pkgsrc-2009Q4-base:1.4 pkgsrc-2009Q3:1.4.0.30 pkgsrc-2009Q3-base:1.4 pkgsrc-2009Q2:1.4.0.28 pkgsrc-2009Q2-base:1.4 pkgsrc-2009Q1:1.4.0.26 pkgsrc-2009Q1-base:1.4 pkgsrc-2008Q4:1.4.0.24 pkgsrc-2008Q4-base:1.4 pkgsrc-2008Q3:1.4.0.22 pkgsrc-2008Q3-base:1.4 cube-native-xorg:1.4.0.20 cube-native-xorg-base:1.4 pkgsrc-2008Q2:1.4.0.18 pkgsrc-2008Q2-base:1.4 cwrapper:1.4.0.16 pkgsrc-2008Q1:1.4.0.14 pkgsrc-2008Q1-base:1.4 pkgsrc-2007Q4:1.4.0.12 pkgsrc-2007Q4-base:1.4 pkgsrc-2007Q3:1.4.0.10 pkgsrc-2007Q3-base:1.4 pkgsrc-2007Q2:1.4.0.8 pkgsrc-2007Q2-base:1.4 pkgsrc-2007Q1:1.4.0.6 pkgsrc-2007Q1-base:1.4 pkgsrc-2006Q4:1.4.0.4 pkgsrc-2006Q4-base:1.4 pkgsrc-2006Q3:1.4.0.2 pkgsrc-2006Q3-base:1.4 pkgsrc-2006Q2:1.3.0.20 pkgsrc-2006Q2-base:1.3 pkgsrc-2006Q1:1.3.0.18 pkgsrc-2006Q1-base:1.3 pkgsrc-2005Q4:1.3.0.16 pkgsrc-2005Q4-base:1.3 pkgsrc-2005Q3:1.3.0.14 pkgsrc-2005Q3-base:1.3 pkgsrc-2005Q2:1.3.0.12 pkgsrc-2005Q2-base:1.3 pkgsrc-2005Q1:1.3.0.10 pkgsrc-2005Q1-base:1.3 pkgsrc-2004Q4:1.3.0.8 pkgsrc-2004Q4-base:1.3 pkgsrc-2004Q3:1.3.0.6 pkgsrc-2004Q3-base:1.3 pkgsrc-2004Q2:1.3.0.4 pkgsrc-2004Q2-base:1.3 pkgsrc-2004Q1:1.3.0.2 pkgsrc-2004Q1-base:1.3 pkgsrc-2003Q4:1.2.0.2 pkgsrc-2003Q4-base:1.2 netbsd-1-6-1:1.1.0.2 netbsd-1-6-1-base:1.1; locks; strict; comment @# @; 1.5 date 2011.12.20.02.36.54; author dholland; state dead; branches; next 1.4; 1.4 date 2006.07.03.04.23.38; author kent; state Exp; branches; next 1.3; 1.3 date 2004.03.09.12.19.12; author kent; state Exp; branches; next 1.2; 1.2 date 2003.04.27.13.50.10; author kent; state Exp; branches; next 1.1; 1.1 date 2002.08.21.12.42.46; author kent; state Exp; branches; next ; desc @@ 1.5 log @Garbage-collect cross/i386-netbsdpe. The corresponding code in base that this was meant to support never amounted to much and was removed some time back. The package is also severely outdated and no longer buildable. @ text @$NetBSD: binutils-af,v 1.4 2006/07/03 04:23:38 kent Exp $ --- binutils/dlltool.c.orig 2005-10-05 07:07:08.000000000 +0900 +++ binutils/dlltool.c @@@@ -1363,6 +1363,8 @@@@ match_exclude (const char *string) for (excl_item = excludes; excl_item; excl_item = excl_item->next) if (strcmp (string, excl_item->string) == 0) return TRUE; + if (string[0] != '_') + return TRUE; return FALSE; } @@@@ -2169,6 +2171,7 @@@@ make_one_lib_file (export_type *exp, int asymbol * exp_label; asymbol * iname = 0; asymbol * iname2; + asymbol * iname_nm = 0; asymbol * iname_lab; asymbol ** iname_lab_pp; asymbol ** iname_pp; @@@@ -2180,7 +2183,7 @@@@ make_one_lib_file (export_type *exp, int #ifndef EXTRA #define EXTRA 0 #endif - asymbol * ptrs[NSECS + 4 + EXTRA + 1]; + asymbol * ptrs[NSECS + 5 + EXTRA + 1]; flagword applicable; char * outname = xmalloc (strlen (TMP_STUB) + 10); int oidx = 0; @@@@ -2278,6 +2281,15 @@@@ make_one_lib_file (export_type *exp, int iname2->flags = BSF_GLOBAL; iname2->value = 0; + if (exp->data) + { + iname_nm = bfd_make_empty_symbol (abfd); + iname_nm->name = make_imp_label ("__nm_", exp->name); + iname_nm->section = secdata[IDATA6].sec; + iname_nm->flags = BSF_GLOBAL; + iname_nm->value = 0; + } + iname_lab = bfd_make_empty_symbol (abfd); iname_lab->name = head_label; @@@@ -2289,6 +2301,8 @@@@ make_one_lib_file (export_type *exp, int if (create_compat_implib) ptrs[oidx++] = iname; ptrs[oidx++] = iname2; + if (exp->data) + ptrs[oidx++] = iname_nm; iname_lab_pp = ptrs + oidx; ptrs[oidx++] = iname_lab; @@@@ -2595,7 +2609,7 @@@@ make_head (void) fprintf (f, "\t%sdoesn't load DLLs when this is set.\n", ASM_C); fprintf (f, "\t%s\t0\t%s loaded time\n", ASM_LONG, ASM_C); fprintf (f, "\t%s\t0\t%s Forwarder chain\n", ASM_LONG, ASM_C); - fprintf (f, "\t%s__%s_iname%s\t%s imported dll's name\n", + fprintf (f, "\t%s_%s_iname%s\t%s imported dll's name\n", ASM_RVA_BEFORE, imp_name_lab, ASM_RVA_AFTER, @@@@ -2676,8 +2690,8 @@@@ make_tail (void) fprintf (f, "\t.section .idata$7\n"); #endif - fprintf (f, "\t%s\t__%s_iname\n", ASM_GLOBAL, imp_name_lab); - fprintf (f, "__%s_iname:\t%s\t\"%s\"\n", + fprintf (f, "\t%s\t_%s_iname\n", ASM_GLOBAL, imp_name_lab); + fprintf (f, "_%s_iname:\t%s\t\"%s\"\n", imp_name_lab, ASM_TEXT, dll_name); fclose (f); @ 1.4 log @Update gcc from 3.3.3 to 3.3.6, and binutils from 2.15.90-20040222 to 2.16.91-20060119 to build with gcc-4 @ text @d1 1 a1 1 $NetBSD$ @ 1.3 log @update based gcc and binutils. - gcc 2.95.2 -> 3.3.3 - binutils 030425 -> 2.15.90 (20040222) @ text @d3 1 a3 1 --- binutils/dlltool.c.orig 2003-07-08 12:35:36.000000000 +0900 d5 1 a5 1 @@@@ -1437,6 +1437,8 @@@@ match_exclude (string) d14 9 a22 9 @@@@ -2351,6 +2353,7 @@@@ make_one_lib_file (exp, i) asymbol * exp_label; asymbol * iname = 0; asymbol * iname2; + asymbol * iname_nm = 0; asymbol * iname_lab; asymbol ** iname_lab_pp; asymbol ** iname_pp; @@@@ -2362,7 +2365,7 @@@@ make_one_lib_file (exp, i) d26 31 a56 31 - asymbol * ptrs[NSECS + 4 + EXTRA + 1]; + asymbol * ptrs[NSECS + 5 + EXTRA + 1]; flagword applicable; char * outname = xmalloc (strlen (TMP_STUB) + 10); @@@@ -2460,6 +2463,15 @@@@ make_one_lib_file (exp, i) iname2->flags = BSF_GLOBAL; iname2->value = 0; + if (exp->data) + { + iname_nm = bfd_make_empty_symbol (abfd); + iname_nm->name = make_imp_label ("__nm_", exp->name); + iname_nm->section = secdata[IDATA6].sec; + iname_nm->flags = BSF_GLOBAL; + iname_nm->value = 0; + } + iname_lab = bfd_make_empty_symbol(abfd); iname_lab->name = head_label; @@@@ -2471,6 +2483,8 @@@@ make_one_lib_file (exp, i) if (create_compat_implib) ptrs[oidx++] = iname; ptrs[oidx++] = iname2; + if (exp->data) + ptrs[oidx++] = iname_nm; iname_lab_pp = ptrs + oidx; ptrs[oidx++] = iname_lab; @@@@ -2781,7 +2795,7 @@@@ make_head () d65 1 a65 1 @@@@ -2862,8 +2876,8 @@@@ make_tail () @ 1.2 log @Update to 1.4.0 - update binutils: 3.13 -> 030425 snapshot - use native pthread.h instead of unproven-pthread @ text @d3 1 a3 1 --- binutils/dlltool.c.orig Fri Dec 13 06:10:09 2002 d5 1 a5 1 @@@@ -1403,6 +1403,8 @@@@ d14 62 @ 1.1 log @Sync with PEACE repositry http://cvs.kshosen.ac.jp/cvsweb.cgi/peace/pkgsrc/cross/i386-netbsdpe/ - Update binutils to 2.13 - Remove f77/objcc stuff @ text @d1 5 a5 3 --- binutils/dlltool.c.orig Tue May 21 03:23:05 2002 +++ binutils/dlltool.c Mon Jul 15 18:55:11 2002 @@@@ -1355,6 +1355,8 @@@@ d8 1 a8 1 return true; d10 2 a11 2 + return true; return false; @