diff options
Diffstat (limited to 'ld/emultempl/mmo.em')
-rw-r--r-- | ld/emultempl/mmo.em | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/ld/emultempl/mmo.em b/ld/emultempl/mmo.em index bfc9c5a..0a7d648 100644 --- a/ld/emultempl/mmo.em +++ b/ld/emultempl/mmo.em @@ -37,7 +37,7 @@ cat >>e${EMULATION_NAME}.c <<EOF from elf32.em. */ static bfd_boolean -mmo_place_orphan (lang_input_statement_type *file, asection *s) +mmo_place_orphan (asection *s) { static struct orphan_save hold_text = { @@ -63,7 +63,7 @@ mmo_place_orphan (lang_input_statement_type *file, asection *s) (regardless of whether the linker script lists it as input). */ if (os != NULL) { - lang_add_section (&os->children, s, os, file); + lang_add_section (&os->children, s, os); return TRUE; } @@ -83,7 +83,7 @@ mmo_place_orphan (lang_input_statement_type *file, asection *s) /* If there's an output section by this name, we'll use it, regardless of section flags, in contrast to what's done in elf32.em. */ - os = lang_insert_orphan (file, s, secname, after, place, NULL, NULL); + os = lang_insert_orphan (s, secname, after, place, NULL, NULL); /* We need an output section for .text as a root, so if there was none (might happen with a peculiar linker script such as in "map |