aboutsummaryrefslogtreecommitdiff
path: root/ld/emultempl/beos.em
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/beos.em
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/beos.em')
-rw-r--r--ld/emultempl/beos.em2
1 files changed, 1 insertions, 1 deletions
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);