aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--ld/ChangeLog6
-rw-r--r--ld/emultempl/pe.em4
2 files changed, 8 insertions, 2 deletions
diff --git a/ld/ChangeLog b/ld/ChangeLog
index d667637..ae17edd 100644
--- a/ld/ChangeLog
+++ b/ld/ChangeLog
@@ -1,3 +1,9 @@
+1999-05-10 Catherine Moore <clm@cygnus.com>
+
+ * emultempl/pe.em (gld_${EMULATION_NAME}_after_open):
+ Check for TARGET_IS_arm_epoc_pe.
+ (gld_${EMULATION_NAME}_before_allocation): Likewise.
+
1999-05-12 Anthony Green <green@cygnus.com>
* ldlang.c (walk_wild, walk_wild_file, walk_wild_section,
diff --git a/ld/emultempl/pe.em b/ld/emultempl/pe.em
index 46ebbe9..6ad4b20 100644
--- a/ld/emultempl/pe.em
+++ b/ld/emultempl/pe.em
@@ -626,7 +626,7 @@ gld_${EMULATION_NAME}_after_open ()
pe_dll_build_sections (output_bfd, &link_info);
#endif
-#ifdef TARGET_IS_armpe
+#if defined(TARGET_IS_armpe) || defined(TARGET_IS_arm_epoc_pe)
{
/* Find a BFD that can hold the interworking stubs. */
LANG_FOR_EACH_INPUT_STATEMENT (is)
@@ -658,7 +658,7 @@ gld_${EMULATION_NAME}_before_allocation()
ppc_allocate_toc_section (&link_info);
#endif /* TARGET_IS_ppcpe */
-#ifdef TARGET_IS_armpe
+#if defined(TARGET_IS_armpe) || defined(TARGET_IS_arm_epoc_pe)
/* FIXME: we should be able to set the size of the interworking stub
section.