From d9abc278a6ffdf2dd6bd847195a361081eb055cf Mon Sep 17 00:00:00 2001 From: Stan Shebs Date: Fri, 4 Mar 1994 19:53:16 +0000 Subject: [PATCH] Fri Mar 4 11:43:47 1994 Stan Shebs (shebs@andros.cygnus.com) * ldlang.c (lookup_name): Stomp on a pointer if in MPW. * mpw-em.c: Edit to reflect changed syntax of compiled-in linker scripts. --- ld/ChangeLog.mpw | 6 ++++++ ld/mpw-em.c | 20 ++++++++++---------- 2 files changed, 16 insertions(+), 10 deletions(-) diff --git a/ld/ChangeLog.mpw b/ld/ChangeLog.mpw index 52ba9aa8811..9c87a1a2314 100644 --- a/ld/ChangeLog.mpw +++ b/ld/ChangeLog.mpw @@ -1,3 +1,9 @@ +Fri Mar 4 11:43:47 1994 Stan Shebs (shebs@andros.cygnus.com) + + * ldlang.c (lookup_name): Stomp on a pointer if in MPW. + * mpw-em.c: Edit to reflect changed syntax of compiled-in linker + scripts. + Mon Feb 28 11:07:41 1994 Stan Shebs (shebs@andros.cygnus.com) * mpw-build.in: Remove, subsumed in mpw-make.in. diff --git a/ld/mpw-em.c b/ld/mpw-em.c index ff715440f58..665dfacc272 100644 --- a/ld/mpw-em.c +++ b/ld/mpw-em.c @@ -51,7 +51,7 @@ gldmipsidt_get_script(isfile) *isfile = 0; if (link_info.relocateable == true && config.build_constructors == true) - return "{OUTPUT_FORMAT(\"ecoff-bigmips\")\n\ + return "OUTPUT_FORMAT(\"ecoff-bigmips\")\n\ ENTRY(start)\n\ SECTIONS\n\ {\n\ @@ -88,9 +88,9 @@ SECTIONS\n\ *(.bss)\n\ *(COMMON)\n\ }\n\ -}\n\n}"; +}\n\n"; else if (link_info.relocateable == true) - return "{OUTPUT_FORMAT(\"ecoff-bigmips\")\n\ + return "OUTPUT_FORMAT(\"ecoff-bigmips\")\n\ ENTRY(start)\n\ SECTIONS\n\ {\n\ @@ -126,9 +126,9 @@ SECTIONS\n\ *(.bss)\n\ *(COMMON)\n\ }\n\ -}\n\n}"; +}\n\n"; else if (!config.text_read_only) - return "{OUTPUT_FORMAT(\"ecoff-bigmips\")\n\ + return "OUTPUT_FORMAT(\"ecoff-bigmips\")\n\ ENTRY(start)\n\ SECTIONS\n\ {\n\ @@ -172,9 +172,9 @@ SECTIONS\n\ }\n\ end = .;\n\ _end = .;\n\ -}\n\n}"; +}\n\n"; else if (!config.magic_demand_paged) - return "{OUTPUT_FORMAT(\"ecoff-bigmips\")\n\ + return "OUTPUT_FORMAT(\"ecoff-bigmips\")\n\ ENTRY(start)\n\ SECTIONS\n\ {\n\ @@ -218,9 +218,9 @@ SECTIONS\n\ }\n\ end = .;\n\ _end = .;\n\ -}\n\n}"; +}\n\n"; else - return "{OUTPUT_FORMAT(\"ecoff-bigmips\")\n\ + return "OUTPUT_FORMAT(\"ecoff-bigmips\")\n\ ENTRY(start)\n\ SECTIONS\n\ {\n\ @@ -264,7 +264,7 @@ SECTIONS\n\ }\n\ end = .;\n\ _end = .;\n\ -}\n\n}"; +}\n\n"; } struct ld_emulation_xfer_struct ld_mipsidt_emulation = -- 2.30.2