aboutsummaryrefslogtreecommitdiff
path: root/ld/emultempl
diff options
context:
space:
mode:
authorNick Clifton <nickc@redhat.com>2001-05-02 18:14:31 +0000
committerNick Clifton <nickc@redhat.com>2001-05-02 18:14:31 +0000
commitc7e4034828d7cb7e6c862cacd5b268c4e13035e1 (patch)
treea335c56efa6e2080699749cacb5b7bf2760bc60a /ld/emultempl
parentd1b2b2dcb9990cc1b113ce35fe9ebe120d34b1c3 (diff)
downloadgdb-c7e4034828d7cb7e6c862cacd5b268c4e13035e1.zip
gdb-c7e4034828d7cb7e6c862cacd5b268c4e13035e1.tar.gz
gdb-c7e4034828d7cb7e6c862cacd5b268c4e13035e1.tar.bz2
Add gas and ld support for openrisc
Diffstat (limited to 'ld/emultempl')
-rw-r--r--ld/emultempl/aix.em2
-rw-r--r--ld/emultempl/beos.em2
2 files changed, 2 insertions, 2 deletions
diff --git a/ld/emultempl/aix.em b/ld/emultempl/aix.em
index 2d26587..0dc332b 100644
--- a/ld/emultempl/aix.em
+++ b/ld/emultempl/aix.em
@@ -857,7 +857,7 @@ gld${EMULATION_NAME}_read_file (filename, import)
n = ((struct export_symbol_list *)
xmalloc (sizeof (struct export_symbol_list)));
n->next = export_symbols;
- n->name = buystring (symname);
+ n->name = xstrdup (symname);
n->syscall = syscall;
export_symbols = n;
}
diff --git a/ld/emultempl/beos.em b/ld/emultempl/beos.em
index f3e73a5..3c9e3ed 100644
--- a/ld/emultempl/beos.em
+++ b/ld/emultempl/beos.em
@@ -739,7 +739,7 @@ gld${EMULATION_NAME}_place_orphan (file, s)
/* Look up the output section. The Microsoft specs say sections names in
image files never contain a '\$'. Fortunately, lang_..._lookup creates
the section if it doesn't exist. */
- output_secname = buystring (secname);
+ output_secname = xstrdup (secname);
ps = strchr (output_secname + 1, '\$');
*ps = 0;
os = lang_output_section_statement_lookup (output_secname);