Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(903)

Unified Diff: bfd/elf32-metag.h

Issue 124383005: GDB 7.6.50 (Closed) Base URL: http://git.chromium.org/native_client/nacl-gdb.git@upstream
Patch Set: Created 6 years, 11 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
« no previous file with comments | « bfd/elf32-mep.c ('k') | bfd/elf32-metag.c » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
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 */
« no previous file with comments | « bfd/elf32-mep.c ('k') | bfd/elf32-metag.c » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698