diff options
author | Nick Clifton <nickc@redhat.com> | 2008-02-14 15:20:26 +0000 |
---|---|---|
committer | Nick Clifton <nickc@redhat.com> | 2008-02-14 15:20:26 +0000 |
commit | e81819a5c075b642b3b4e171d3d0ce77d2c9da47 (patch) | |
tree | 778740cbcf26f2f26cdaebe0f35c588c4d8b417d /bfd/efi-rtdrv-ia32.c | |
parent | d669d37f8d626f00e8b815527f35017e93a0c00b (diff) | |
download | gdb-e81819a5c075b642b3b4e171d3d0ce77d2c9da47.zip gdb-e81819a5c075b642b3b4e171d3d0ce77d2c9da47.tar.gz gdb-e81819a5c075b642b3b4e171d3d0ce77d2c9da47.tar.bz2 |
* efi-rtdrv-ia32.c: New file.
* efi-bsdrv-ia32.c: New file.
* efi-rtdrv-ia64.c: New file.
* efi-bsdrv-ia64.c: New file.
* efi-rtdrv-x86_64.c: New file.
* efi-bsdrv-x86_64.c: New file.
* peicode.h (pe_bfd_object_p): Add support for boot service and
runtime service drivers.
* libpei.h: Add macros for EFI formats, and rename the efi application
format macros to disambiguate.
* targets.c: Add bfd_target _vec externs.
(_bfd_tar): Add EFI _vec entries.
* config.bfd: Add EFI vectors into the selection routines.
* configure.in: add EFI _vec entries.
* configure: Regenerate.
* Makefile.am: Add EFI files.
* Makefile.in: Regenerate.
Diffstat (limited to 'bfd/efi-rtdrv-ia32.c')
-rw-r--r-- | bfd/efi-rtdrv-ia32.c | 36 |
1 files changed, 36 insertions, 0 deletions
diff --git a/bfd/efi-rtdrv-ia32.c b/bfd/efi-rtdrv-ia32.c new file mode 100644 index 0000000..aa47181 --- /dev/null +++ b/bfd/efi-rtdrv-ia32.c @@ -0,0 +1,36 @@ +/* BFD back-end for Intel IA-32 EFI runtime driver files. + Copyright 1999, 2000, 2001, 2002, 2007, 2008 Free Software Foundation, Inc. + Contributed by Peter Jones <pjones@redhat.com> + Based on efi-app-ia32.c by David Mosberger <davidm@hpl.hp.com> + + This file is part of BFD, the Binary File Descriptor library. + + This program 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 of the License, or + (at your option) any later version. + + This program 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 this program; if not, write to the Free Software + Foundation, Inc., 51 Franklin Street - Fifth Floor, Boston, + MA 02110-1301, USA. */ + +#include "sysdep.h" +#include "bfd.h" + +#define TARGET_SYM bfd_efi_rtdrv_ia32_vec +#define TARGET_NAME "efi-rtdrv-ia32" +#define COFF_IMAGE_WITH_PE +#define COFF_WITH_PE +#define PCRELOFFSET TRUE +#define TARGET_UNDERSCORE '_' +#define COFF_LONG_SECTION_NAMES +#define PEI_TARGET_SUBSYSTEM IMAGE_SUBSYSTEM_EFI_RUNTIME_DRIVER +#define PEI_FORCE_MINIMUM_ALIGNMENT + +#include "coff-i386.c" |