History

Merge tag 'metag_remove_2' of ssh://gitolite.kernel.org/pub/scm/linux/kernel/git/jhogan/metag into asm-generic

Remove metag architecture These patches remove the metag architecture and tightly dependent drivers from the kernel. With the 4.16 kernel the ancient gcc 4.2.4 based metag toolchain we have been using is hitting compiler bugs, so now seems a good time to drop it altogether. * tag 'metag_remove_2' of ssh://gitolite.kernel.org/pub/scm/linux/kernel/git/jhogan/metag: i2c: img-scb: Drop METAG dependency media: img-ir: Drop METAG dependency watchdog: imgpdc: Drop METAG dependency MAINTAINERS/CREDITS: Drop METAG ARCHITECTURE tty: Remove metag DA TTY and console driver clocksource: Remove metag generic timer driver irqchip: Remove metag irqchip drivers Drop a bunch of metag references docs: Remove remaining references to metag docs: Remove metag docs metag: Remove arch/metag/

Arnd Bergmann committed 8 years ago

Commit b67aea22 parents 661e50b 8d06c33254 files · +14 −27618Browse files

Showing the changes to scripts (2 of 254 files). Show all

Unified · Split

2 files
  1. scripts/checkstack.pl +0 −4
  2. scripts/recordmcount.c +0 −20
scripts/checkstack.pl+0−4
@@ -64,10 +64,6 @@ my (@stack, $re, $dre, $x, $xs, $funcre); · 63 unmodified lines
6464 # 2b6c: 4e56 fb70 linkw %fp,#-1168
6565 # 1df770: defc ffe4 addaw #-28,%sp
6666 $re = qr/.*(?:linkw %fp,|addaw )#-([0-9]{1,4})(?:,%sp)?$/o;
67− } elsif ($arch eq 'metag') {
68− #400026fc: 40 00 00 82 ADD A0StP,A0StP,#0x8
69− $re = qr/.*ADD.*A0StP,A0StP,\#(0x$x{1,8})/o;
70− $funcre = qr/^$x* <[^\$](.*)>:$/;
7167 } elsif ($arch eq 'mips64') {
7268 #8800402c: 67bdfff0 daddiu sp,sp,-16
7369 $re = qr/.*daddiu.*sp,sp,-(([0-9]{2}|[3-9])[0-9]{2})/o;
scripts/recordmcount.c+0−20
@@ -33,20 +33,6 @@ · 32 unmodified lines
3333 #include <string.h>
3434 #include <unistd.h>
3535
36−/*
37− * glibc synced up and added the metag number but didn't add the relocations.
38− * Work around this in a crude manner for now.
39− */
40−#ifndef EM_METAG
41−#define EM_METAG 174
42−#endif
43−#ifndef R_METAG_ADDR32
44−#define R_METAG_ADDR32 2
45−#endif
46−#ifndef R_METAG_NONE
47−#define R_METAG_NONE 3
48−#endif
49−
5036 #ifndef EM_AARCH64
5137 #define EM_AARCH64 183
5238 #define R_AARCH64_NONE 0
@@ -538,12 +524,6 @@ do_file(char const *const fname) · 485 unmodified lines
538524 gpfx = '_';
539525 break;
540526 case EM_IA_64: reltype = R_IA64_IMM64; gpfx = '_'; break;
541− case EM_METAG: reltype = R_METAG_ADDR32;
542− altmcount = "_mcount_wrapper";
543− rel_type_nop = R_METAG_NONE;
544− /* We happen to have the same requirement as MIPS */
545− is_fake_mcount32 = MIPS32_is_fake_mcount;
546− break;
547527 case EM_MIPS: /* reltype: e_class */ gpfx = '_'; break;
548528 case EM_PPC: reltype = R_PPC_ADDR32; gpfx = '_'; break;
549529 case EM_PPC64: reltype = R_PPC64_ADDR64; gpfx = '_'; break;

Keyboard shortcuts

General

Show keyboard shortcuts
?
Focus the current search
/

Issues and pull requests

Open filters
f

Issues, pull requests and Inbox

Select next item
j↓
Select previous item
k↑
Open selected item
Enter
Dismiss filters or clear selection
Esc

Repository code

Go to file
t