+2020-08-25 Alan Modra <amodra@gmail.com>
+
+ * config/tc-arc.c (declare_register_set): Avoid false positive
+ format-overflow warning.
+ * config/tc-epiphany.c (md_assemble): Likewise.
+ * config/tc-mips.c (md_begin): Likewise.
+ * config/tc-mmix.c (mmix_md_begin): Likewise.
+ * config/tc-nds32.c (nds32_elf_append_relax_relocs): Avoid false
+ positive "may be used uninitialized" warning.
+
2020-08-24 Cooper Qu <cooper.qu@linux.alibaba.com>
* config/tc-csky.c (csky_archs): Add item for CK860,
int i;
for (i = 0; i < 64; ++i)
{
- char name[7];
+ char name[32];
sprintf (name, "r%d", i);
declare_register (name, i);
if (push && regmask)
{
- char buff[20];
+ char buff[32];
int i,p ATTRIBUTE_UNUSED;
epiphany_assemble ("mov r15,4");
}
else if (pop && regmask)
{
- char buff[20];
+ char buff[32];
int i,p;
epiphany_assemble ("mov r15,4");
for (i = 0; i < 32; i++)
{
- char regname[6];
+ char regname[16];
/* R5900 VU0 floating-point register. */
sprintf (regname, "$vf%d", i);
/* We always insert the ordinary registers 0..255 as registers. */
for (i = 0; i < 256; i++)
{
- char buf[5];
+ char buf[16];
/* Alternatively, we could diddle with '$' and the following number,
but keeping the registers as symbols helps keep parsing simple. */
fixup_size = fixup_now->size;
/* Insert all fixup. */
+ pcrel = 0;
while (fixup_size != 0 && fixup_now->offset == offset)
{
/* Set the real instruction size in element. */