aboutsummaryrefslogtreecommitdiffstatshomepage
path: root/target.c
diff options
context:
space:
mode:
authorLuc Van Oostenryck <luc.vanoostenryck@gmail.com>2019-12-15 09:07:56 +0100
committerLuc Van Oostenryck <luc.vanoostenryck@gmail.com>2019-12-16 10:29:07 +0100
commit31c6724f4f32c3367c929b96aa94bc4eee5f6af8 (patch)
tree74f8664870c71358fbb87a9ce8bdb029a284ad91 /target.c
parentdd0012ff9766f81f877f4ec89957e9f22a320beb (diff)
downloadsparse-dev-31c6724f4f32c3367c929b96aa94bc4eee5f6af8.tar.gz
arch: arch_mach is not needed anymore
arch_target now points to a structure holding all the arch-specificities. So, arch_mach is not needed anymore. Remove arch_mach. Signed-off-by: Luc Van Oostenryck <luc.vanoostenryck@gmail.com>
Diffstat (limited to 'target.c')
-rw-r--r--target.c2
1 files changed, 0 insertions, 2 deletions
diff --git a/target.c b/target.c
index 1c7a4083..abfa9756 100644
--- a/target.c
+++ b/target.c
@@ -134,7 +134,6 @@ void target_config(enum machine mach)
const struct target *target = targets[mach];
arch_target = target;
- arch_mach = target->mach;
arch_m64 = target->bitness;
arch_big_endian = target->big_endian;
@@ -179,7 +178,6 @@ void target_init(void)
break;
}
arch_target = target;
- arch_mach = target->mach;
if (fpie > fpic)
fpic = fpie;