mirror of
https://github.com/bminor/binutils-gdb.git
synced 2025-12-16 04:18:50 +00:00
[AArch64] Remove all traces of aarch64-without-fpu.xml.
The aarch64-without-fpu description is unused.
Linux requires an FPU, so the AArch64 native port always returns the
with-fpu variant:
static const struct target_desc *
aarch64_linux_read_description (struct target_ops *ops)
{
initialize_tdesc_aarch64 ();
return tdesc_aarch64;
}
When the target doesn't report a target description at all, we
fallback to a register set with an FPU:
aarch64_gdbarch_init ()
...
if (!tdesc_has_registers (tdesc))
tdesc = tdesc_aarch64;
This just removes the dead description.
Tested by building on x86_64 Fedora 17 with --enable=targets=all.
gdb/
2013-05-29 Pedro Alves <palves@redhat.com>
* aarch64-tdep.c: Don't include "features/aarch64-without-fpu.c".
(_initialize_aarch64_tdep): Don't call
initialize_tdesc_aarch64_without_fpu.
* features/Makefile (WHICH): Remove reference to
aarch64-without-fpu.
* features/aarch64-without-fpu.c: Delete file.
* regformats/aarch64-without-fpu.dat: Delete file.
This commit is contained in:
@@ -1,3 +1,13 @@
|
||||
2013-05-29 Pedro Alves <palves@redhat.com>
|
||||
|
||||
* aarch64-tdep.c: Don't include "features/aarch64-without-fpu.c".
|
||||
(_initialize_aarch64_tdep): Don't call
|
||||
initialize_tdesc_aarch64_without_fpu.
|
||||
* features/Makefile (WHICH): Remove reference to
|
||||
aarch64-without-fpu.
|
||||
* features/aarch64-without-fpu.c: Delete file.
|
||||
* regformats/aarch64-without-fpu.dat: Delete file.
|
||||
|
||||
2013-05-28 Yao Qi <yao@codesourcery.com>
|
||||
|
||||
* tracepoint.c (stringify_collection_list): Remove parameter
|
||||
|
||||
@@ -53,7 +53,6 @@
|
||||
#include "vec.h"
|
||||
|
||||
#include "features/aarch64.c"
|
||||
#include "features/aarch64-without-fpu.c"
|
||||
|
||||
/* Pseudo register base numbers. */
|
||||
#define AARCH64_Q0_REGNUM 0
|
||||
@@ -2718,7 +2717,6 @@ _initialize_aarch64_tdep (void)
|
||||
aarch64_dump_tdep);
|
||||
|
||||
initialize_tdesc_aarch64 ();
|
||||
initialize_tdesc_aarch64_without_fpu ();
|
||||
|
||||
/* Debug this file's internals. */
|
||||
add_setshow_boolean_cmd ("aarch64", class_maintenance, &aarch64_debug, _("\
|
||||
|
||||
@@ -30,7 +30,7 @@
|
||||
# in the GDB repository. To generate C files:
|
||||
# make GDB=/path/to/gdb XMLTOC="xml files" cfiles
|
||||
|
||||
WHICH = aarch64 aarch64-without-fpu \
|
||||
WHICH = aarch64 \
|
||||
arm-with-iwmmxt arm-with-vfpv2 arm-with-vfpv3 arm-with-neon \
|
||||
arm-with-m arm-with-m-fpa-layout arm-with-m-vfp-d16 \
|
||||
i386/i386 i386/i386-linux \
|
||||
|
||||
@@ -1,54 +0,0 @@
|
||||
/* THIS FILE IS GENERATED. -*- buffer-read-only: t -*- vi:set ro:
|
||||
Original: aarch64-without-fpu.xml */
|
||||
|
||||
#include "defs.h"
|
||||
#include "osabi.h"
|
||||
#include "target-descriptions.h"
|
||||
|
||||
struct target_desc *tdesc_aarch64_without_fpu;
|
||||
static void
|
||||
initialize_tdesc_aarch64_without_fpu (void)
|
||||
{
|
||||
struct target_desc *result = allocate_target_description ();
|
||||
struct tdesc_feature *feature;
|
||||
|
||||
set_tdesc_architecture (result, bfd_scan_arch ("aarch64"));
|
||||
|
||||
feature = tdesc_create_feature (result, "org.gnu.gdb.aarch64.core");
|
||||
tdesc_create_reg (feature, "x0", 0, 1, NULL, 64, "int");
|
||||
tdesc_create_reg (feature, "x1", 1, 1, NULL, 64, "int");
|
||||
tdesc_create_reg (feature, "x2", 2, 1, NULL, 64, "int");
|
||||
tdesc_create_reg (feature, "x3", 3, 1, NULL, 64, "int");
|
||||
tdesc_create_reg (feature, "x4", 4, 1, NULL, 64, "int");
|
||||
tdesc_create_reg (feature, "x5", 5, 1, NULL, 64, "int");
|
||||
tdesc_create_reg (feature, "x6", 6, 1, NULL, 64, "int");
|
||||
tdesc_create_reg (feature, "x7", 7, 1, NULL, 64, "int");
|
||||
tdesc_create_reg (feature, "x8", 8, 1, NULL, 64, "int");
|
||||
tdesc_create_reg (feature, "x9", 9, 1, NULL, 64, "int");
|
||||
tdesc_create_reg (feature, "x10", 10, 1, NULL, 64, "int");
|
||||
tdesc_create_reg (feature, "x11", 11, 1, NULL, 64, "int");
|
||||
tdesc_create_reg (feature, "x12", 12, 1, NULL, 64, "int");
|
||||
tdesc_create_reg (feature, "x13", 13, 1, NULL, 64, "int");
|
||||
tdesc_create_reg (feature, "x14", 14, 1, NULL, 64, "int");
|
||||
tdesc_create_reg (feature, "x15", 15, 1, NULL, 64, "int");
|
||||
tdesc_create_reg (feature, "x16", 16, 1, NULL, 64, "int");
|
||||
tdesc_create_reg (feature, "x17", 17, 1, NULL, 64, "int");
|
||||
tdesc_create_reg (feature, "x18", 18, 1, NULL, 64, "int");
|
||||
tdesc_create_reg (feature, "x19", 19, 1, NULL, 64, "int");
|
||||
tdesc_create_reg (feature, "x20", 20, 1, NULL, 64, "int");
|
||||
tdesc_create_reg (feature, "x21", 21, 1, NULL, 64, "int");
|
||||
tdesc_create_reg (feature, "x22", 22, 1, NULL, 64, "int");
|
||||
tdesc_create_reg (feature, "x23", 23, 1, NULL, 64, "int");
|
||||
tdesc_create_reg (feature, "x24", 24, 1, NULL, 64, "int");
|
||||
tdesc_create_reg (feature, "x25", 25, 1, NULL, 64, "int");
|
||||
tdesc_create_reg (feature, "x26", 26, 1, NULL, 64, "int");
|
||||
tdesc_create_reg (feature, "x27", 27, 1, NULL, 64, "int");
|
||||
tdesc_create_reg (feature, "x28", 28, 1, NULL, 64, "int");
|
||||
tdesc_create_reg (feature, "x29", 29, 1, NULL, 64, "int");
|
||||
tdesc_create_reg (feature, "x30", 30, 1, NULL, 64, "int");
|
||||
tdesc_create_reg (feature, "sp", 31, 1, NULL, 64, "data_ptr");
|
||||
tdesc_create_reg (feature, "pc", 32, 1, NULL, 64, "code_ptr");
|
||||
tdesc_create_reg (feature, "cpsr", 33, 1, NULL, 32, "int");
|
||||
|
||||
tdesc_aarch64_without_fpu = result;
|
||||
}
|
||||
@@ -1,13 +0,0 @@
|
||||
<?xml version="1.0"?>
|
||||
<!-- Copyright (C) 2009-2013 Free Software Foundation, Inc.
|
||||
Contributed by ARM Ltd.
|
||||
|
||||
Copying and distribution of this file, with or without modification,
|
||||
are permitted in any medium without royalty provided the copyright
|
||||
notice and this notice are preserved. -->
|
||||
|
||||
<!DOCTYPE target SYSTEM "gdb-target.dtd">
|
||||
<target>
|
||||
<architecture>aarch64</architecture>
|
||||
<xi:include href="aarch64-core.xml"/>
|
||||
</target>
|
||||
@@ -1,38 +0,0 @@
|
||||
# DO NOT EDIT: generated from aarch64-without-fpu.xml
|
||||
name:aarch64_without_fpu
|
||||
xmltarget:aarch64-without-fpu.xml
|
||||
expedite:x29,sp,pc
|
||||
64:x0
|
||||
64:x1
|
||||
64:x2
|
||||
64:x3
|
||||
64:x4
|
||||
64:x5
|
||||
64:x6
|
||||
64:x7
|
||||
64:x8
|
||||
64:x9
|
||||
64:x10
|
||||
64:x11
|
||||
64:x12
|
||||
64:x13
|
||||
64:x14
|
||||
64:x15
|
||||
64:x16
|
||||
64:x17
|
||||
64:x18
|
||||
64:x19
|
||||
64:x20
|
||||
64:x21
|
||||
64:x22
|
||||
64:x23
|
||||
64:x24
|
||||
64:x25
|
||||
64:x26
|
||||
64:x27
|
||||
64:x28
|
||||
64:x29
|
||||
64:x30
|
||||
64:sp
|
||||
64:pc
|
||||
32:cpsr
|
||||
Reference in New Issue
Block a user