| Line 1... |
Line 1... |
/* Target definitions for NN-bit ELF
|
/* Target definitions for NN-bit ELF
|
Copyright 1993, 1994, 1995, 1996, 1997, 1998, 1999, 2000, 2001, 2002,
|
Copyright 1993, 1994, 1995, 1996, 1997, 1998, 1999, 2000, 2001, 2002,
|
2003, 2004, 2005, 2006, 2007, 2008, 2009, 2010 Free Software Foundation, Inc.
|
2003, 2004, 2005, 2006, 2007, 2008, 2009, 2010, 2011
|
|
Free Software Foundation, Inc.
|
|
|
This file is part of BFD, the Binary File Descriptor library.
|
This file is part of BFD, the Binary File Descriptor library.
|
|
|
This program is free software; you can redistribute it and/or modify
|
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
|
it under the terms of the GNU General Public License as published by
|
| Line 641... |
Line 642... |
|
|
#ifndef elf_backend_is_function_type
|
#ifndef elf_backend_is_function_type
|
#define elf_backend_is_function_type _bfd_elf_is_function_type
|
#define elf_backend_is_function_type _bfd_elf_is_function_type
|
#endif
|
#endif
|
|
|
|
#ifndef elf_match_priority
|
|
#define elf_match_priority \
|
|
(ELF_ARCH == bfd_arch_unknown ? 2 : ELF_OSABI == ELFOSABI_NONE ? 1 : 0)
|
|
#endif
|
|
|
extern const struct elf_size_info _bfd_elfNN_size_info;
|
extern const struct elf_size_info _bfd_elfNN_size_info;
|
|
|
static struct elf_backend_data elfNN_bed =
|
static struct elf_backend_data elfNN_bed =
|
{
|
{
|
ELF_ARCH, /* arch */
|
ELF_ARCH, /* arch */
|
| Line 809... |
Line 815... |
FIXME: this really has nothing to do with ELF, this is a characteristic
|
FIXME: this really has nothing to do with ELF, this is a characteristic
|
of the archiver and should be independently tunable. The System V ABI,
|
of the archiver and should be independently tunable. The System V ABI,
|
Chapter 7 (Formats & Protocols), Archive section sets this as 15. */
|
Chapter 7 (Formats & Protocols), Archive section sets this as 15. */
|
15,
|
15,
|
|
|
|
elf_match_priority,
|
|
|
/* Routines to byte-swap various sized integers from the data sections */
|
/* Routines to byte-swap various sized integers from the data sections */
|
bfd_getb64, bfd_getb_signed_64, bfd_putb64,
|
bfd_getb64, bfd_getb_signed_64, bfd_putb64,
|
bfd_getb32, bfd_getb_signed_32, bfd_putb32,
|
bfd_getb32, bfd_getb_signed_32, bfd_putb32,
|
bfd_getb16, bfd_getb_signed_16, bfd_putb16,
|
bfd_getb16, bfd_getb_signed_16, bfd_putb16,
|
|
|
| Line 905... |
Line 913... |
FIXME: this really has nothing to do with ELF, this is a characteristic
|
FIXME: this really has nothing to do with ELF, this is a characteristic
|
of the archiver and should be independently tunable. The System V ABI,
|
of the archiver and should be independently tunable. The System V ABI,
|
Chapter 7 (Formats & Protocols), Archive section sets this as 15. */
|
Chapter 7 (Formats & Protocols), Archive section sets this as 15. */
|
15,
|
15,
|
|
|
|
elf_match_priority,
|
|
|
/* Routines to byte-swap various sized integers from the data sections */
|
/* Routines to byte-swap various sized integers from the data sections */
|
bfd_getl64, bfd_getl_signed_64, bfd_putl64,
|
bfd_getl64, bfd_getl_signed_64, bfd_putl64,
|
bfd_getl32, bfd_getl_signed_32, bfd_putl32,
|
bfd_getl32, bfd_getl_signed_32, bfd_putl32,
|
bfd_getl16, bfd_getl_signed_16, bfd_putl16,
|
bfd_getl16, bfd_getl_signed_16, bfd_putl16,
|
|
|