This is the mail archive of the
binutils-cvs@sourceware.org
mailing list for the binutils project.
[binutils-gdb/binutils-2_25-branch] Don't pass unadorned zeros to varargs functions
- From: Alan Modra <amodra at sourceware dot org>
- To: bfd-cvs at sourceware dot org
- Date: 4 Apr 2015 10:30:41 -0000
- Subject: [binutils-gdb/binutils-2_25-branch] Don't pass unadorned zeros to varargs functions
https://sourceware.org/git/gitweb.cgi?p=binutils-gdb.git;h=2aa59379e7a58585555aaa20e219f24efbd660cc
commit 2aa59379e7a58585555aaa20e219f24efbd660cc
Author: Yaakov Selkowitz <yselkowi@redhat.com>
Date: Thu Dec 25 21:25:38 2014 +1030
Don't pass unadorned zeros to varargs functions
PR gas/17753
* config/tc-mep.c (md_begin): Specify types of vararg literals.
Diff:
---
gas/ChangeLog | 7 +++++++
gas/config/tc-mep.c | 4 ++--
2 files changed, 9 insertions(+), 2 deletions(-)
diff --git a/gas/ChangeLog b/gas/ChangeLog
index f2adca9..6feb01b 100644
--- a/gas/ChangeLog
+++ b/gas/ChangeLog
@@ -1,3 +1,10 @@
+2015-04-04 Alan Modra <amodra@gmail.com>
+
+ Apply from master.
+ 2014-12-25 Yaakov Selkowitz <yselkowi@redhat.com>
+ PR gas/17753
+ * config/tc-mep.c (md_begin): Specify types of vararg literals.
+
2015-03-20 H.J. Lu <hongjiu.lu@intel.com>
Apply patch from master:
diff --git a/gas/config/tc-mep.c b/gas/config/tc-mep.c
index cb06881..c6b67e1 100644
--- a/gas/config/tc-mep.c
+++ b/gas/config/tc-mep.c
@@ -486,12 +486,12 @@ md_begin ()
mep_cop = mep_config_map[mep_config_index].cpu_flag & EF_MEP_COP_MASK;
/* Set the machine number and endian. */
- gas_cgen_cpu_desc = mep_cgen_cpu_open (CGEN_CPU_OPEN_MACHS, 0,
+ gas_cgen_cpu_desc = mep_cgen_cpu_open (CGEN_CPU_OPEN_MACHS, 0U,
CGEN_CPU_OPEN_ENDIAN,
target_big_endian
? CGEN_ENDIAN_BIG
: CGEN_ENDIAN_LITTLE,
- CGEN_CPU_OPEN_ISAS, 0,
+ CGEN_CPU_OPEN_ISAS, (CGEN_BITSET *) 0,
CGEN_CPU_OPEN_END);
mep_cgen_init_asm (gas_cgen_cpu_desc);