Drop a bunch of metag references
Now that arch/metag/ has been removed, drop a bunch of metag references in various codes across the whole tree: - VM_GROWSUP and __VM_ARCH_SPECIFIC_1. - MT_METAG_* ELF note types. - METAG Kconfig dependencies (FRAME_POINTER) and ranges (MAX_STACK_SIZE_MB). - metag cases in tools (checkstack.pl, recordmcount.c, perf). Signed-off-by: James Hogan <jhogan@kernel.org> Acked-by: Steven Rostedt (VMware) <rostedt@goodmis.org> Acked-by: Peter Zijlstra (Intel) <peterz@infradead.org> Reviewed-by: Guenter Roeck <linux@roeck-us.net> Cc: Ingo Molnar <mingo@redhat.com> Cc: Arnaldo Carvalho de Melo <acme@kernel.org> Cc: Alexander Shishkin <alexander.shishkin@linux.intel.com> Cc: Jiri Olsa <jolsa@redhat.com> Cc: Namhyung Kim <namhyung@kernel.org> Cc: linux-mm@kvack.org Cc: linux-metag@vger.kernel.org
This commit is contained in:
@@ -64,10 +64,6 @@ my (@stack, $re, $dre, $x, $xs, $funcre);
|
||||
# 2b6c: 4e56 fb70 linkw %fp,#-1168
|
||||
# 1df770: defc ffe4 addaw #-28,%sp
|
||||
$re = qr/.*(?:linkw %fp,|addaw )#-([0-9]{1,4})(?:,%sp)?$/o;
|
||||
} elsif ($arch eq 'metag') {
|
||||
#400026fc: 40 00 00 82 ADD A0StP,A0StP,#0x8
|
||||
$re = qr/.*ADD.*A0StP,A0StP,\#(0x$x{1,8})/o;
|
||||
$funcre = qr/^$x* <[^\$](.*)>:$/;
|
||||
} elsif ($arch eq 'mips64') {
|
||||
#8800402c: 67bdfff0 daddiu sp,sp,-16
|
||||
$re = qr/.*daddiu.*sp,sp,-(([0-9]{2}|[3-9])[0-9]{2})/o;
|
||||
|
@@ -33,20 +33,6 @@
|
||||
#include <string.h>
|
||||
#include <unistd.h>
|
||||
|
||||
/*
|
||||
* glibc synced up and added the metag number but didn't add the relocations.
|
||||
* Work around this in a crude manner for now.
|
||||
*/
|
||||
#ifndef EM_METAG
|
||||
#define EM_METAG 174
|
||||
#endif
|
||||
#ifndef R_METAG_ADDR32
|
||||
#define R_METAG_ADDR32 2
|
||||
#endif
|
||||
#ifndef R_METAG_NONE
|
||||
#define R_METAG_NONE 3
|
||||
#endif
|
||||
|
||||
#ifndef EM_AARCH64
|
||||
#define EM_AARCH64 183
|
||||
#define R_AARCH64_NONE 0
|
||||
@@ -538,12 +524,6 @@ do_file(char const *const fname)
|
||||
gpfx = '_';
|
||||
break;
|
||||
case EM_IA_64: reltype = R_IA64_IMM64; gpfx = '_'; break;
|
||||
case EM_METAG: reltype = R_METAG_ADDR32;
|
||||
altmcount = "_mcount_wrapper";
|
||||
rel_type_nop = R_METAG_NONE;
|
||||
/* We happen to have the same requirement as MIPS */
|
||||
is_fake_mcount32 = MIPS32_is_fake_mcount;
|
||||
break;
|
||||
case EM_MIPS: /* reltype: e_class */ gpfx = '_'; break;
|
||||
case EM_PPC: reltype = R_PPC_ADDR32; gpfx = '_'; break;
|
||||
case EM_PPC64: reltype = R_PPC64_ADDR64; gpfx = '_'; break;
|
||||
|
Reference in New Issue
Block a user