Source-Changes-HG archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
[src/trunk]: src/external/gpl3/binutils/dist/gas/config update for new binuti...
details: https://anonhg.NetBSD.org/src/rev/c80faa3fd204
branches: trunk
changeset: 324968:c80faa3fd204
user: bouyer <bouyer%NetBSD.org@localhost>
date: Thu Nov 28 22:28:30 2013 +0000
description:
update for new binutils code our local patch to avoid warnings when macro are
used for loongson2f workarounds. Should fix mips64el kernel builds.
diffstat:
external/gpl3/binutils/dist/gas/config/tc-mips.c | 16 ++++++++++++----
1 files changed, 12 insertions(+), 4 deletions(-)
diffs (37 lines):
diff -r 83ab0c14f226 -r c80faa3fd204 external/gpl3/binutils/dist/gas/config/tc-mips.c
--- a/external/gpl3/binutils/dist/gas/config/tc-mips.c Thu Nov 28 21:53:40 2013 +0000
+++ b/external/gpl3/binutils/dist/gas/config/tc-mips.c Thu Nov 28 22:28:30 2013 +0000
@@ -3700,10 +3700,14 @@
macro_build (NULL, "and", "d,v,t", sreg, sreg, ATREG);
/* Hide these three instructions to avoid getting a ``macro expanded into
multiple instructions'' warning. */
- if (mips_relax.sequence != 2)
+ if (mips_relax.sequence != 2) {
mips_macro_warning.sizes[0] -= 3 * 4;
- if (mips_relax.sequence != 1)
+ mips_macro_warning.insns[0] -= 3;
+ }
+ if (mips_relax.sequence != 1) {
mips_macro_warning.sizes[1] -= 3 * 4;
+ mips_macro_warning.insns[1] -= 3;
+ }
}
}
@@ -4839,10 +4843,14 @@
/* Hide these two instructions to avoid getting a ``macro expanded into
multiple instructions'' warning. */
- if (mips_relax.sequence != 2)
+ if (mips_relax.sequence != 2) {
mips_macro_warning.sizes[0] -= 2 * 4;
- if (mips_relax.sequence != 1)
+ mips_macro_warning.insns[0] -= 2;
+ }
+ if (mips_relax.sequence != 1) {
mips_macro_warning.sizes[1] -= 2 * 4;
+ mips_macro_warning.insns[0] -= 2;
+ }
}
/* Build an instruction created by a macro expansion. This is passed
Home |
Main Index |
Thread Index |
Old Index