mirror of
https://github.com/darlinghq/darling-gdb.git
synced 2025-01-22 09:04:58 +00:00
* gas/symbols.c: While discarding ordinary local absolute symbols
when --strip-local-absolute is in effect, retain file symbols.
This commit is contained in:
parent
e6f12cf6cb
commit
bb82af9ffe
@ -1,3 +1,8 @@
|
||||
2004-06-21 Jan Beulich <jbeulich@novell.com>
|
||||
|
||||
* gas/symbols.c: While discarding ordinary local absolute symbols
|
||||
when --strip-local-absolute is in effect, retain file symbols.
|
||||
|
||||
2004-06-20 Andreas Schwab <schwab@suse.de>
|
||||
|
||||
* config/tc-m68k.c (mri_chip): Replace current_chip, not augment.
|
||||
|
@ -1812,7 +1812,9 @@ S_IS_LOCAL (symbolS *s)
|
||||
return 1;
|
||||
|
||||
if (flag_strip_local_absolute
|
||||
&& (flags & BSF_GLOBAL) == 0
|
||||
/* Keep BSF_FILE symbols in order to allow debuggers to identify
|
||||
the source file even when the object file is stripped. */
|
||||
&& (flags & (BSF_GLOBAL | BSF_FILE)) == 0
|
||||
&& bfd_get_section (s->bsym) == absolute_section)
|
||||
return 1;
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user