Don't check for backslashes in file names
unless HAVE_DOS_BASED_FILE_SYSTEM is defined.
This commit is contained in:
parent
8855cbcaee
commit
c7f2731ef2
@ -1,5 +1,9 @@
|
||||
2001-01-24 Mark Elbrecht <snowball3@bigfoot.com>
|
||||
|
||||
* ieee.c: Update copyright.
|
||||
(ieee_start_compilation_unit): Don't check for backslashes
|
||||
unless HAVE_DOS_BASED_FILE_SYSTEM is defined.
|
||||
|
||||
* stabs.c: Update copyright. Include "filenames.h".
|
||||
(parse_stab): Use IS_ABSOLUTE_PATH. Ignore N_WARNING stabs.
|
||||
|
||||
@ -324,10 +328,10 @@ Mon Dec 11 14:30:21 MET 2000 Jan Hubicka <jh@suse.cz>
|
||||
|
||||
2000-07-05 Kenneth Block <krblock@computer.org>
|
||||
|
||||
* binutils/nm.c: Add optional style to demangle switch.
|
||||
* binutils/objdump.c: Add optional style to demangle switch.
|
||||
* binutils/addr2line.c: Add optional style to demangle switch.
|
||||
* binutils/binutils.texi: Document optional style to demangle
|
||||
* binutils/nm.c: Add optional style to demangle switch.
|
||||
* binutils/objdump.c: Add optional style to demangle switch.
|
||||
* binutils/addr2line.c: Add optional style to demangle switch.
|
||||
* binutils/binutils.texi: Document optional style to demangle
|
||||
switch.
|
||||
|
||||
2000-07-20 Hans-Peter Nilsson <hp@axis.com>
|
||||
@ -636,7 +640,7 @@ Fri Apr 21 13:20:53 2000 Richard Henderson <rth@cygnus.com>
|
||||
* arlex.l: Add directives to increase lex buffer size.
|
||||
|
||||
* objdump.c, readelf.c: Don't include strarg.h or varargs.h. They are
|
||||
already included by bucomm.h.
|
||||
already included by bucomm.h.
|
||||
|
||||
2000-04-10 Philippe De Muyter <phdm@macqel.be>
|
||||
|
||||
@ -647,7 +651,7 @@ Fri Apr 21 13:20:53 2000 Richard Henderson <rth@cygnus.com>
|
||||
Fri Apr 7 15:56:57 2000 Andrew Cagney <cagney@b1.cygnus.com>
|
||||
|
||||
* configure.in (WARN_CFLAGS): Set to -W -Wall by default. Add
|
||||
--enable-build-warnings option.
|
||||
--enable-build-warnings option.
|
||||
* Makefile.am (AM_CFLAGS, WARN_CFLAGS): Add definitions.
|
||||
* Makefile.in, configure: Re-generate.
|
||||
|
||||
@ -944,12 +948,12 @@ Fri Apr 7 15:56:57 2000 Andrew Cagney <cagney@b1.cygnus.com>
|
||||
|
||||
2000-01-27 Thomas de Lellis <tdel@windriver.com>
|
||||
|
||||
* nm.c (print_symbol_info_bsd): Use bfd_is_undefined_symclass to
|
||||
* nm.c (print_symbol_info_bsd): Use bfd_is_undefined_symclass to
|
||||
check to unresolved symbols.
|
||||
(print_symbol_info_sysv): Ditto.
|
||||
(print_symbol_info_posix): Ditto.
|
||||
(print_symbol_info_sysv): Ditto.
|
||||
(print_symbol_info_posix): Ditto.
|
||||
|
||||
* binutils.texi: Document new 'V' symclass flag for nm.
|
||||
* binutils.texi: Document new 'V' symclass flag for nm.
|
||||
|
||||
2000-01-27 Nick Clifton <nickc@redhat.com>
|
||||
|
||||
@ -1030,7 +1034,7 @@ Fri Apr 7 15:56:57 2000 Andrew Cagney <cagney@b1.cygnus.com>
|
||||
2000-01-03 Nick Clifton <nickc@cygnus.com>
|
||||
|
||||
* binutils.texi: Document new, ARM specific disassembler
|
||||
command line switch "-M force-thumb".For older changes see ChangeLog-9697
|
||||
command line switch "-M force-thumb".
|
||||
|
||||
For older changes see ChangeLog-9899
|
||||
|
||||
|
@ -1,5 +1,5 @@
|
||||
/* ieee.c -- Read and write IEEE-695 debugging information.
|
||||
Copyright (C) 1996, 1998, 1999, 2000 Free Software Foundation, Inc.
|
||||
Copyright 1996, 1998, 1999, 2000, 2001 Free Software Foundation, Inc.
|
||||
Written by Ian Lance Taylor <ian@cygnus.com>.
|
||||
|
||||
This file is part of GNU Binutils.
|
||||
@ -4927,7 +4927,9 @@ ieee_start_compilation_unit (p, filename)
|
||||
{
|
||||
struct ieee_handle *info = (struct ieee_handle *) p;
|
||||
const char *modname;
|
||||
#ifdef HAVE_DOS_BASED_FILE_SYSTEM
|
||||
const char *backslash;
|
||||
#endif
|
||||
char *c, *s;
|
||||
unsigned int nindx;
|
||||
|
||||
@ -4939,10 +4941,12 @@ ieee_start_compilation_unit (p, filename)
|
||||
|
||||
info->filename = filename;
|
||||
modname = strrchr (filename, '/');
|
||||
#ifdef HAVE_DOS_BASED_FILE_SYSTEM
|
||||
/* We could have a mixed forward/back slash case. */
|
||||
backslash = strrchr (filename, '\\');
|
||||
if (modname == NULL || (backslash != NULL && backslash > modname))
|
||||
modname = backslash;
|
||||
#endif
|
||||
|
||||
if (modname != NULL)
|
||||
++modname;
|
||||
|
Loading…
Reference in New Issue
Block a user