1 --- binutils-2.17.50.0.3/bfd/opncls.c.orig 2006-07-15 20:23:49.000000000 +0200
2 +++ binutils-2.17.50.0.3/bfd/opncls.c 2006-09-02 10:21:33.212591250 +0200
7 + /* PLD: check the possible absolute debuginfo path (e.g. /usr/lib/debug/... */
8 + if (separate_debug_file_exists (basename, crc32))
11 dir = strdup (abfd->filename);
18 - /* Strip off any path components in filename. */
19 - filename = lbasename (filename);
21 sect = bfd_get_section_by_name (abfd, GNU_DEBUGLINK);
24 @@ -1439,10 +1440,6 @@
25 crc32 = bfd_calc_gnu_debuglink_crc32 (crc32, buffer, count);
28 - /* Strip off any path components in filename,
29 - now that we no longer need them. */
30 - filename = lbasename (filename);
32 debuglink_size = strlen (filename) + 1;