diff options
Diffstat (limited to 'scripts')
| -rw-r--r-- | scripts/asn1_compiler.c | 2 | ||||
| -rwxr-xr-x | scripts/checkpatch.pl | 1 | ||||
| -rwxr-xr-x | scripts/recordmcount.pl | 3 | ||||
| -rw-r--r-- | scripts/sortextable.c | 5 |
4 files changed, 10 insertions, 1 deletions
diff --git a/scripts/asn1_compiler.c b/scripts/asn1_compiler.c index db0e5cd34c70..91c4117637ae 100644 --- a/scripts/asn1_compiler.c +++ b/scripts/asn1_compiler.c | |||
| @@ -1353,6 +1353,8 @@ static void render_out_of_line_list(FILE *out) | |||
| 1353 | render_opcode(out, "ASN1_OP_END_SET_OF%s,\n", act); | 1353 | render_opcode(out, "ASN1_OP_END_SET_OF%s,\n", act); |
| 1354 | render_opcode(out, "_jump_target(%u),\n", entry); | 1354 | render_opcode(out, "_jump_target(%u),\n", entry); |
| 1355 | break; | 1355 | break; |
| 1356 | default: | ||
| 1357 | break; | ||
| 1356 | } | 1358 | } |
| 1357 | if (e->action) | 1359 | if (e->action) |
| 1358 | render_opcode(out, "_action(ACT_%s),\n", | 1360 | render_opcode(out, "_action(ACT_%s),\n", |
diff --git a/scripts/checkpatch.pl b/scripts/checkpatch.pl index 61090e0ff613..9c9810030377 100755 --- a/scripts/checkpatch.pl +++ b/scripts/checkpatch.pl | |||
| @@ -3289,6 +3289,7 @@ sub process { | |||
| 3289 | } | 3289 | } |
| 3290 | } | 3290 | } |
| 3291 | if (!defined $suppress_whiletrailers{$linenr} && | 3291 | if (!defined $suppress_whiletrailers{$linenr} && |
| 3292 | defined($stat) && defined($cond) && | ||
| 3292 | $line =~ /\b(?:if|while|for)\s*\(/ && $line !~ /^.\s*#/) { | 3293 | $line =~ /\b(?:if|while|for)\s*\(/ && $line !~ /^.\s*#/) { |
| 3293 | my ($s, $c) = ($stat, $cond); | 3294 | my ($s, $c) = ($stat, $cond); |
| 3294 | 3295 | ||
diff --git a/scripts/recordmcount.pl b/scripts/recordmcount.pl index d0da66396f62..91280b82da08 100755 --- a/scripts/recordmcount.pl +++ b/scripts/recordmcount.pl | |||
| @@ -364,7 +364,8 @@ if ($arch eq "x86_64") { | |||
| 364 | } elsif ($arch eq "blackfin") { | 364 | } elsif ($arch eq "blackfin") { |
| 365 | $mcount_regex = "^\\s*([0-9a-fA-F]+):.*\\s__mcount\$"; | 365 | $mcount_regex = "^\\s*([0-9a-fA-F]+):.*\\s__mcount\$"; |
| 366 | $mcount_adjust = -4; | 366 | $mcount_adjust = -4; |
| 367 | } elsif ($arch eq "tilegx") { | 367 | } elsif ($arch eq "tilegx" || $arch eq "tile") { |
| 368 | # Default to the newer TILE-Gx architecture if only "tile" is given. | ||
| 368 | $mcount_regex = "^\\s*([0-9a-fA-F]+):.*\\s__mcount\$"; | 369 | $mcount_regex = "^\\s*([0-9a-fA-F]+):.*\\s__mcount\$"; |
| 369 | $type = ".quad"; | 370 | $type = ".quad"; |
| 370 | $alignment = 8; | 371 | $alignment = 8; |
diff --git a/scripts/sortextable.c b/scripts/sortextable.c index 5f7a8b663cb9..7941fbdfb050 100644 --- a/scripts/sortextable.c +++ b/scripts/sortextable.c | |||
| @@ -31,6 +31,10 @@ | |||
| 31 | #include <tools/be_byteshift.h> | 31 | #include <tools/be_byteshift.h> |
| 32 | #include <tools/le_byteshift.h> | 32 | #include <tools/le_byteshift.h> |
| 33 | 33 | ||
| 34 | #ifndef EM_ARCOMPACT | ||
| 35 | #define EM_ARCOMPACT 93 | ||
| 36 | #endif | ||
| 37 | |||
| 34 | #ifndef EM_AARCH64 | 38 | #ifndef EM_AARCH64 |
| 35 | #define EM_AARCH64 183 | 39 | #define EM_AARCH64 183 |
| 36 | #endif | 40 | #endif |
| @@ -268,6 +272,7 @@ do_file(char const *const fname) | |||
| 268 | case EM_S390: | 272 | case EM_S390: |
| 269 | custom_sort = sort_relative_table; | 273 | custom_sort = sort_relative_table; |
| 270 | break; | 274 | break; |
| 275 | case EM_ARCOMPACT: | ||
| 271 | case EM_ARM: | 276 | case EM_ARM: |
| 272 | case EM_AARCH64: | 277 | case EM_AARCH64: |
| 273 | case EM_MIPS: | 278 | case EM_MIPS: |
