aboutsummaryrefslogtreecommitdiff
path: root/ld/emultempl/beos.em
diff options
context:
space:
mode:
authorKai Tietz <kai.tietz@onevision.com>2011-02-28 18:34:52 +0000
committerKai Tietz <kai.tietz@onevision.com>2011-02-28 18:34:52 +0000
commit426278217bb00a4eb13f360b408fae9368f3a3af (patch)
treeac8da852b38f21121ea96de78d48e623329498fd /ld/emultempl/beos.em
parent8b6efd89a4135971b748c958a852d093b3d79d3d (diff)
downloadgdb-426278217bb00a4eb13f360b408fae9368f3a3af.zip
gdb-426278217bb00a4eb13f360b408fae9368f3a3af.tar.gz
gdb-426278217bb00a4eb13f360b408fae9368f3a3af.tar.bz2
2011-02-28 Kai Tietz <kai.tietz@onevision.com>
* emultempl/beos.em (sort_by_file_name): Use filename_(n)cmp. * emultempl/elf32.em (gld${EMULATION_NAME}_vercheck): Likewise. (gld${EMULATION_NAME}_stat_needed): Likewise. (gld${EMULATION_NAME}_check_needed): Likewise. * emultempl/pe.em (gld_${EMULATION_NAME}_after_open): Likewise. (gld_${EMULATION_NAME}_unrecognized_file): Likewise. * emultempl/pep.em (gld_${EMULATION_NAME}_after_open): Likewise. (gld_${EMULATION_NAME}_unrecognized_file): Likewise. * ldfile.c (ldfile_open_file): Likewise. * ldlang.c (wild_sort): Likewise. (lookup_name): Likewise. (check_excluded_libs): Likewise. * ldmisc.c (vfinfo): Likewise. * pe-dll.c (libnamencmp): Likewise. (auto_export): Likewise. (pe_dll_generate_implib): Likewise. * testplug.c (onclaim_file): Likewise.
Diffstat (limited to 'ld/emultempl/beos.em')
-rw-r--r--ld/emultempl/beos.em9
1 files changed, 5 insertions, 4 deletions
diff --git a/ld/emultempl/beos.em b/ld/emultempl/beos.em
index 6dc6375..cd96729 100644
--- a/ld/emultempl/beos.em
+++ b/ld/emultempl/beos.em
@@ -40,6 +40,7 @@ fragment <<EOF
#include "bfdlink.h"
#include "getopt.h"
#include "libiberty.h"
+#include "filenames.h"
#include "ld.h"
#include "ldmain.h"
#include "ldexp.h"
@@ -396,13 +397,13 @@ sort_by_file_name (const void *a, const void *b)
const lang_statement_union_type *const *rb = b;
int i, a_sec, b_sec;
- i = strcmp ((*ra)->input_section.section->owner->my_archive->filename,
- (*rb)->input_section.section->owner->my_archive->filename);
+ i = filename_cmp ((*ra)->input_section.section->owner->my_archive->filename,
+ (*rb)->input_section.section->owner->my_archive->filename);
if (i != 0)
return i;
- i = strcmp ((*ra)->input_section.section->owner->filename,
- (*rb)->input_section.section->owner->filename);
+ i = filename_cmp ((*ra)->input_section.section->owner->filename,
+ (*rb)->input_section.section->owner->filename);
if (i != 0)
return i;
/* the tail idata4/5 are the only ones without relocs to an