diff options
-rw-r--r-- | ld/ChangeLog.mpw | 6 | ||||
-rw-r--r-- | ld/mpw-em.c | 20 |
2 files changed, 16 insertions, 10 deletions
diff --git a/ld/ChangeLog.mpw b/ld/ChangeLog.mpw index 52ba9aa..9c87a1a 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 ff71544..665dfac 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 = |