This is the mail archive of the binutils@sourceware.org mailing list for the binutils project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

[PATCH] readelf.c: Break multi-statement line


	* readelf.c (decode_x86_compat_isa): Break multi-statement line.
	(decode_x86_isa): Likewise.
	(decode_x86_feature_2): Likewise.
---
 binutils/ChangeLog |  6 ++++++
 binutils/readelf.c | 12 +++++++++---
 2 files changed, 15 insertions(+), 3 deletions(-)

diff --git a/binutils/ChangeLog b/binutils/ChangeLog
index ef9a5fdffc..82d59fbfed 100644
--- a/binutils/ChangeLog
+++ b/binutils/ChangeLog
@@ -1,3 +1,9 @@
+2018-08-27  H.J. Lu  <hongjiu.lu@intel.com>
+
+	* readelf.c (decode_x86_compat_isa): Break multi-statement line.
+	(decode_x86_isa): Likewise.
+	(decode_x86_feature_2): Likewise.
+
 2018-08-25  H.J. Lu  <hongjiu.lu@intel.com>
 
 	PR ld/23499
diff --git a/binutils/readelf.c b/binutils/readelf.c
index 23e61d369a..d5fef92a7f 100644
--- a/binutils/readelf.c
+++ b/binutils/readelf.c
@@ -17019,7 +17019,9 @@ decode_x86_compat_isa (unsigned int bitmask)
 	case GNU_PROPERTY_X86_COMPAT_ISA_1_AVX512BW:
 	  printf ("AVX512BW");
 	  break;
-	default: printf (_("<unknown: %x>"), bit); break;
+	default:
+	  printf (_("<unknown: %x>"), bit);
+	  break;
 	}
       if (bitmask)
 	printf (", ");
@@ -17108,7 +17110,9 @@ decode_x86_isa (unsigned int bitmask)
 	case GNU_PROPERTY_X86_ISA_1_AVX512_VNNI:
 	  printf ("AVX512_VNNI");
 	  break;
-	default: printf (_("<unknown: %x>"), bit); break;
+	default:
+	  printf (_("<unknown: %x>"), bit);
+	  break;
 	}
       if (bitmask)
 	printf (", ");
@@ -17180,7 +17184,9 @@ decode_x86_feature_2 (unsigned int bitmask)
 	case GNU_PROPERTY_X86_FEATURE_2_XSAVEC:
 	  printf ("XSAVEC");
 	  break;
-	default: printf (_("<unknown: %x>"), bit); break;
+	default:
+	  printf (_("<unknown: %x>"), bit);
+	  break;
 	}
       if (bitmask)
 	printf (", ");
-- 
2.17.1


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]