head 1.3; access; symbols pkgsrc-2013Q2:1.3.0.4 pkgsrc-2013Q2-base:1.3 pkgsrc-2012Q4:1.3.0.2 pkgsrc-2012Q4-base:1.3 pkgsrc-2012Q2:1.2.0.8 pkgsrc-2012Q2-base:1.2 pkgsrc-2012Q1:1.2.0.6 pkgsrc-2012Q1-base:1.2 pkgsrc-2011Q4:1.2.0.4 pkgsrc-2011Q4-base:1.2 pkgsrc-2011Q3:1.2.0.2 pkgsrc-2011Q3-base:1.2 pkgsrc-2011Q2:1.1.0.36 pkgsrc-2011Q2-base:1.1 pkgsrc-2011Q1:1.1.0.34 pkgsrc-2011Q1-base:1.1 pkgsrc-2010Q4:1.1.0.32 pkgsrc-2010Q4-base:1.1 pkgsrc-2010Q3:1.1.0.30 pkgsrc-2010Q3-base:1.1 pkgsrc-2010Q2:1.1.0.28 pkgsrc-2010Q2-base:1.1 pkgsrc-2010Q1:1.1.0.26 pkgsrc-2010Q1-base:1.1 pkgsrc-2009Q4:1.1.0.24 pkgsrc-2009Q4-base:1.1 pkgsrc-2009Q3:1.1.0.22 pkgsrc-2009Q3-base:1.1 pkgsrc-2009Q2:1.1.0.20 pkgsrc-2009Q2-base:1.1 pkgsrc-2009Q1:1.1.0.18 pkgsrc-2009Q1-base:1.1 pkgsrc-2008Q4:1.1.0.16 pkgsrc-2008Q4-base:1.1 pkgsrc-2008Q3:1.1.0.14 pkgsrc-2008Q3-base:1.1 cube-native-xorg:1.1.0.12 cube-native-xorg-base:1.1 pkgsrc-2008Q2:1.1.0.10 pkgsrc-2008Q2-base:1.1 cwrapper:1.1.0.8 pkgsrc-2008Q1:1.1.0.6 pkgsrc-2008Q1-base:1.1 pkgsrc-2007Q4:1.1.0.4 pkgsrc-2007Q4-base:1.1 pkgsrc-2007Q3:1.1.0.2 pkgsrc-2007Q3-base:1.1; locks; strict; comment @# @; 1.3 date 2012.07.23.12.24.34; author jperkin; state dead; branches; next 1.2; 1.2 date 2011.08.22.08.51.46; author wiz; state Exp; branches; next 1.1; 1.1 date 2007.08.14.09.08.07; author rillig; state Exp; branches; next ; desc @@ 1.3 log @Update to binutils-2.22, mostly from wip/binutils. Changes since binutils-2.17 are too numerous to mention, see the various NEWS files for details. Tested on NetBSD 6.0_BETA2 and SmartOS. @ text @$NetBSD: patch-af,v 1.2 2011/08/22 08:51:46 wiz Exp $ --- gas/read.c.orig 2005-11-17 07:29:28.000000000 +0000 +++ gas/read.c @@@@ -1279,7 +1279,7 @@@@ s_align (int arg, int bytes_p) unsigned int align_limit = ALIGN_LIMIT; unsigned int align; char *stop = NULL; - char stopc; + char stopc = '\0'; offsetT fill = 0; int max; int fill_p; @@@@ -1423,7 +1423,7 @@@@ s_comm_internal (int param, offsetT temp, size; symbolS *symbolP = NULL; char *stop = NULL; - char stopc; + char stopc = '\0'; /* XXX: gcc -Wuninitialized */ expressionS exp; if (flag_mri) @@@@ -1538,7 +1538,7 @@@@ s_mri_common (int small ATTRIBUTE_UNUSED symbolS *sym; offsetT align; char *stop = NULL; - char stopc; + char stopc = '\0'; if (!flag_mri) { @@@@ -1807,7 +1807,7 @@@@ s_fail (int ignore ATTRIBUTE_UNUSED) { offsetT temp; char *stop = NULL; - char stopc; + char stopc = '\0'; if (flag_mri) stop = mri_comment_field (&stopc); @@@@ -1929,7 +1929,7 @@@@ s_globl (int ignore ATTRIBUTE_UNUSED) int c; symbolS *symbolP; char *stop = NULL; - char stopc; + char stopc = '\0'; if (flag_mri) stop = mri_comment_field (&stopc); @@@@ -2881,7 +2881,7 @@@@ s_space (int mult) expressionS val; char *p = 0; char *stop = NULL; - char stopc; + char stopc = '\0'; int bytes; #ifdef md_flush_pending_output @@@@ -3057,7 +3057,7 @@@@ s_float_space (int float_type) int flen; char temp[MAXIMUM_NUMBER_OF_CHARS_FOR_FLOAT]; char *stop = NULL; - char stopc; + char stopc = '\0'; if (flag_mri) stop = mri_comment_field (&stopc); @@@@ -3134,7 +3134,7 @@@@ void s_struct (int ignore ATTRIBUTE_UNUSED) { char *stop = NULL; - char stopc; + char stopc = '\0'; if (flag_mri) stop = mri_comment_field (&stopc); @@@@ -3514,7 +3514,7 @@@@ cons_worker (register int nbytes, /* 1=. int c; expressionS exp; char *stop = NULL; - char stopc; + char stopc = '\0'; #ifdef md_flush_pending_output md_flush_pending_output (); @@@@ -5010,7 +5010,7 @@@@ void equals (char *sym_name, int reassign) { char *stop = NULL; - char stopc; + char stopc = '\0'; input_line_pointer++; if (*input_line_pointer == '=') @ 1.2 log @Fix build with gcc-4.5. Set LICENSE. Fix a pkglint warning. @ text @d1 1 a1 1 $NetBSD: patch-af,v 1.1 2007/08/14 09:08:07 rillig Exp $ @ 1.1 log @Fixed a gcc warning reported in PR 36777: read.c:1426: warning: 'stopc' may be used uninitialized in this function @ text @d1 1 a1 1 $NetBSD$ d3 11 a13 2 --- gas/read.c.orig 2005-11-17 08:29:28.000000000 +0100 +++ gas/read.c 2007-08-14 11:03:42.000000000 +0200 d23 72 @