diff options
author | Nick Clifton <nickc@redhat.com> | 2001-05-02 18:14:31 +0000 |
---|---|---|
committer | Nick Clifton <nickc@redhat.com> | 2001-05-02 18:14:31 +0000 |
commit | c7e4034828d7cb7e6c862cacd5b268c4e13035e1 (patch) | |
tree | a335c56efa6e2080699749cacb5b7bf2760bc60a /ld/emultempl | |
parent | d1b2b2dcb9990cc1b113ce35fe9ebe120d34b1c3 (diff) | |
download | gdb-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.em | 2 | ||||
-rw-r--r-- | ld/emultempl/beos.em | 2 |
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); |