| Index: bfd/elf32-metag.h
|
| diff --git a/bfd/pe-mcore.c b/bfd/elf32-metag.h
|
| similarity index 57%
|
| copy from bfd/pe-mcore.c
|
| copy to bfd/elf32-metag.h
|
| index 32791c36984b5511c5f303166a4aff0389276b65..46772e01992dcb3e1e83845f866d6f6179d636c7 100644
|
| --- a/bfd/pe-mcore.c
|
| +++ b/bfd/elf32-metag.h
|
| @@ -1,5 +1,6 @@
|
| -/* BFD back-end for MCore PECOFF files.
|
| - Copyright 1999, 2002, 2005, 2007, 2008 Free Software Foundation, Inc.
|
| +/* Meta support for 32-bit ELF
|
| + Copyright (C) 2013 Free Software Foundation, Inc.
|
| + Contributed by Imagination Technologies Ltd.
|
|
|
| This file is part of BFD, the Binary File Descriptor library.
|
|
|
| @@ -18,24 +19,20 @@
|
| Foundation, Inc., 51 Franklin Street - Fifth Floor, Boston,
|
| MA 02110-1301, USA. */
|
|
|
| -#include "sysdep.h"
|
| -#include "bfd.h"
|
| +#ifndef _ELF32_METAG_H
|
| +#define _ELF32_METAG_H
|
|
|
| -#ifndef TARGET_BIG_SYM
|
| -#define TARGET_BIG_SYM mcore_pe_big_vec
|
| -#define TARGET_BIG_NAME "pe-mcore-big"
|
| -#define TARGET_LITTLE_SYM mcore_pe_little_vec
|
| -#define TARGET_LITTLE_NAME "pe-mcore-little"
|
| -#endif
|
| +extern int elf_metag_setup_section_lists
|
| + (bfd *, struct bfd_link_info *);
|
|
|
| -#define COFF_WITH_PE
|
| -#define PCRELOFFSET TRUE
|
| -#define COFF_LONG_SECTION_NAMES
|
| +extern void elf_metag_next_input_section
|
| + (struct bfd_link_info *, asection *);
|
|
|
| -#define MCORE_PE
|
| +extern bfd_boolean elf_metag_size_stubs
|
| + (bfd *, bfd *, struct bfd_link_info *, bfd_signed_vma,
|
| + asection * (*) (const char *, asection *), void (*) (void));
|
|
|
| -#ifndef bfd_pe_print_pdata
|
| -#define bfd_pe_print_pdata NULL
|
| -#endif
|
| +extern bfd_boolean elf_metag_build_stubs
|
| + (struct bfd_link_info *);
|
|
|
| -#include "coff-mcore.c"
|
| +#endif /* _ELF32_METAG_H */
|
|
|