aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorStan Shebs <shebs@codesourcery.com>1994-03-04 19:53:16 +0000
committerStan Shebs <shebs@codesourcery.com>1994-03-04 19:53:16 +0000
commitd9abc278a6ffdf2dd6bd847195a361081eb055cf (patch)
treeb7c367fca83df6b5ac2affbb526a16a52b9be621
parent70e43abe7c41fcf6b7682aab3c6fd9716c255dc2 (diff)
downloadgdb-d9abc278a6ffdf2dd6bd847195a361081eb055cf.zip
gdb-d9abc278a6ffdf2dd6bd847195a361081eb055cf.tar.gz
gdb-d9abc278a6ffdf2dd6bd847195a361081eb055cf.tar.bz2
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.
-rw-r--r--ld/ChangeLog.mpw6
-rw-r--r--ld/mpw-em.c20
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 =