mirror of
https://github.com/bebbo/amigaos-binutils-2.14.git
synced 2025-12-08 13:58:25 +00:00
disabled flavor sorting
This commit is contained in:
10
ld/ldfile.c
10
ld/ldfile.c
@ -75,24 +75,26 @@ static bfd_boolean is_sysrooted_pathname
|
|||||||
PARAMS ((const char *, bfd_boolean));
|
PARAMS ((const char *, bfd_boolean));
|
||||||
|
|
||||||
/* Flavour support. */
|
/* Flavour support. */
|
||||||
|
#if 0
|
||||||
static int flavors_cmp PARAMS ((const void *f1, const void *f2));
|
static int flavors_cmp PARAMS ((const void *f1, const void *f2));
|
||||||
|
#endif
|
||||||
static int n_flavors, flavors_len;
|
static int n_flavors, flavors_len;
|
||||||
static char **flavors;
|
static char **flavors;
|
||||||
|
#if 0
|
||||||
static int
|
static int
|
||||||
flavors_cmp (f1, f2)
|
flavors_cmp (f1, f2)
|
||||||
const void *f1, *f2;
|
const void *f1, *f2;
|
||||||
{
|
{
|
||||||
return strcmp (*(char **)f1, *(char **)f2);
|
return strcmp (*(char **)f1, *(char **)f2);
|
||||||
}
|
}
|
||||||
|
#endif
|
||||||
void
|
void
|
||||||
ldfile_sort_flavors ()
|
ldfile_sort_flavors ()
|
||||||
{
|
{
|
||||||
|
#if 0
|
||||||
if (n_flavors > 1)
|
if (n_flavors > 1)
|
||||||
qsort ((void *) flavors, n_flavors, sizeof (char **), flavors_cmp);
|
qsort ((void *) flavors, n_flavors, sizeof (char **), flavors_cmp);
|
||||||
|
#endif
|
||||||
}
|
}
|
||||||
|
|
||||||
void
|
void
|
||||||
|
|||||||
Reference in New Issue
Block a user