aboutsummaryrefslogtreecommitdiff
path: root/bfd/coffcode.h
diff options
context:
space:
mode:
authorNick Clifton <nickc@redhat.com>1998-03-25 23:48:55 +0000
committerNick Clifton <nickc@redhat.com>1998-03-25 23:48:55 +0000
commit38c574bbd3142416766620fe2b5a1fa276a811b7 (patch)
tree1bd018bdad0c471bd0a945744bf09702f6206bd5 /bfd/coffcode.h
parent98f1f62cb40df91db06637c9bb74483e911a75db (diff)
downloadgdb-38c574bbd3142416766620fe2b5a1fa276a811b7.zip
gdb-38c574bbd3142416766620fe2b5a1fa276a811b7.tar.gz
gdb-38c574bbd3142416766620fe2b5a1fa276a811b7.tar.bz2
Support interworking for thumb-pe and arm-pe targets.
Diffstat (limited to 'bfd/coffcode.h')
-rw-r--r--bfd/coffcode.h12
1 files changed, 6 insertions, 6 deletions
diff --git a/bfd/coffcode.h b/bfd/coffcode.h
index 753b662..5d99b0a 100644
--- a/bfd/coffcode.h
+++ b/bfd/coffcode.h
@@ -1327,7 +1327,7 @@ coff_mkobject_hook (abfd, filehdr, aouthdr)
}
#endif
-#if defined ARM && ! defined COFF_WITH_PE
+#if defined ARM
/* Set the flags field from the COFF header read in */
if (! coff_arm_bfd_set_private_flags (abfd, internal_f->f_flags))
coff->flags = 0;
@@ -3461,7 +3461,7 @@ coff_slurp_symbol_table (abfd)
#endif
case C_EXT:
-#if defined ARM || defined COFF_WITH_PE
+#if defined ARM
case C_THUMBEXT:
case C_THUMBEXTFUNC:
#endif
@@ -3497,7 +3497,7 @@ coff_slurp_symbol_table (abfd)
dst->symbol.flags = BSF_EXPORT | BSF_GLOBAL;
-#if defined (COFF_WITH_PE) || defined (COFF_IMAGE_WITH_PE)
+#if defined COFF_WITH_PE
/* PE sets the symbol to a value relative to the
start of the section. */
dst->symbol.value = src->u.syment.n_value;
@@ -3534,7 +3534,7 @@ coff_slurp_symbol_table (abfd)
#ifdef I960
case C_LEAFSTAT: /* static leaf procedure */
#endif
-#if defined ARM || defined COFF_WITH_PE
+#if defined ARM
case C_THUMBSTAT: /* Thumb static */
case C_THUMBLABEL: /* Thumb label */
case C_THUMBSTATFUNC:/* Thumb static function */
@@ -3549,7 +3549,7 @@ coff_slurp_symbol_table (abfd)
section, if there is one. */
if (dst->symbol.section)
{
-#if defined (COFF_WITH_PE) || defined (COFF_IMAGE_WITH_PE)
+#if defined COFF_WITH_PE
/* PE sets the symbol to a value relative to the
start of the section. */
dst->symbol.value = src->u.syment.n_value;
@@ -3659,7 +3659,7 @@ coff_slurp_symbol_table (abfd)
case C_FCN: /* ".bf" or ".ef" */
case C_EFCN: /* physical end of function */
dst->symbol.flags = BSF_LOCAL;
-#if defined (COFF_WITH_PE) || defined (COFF_IMAGE_WITH_PE)
+#if defined COFF_WITH_PE
/* PE sets the symbol to a value relative to the start
of the section. */
dst->symbol.value = src->u.syment.n_value;