diff options
author | Jan Beulich <jbeulich@suse.com> | 2024-10-04 09:41:38 +0200 |
---|---|---|
committer | Jan Beulich <jbeulich@suse.com> | 2024-10-04 09:41:38 +0200 |
commit | 46f44aa70060d2c4a35bb70e6a74ccee8330a05e (patch) | |
tree | 772decf736dde967d38218237a3717c005441097 /gas/config | |
parent | 87d2a201520cfba7a152f7c97ad4f7515a5d5da7 (diff) | |
download | gdb-46f44aa70060d2c4a35bb70e6a74ccee8330a05e.zip gdb-46f44aa70060d2c4a35bb70e6a74ccee8330a05e.tar.gz gdb-46f44aa70060d2c4a35bb70e6a74ccee8330a05e.tar.bz2 |
x86: drop largely defunct gas emulations
Both ELF and COFF have various sub-flavors, each of which would then
require its own emulation: Right now when configuring a COFF/PE
secondary target (with perhaps an ELF primary one), one gets plain COFF
emulation rather than COFF/PE one.
As such a multitude of emulations would be unwieldy (and likely fragile)
drop gas emulations altogether instead.
Diffstat (limited to 'gas/config')
-rw-r--r-- | gas/config/e-i386aout.c | 28 | ||||
-rw-r--r-- | gas/config/e-i386coff.c | 28 | ||||
-rw-r--r-- | gas/config/e-i386elf.c | 28 |
3 files changed, 0 insertions, 84 deletions
diff --git a/gas/config/e-i386aout.c b/gas/config/e-i386aout.c deleted file mode 100644 index 52f6fa5..0000000 --- a/gas/config/e-i386aout.c +++ /dev/null @@ -1,28 +0,0 @@ -/* Copyright (C) 2007-2024 Free Software Foundation, Inc. - - This file is part of GAS, the GNU Assembler. - - GAS is free software; you can redistribute it and/or modify - it under the terms of the GNU General Public License as published by - the Free Software Foundation; either version 3, or (at your option) - any later version. - - GAS is distributed in the hope that it will be useful, - but WITHOUT ANY WARRANTY; without even the implied warranty of - MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the - GNU General Public License for more details. - - You should have received a copy of the GNU General Public License - along with GAS; see the file COPYING. If not, write to the Free - Software Foundation, 51 Franklin Street - Fifth Floor, Boston, MA - 02110-1301, USA. */ - -#include "as.h" -#include "emul.h" - -#define emul_format &aout_format_ops - -#define emul_name "i386aout" -#define emul_struct_name i386aout -#define emul_default_endian 0 -#include "emul-target.h" diff --git a/gas/config/e-i386coff.c b/gas/config/e-i386coff.c deleted file mode 100644 index f767a13..0000000 --- a/gas/config/e-i386coff.c +++ /dev/null @@ -1,28 +0,0 @@ -/* Copyright (C) 2007-2024 Free Software Foundation, Inc. - - This file is part of GAS, the GNU Assembler. - - GAS is free software; you can redistribute it and/or modify - it under the terms of the GNU General Public License as published by - the Free Software Foundation; either version 3, or (at your option) - any later version. - - GAS is distributed in the hope that it will be useful, - but WITHOUT ANY WARRANTY; without even the implied warranty of - MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the - GNU General Public License for more details. - - You should have received a copy of the GNU General Public License - along with GAS; see the file COPYING. If not, write to the Free - Software Foundation, 51 Franklin Street - Fifth Floor, Boston, MA - 02110-1301, USA. */ - -#include "as.h" -#include "emul.h" - -#define emul_format &coff_format_ops - -#define emul_name "i386coff" -#define emul_struct_name i386coff -#define emul_default_endian 0 -#include "emul-target.h" diff --git a/gas/config/e-i386elf.c b/gas/config/e-i386elf.c deleted file mode 100644 index 5a6ed4b..0000000 --- a/gas/config/e-i386elf.c +++ /dev/null @@ -1,28 +0,0 @@ -/* Copyright (C) 2007-2024 Free Software Foundation, Inc. - - This file is part of GAS, the GNU Assembler. - - GAS is free software; you can redistribute it and/or modify - it under the terms of the GNU General Public License as published by - the Free Software Foundation; either version 3, or (at your option) - any later version. - - GAS is distributed in the hope that it will be useful, - but WITHOUT ANY WARRANTY; without even the implied warranty of - MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the - GNU General Public License for more details. - - You should have received a copy of the GNU General Public License - along with GAS; see the file COPYING. If not, write to the Free - Software Foundation, 51 Franklin Street - Fifth Floor, Boston, MA - 02110-1301, USA. */ - -#include "as.h" -#include "emul.h" - -#define emul_format &elf_format_ops - -#define emul_name "i386elf" -#define emul_struct_name i386elf -#define emul_default_endian 0 -#include "emul-target.h" |