aboutsummaryrefslogtreecommitdiff
path: root/bfd/pe-arm-wince.c
diff options
context:
space:
mode:
authorAlan Modra <amodra@gmail.com>2019-09-23 10:06:45 +0930
committerAlan Modra <amodra@gmail.com>2019-09-23 10:27:21 +0930
commitf37164d78b0d9600862b7038b896922127749b52 (patch)
tree8cba4ad4f4736f03cbb53e2c90284443492ebd0f /bfd/pe-arm-wince.c
parent79c2ce54e1e52e5d63d96af56c544de778036a12 (diff)
downloadgdb-f37164d78b0d9600862b7038b896922127749b52.zip
gdb-f37164d78b0d9600862b7038b896922127749b52.tar.gz
gdb-f37164d78b0d9600862b7038b896922127749b52.tar.bz2
arm bfd.h tidy
bfd/ * bfd-in.h: Move arm declaraions.. * cpu-arm.h: ..to here, new file.. * coff-arm.h: ..and here, new file.. * elf32-arm.h: ..and here, new file. * cpu-arm.c: Include cpu-arm.h. * coff-arm.c: Include cpu-arm.h and coff-arm.h. * elf32-arm.c: Include cpu-arm.h and elf32-arm.h. * pe-arm.c: Move function rename defines later. * pe-arm-wince.c: Likewise and include sysdep.h and bfd.h early. * bfd-in2.h: Regenerate. gas/ * config/tc-arm.c: Include cpu-arm.h. ld/ * emultempl/armelf.em: Include elf32-arm.h. * emultempl/pe.em: Move func defines later and include coff-arm.h.
Diffstat (limited to 'bfd/pe-arm-wince.c')
-rw-r--r--bfd/pe-arm-wince.c17
1 files changed, 8 insertions, 9 deletions
diff --git a/bfd/pe-arm-wince.c b/bfd/pe-arm-wince.c
index d3d52ee..733b838 100644
--- a/bfd/pe-arm-wince.c
+++ b/bfd/pe-arm-wince.c
@@ -18,6 +18,9 @@
Foundation, Inc., 51 Franklin Street - Fifth Floor, Boston,
MA 02110-1301, USA. */
+#include "sysdep.h"
+#include "bfd.h"
+
#define TARGET_UNDERSCORE 0
#define USER_LABEL_PREFIX ""
@@ -26,6 +29,11 @@
#define TARGET_BIG_SYM arm_pe_wince_be_vec
#define TARGET_BIG_NAME "pe-arm-wince-big"
+#define LOCAL_LABEL_PREFIX "."
+
+#undef bfd_pe_print_pdata
+#define bfd_pe_print_pdata _bfd_pe_print_ce_compressed_pdata
+
#define bfd_arm_allocate_interworking_sections \
bfd_arm_wince_pe_allocate_interworking_sections
#define bfd_arm_get_bfd_for_interworking \
@@ -33,13 +41,4 @@
#define bfd_arm_process_before_allocation \
bfd_arm_wince_pe_process_before_allocation
-#define LOCAL_LABEL_PREFIX "."
-
-#include "sysdep.h"
-#include "bfd.h"
-
-#undef bfd_pe_print_pdata
-#define bfd_pe_print_pdata _bfd_pe_print_ce_compressed_pdata
-
#include "pe-arm.c"
-