mirror of
https://github.com/darlinghq/darling-gdb.git
synced 2025-02-10 11:12:23 +00:00
* symbols.c (resolve_symbol_value): Don't permit subtraction of
undefined symbols.
This commit is contained in:
parent
8ee99f93eb
commit
9b4d630bb9
@ -1,3 +1,8 @@
|
||||
1999-06-11 Ian Lance Taylor <ian@zembu.com>
|
||||
|
||||
* symbols.c (resolve_symbol_value): Don't permit subtraction of
|
||||
undefined symbols.
|
||||
|
||||
1999-06-10 Jakub Jelinek <jj@ultra.linux.cz>
|
||||
|
||||
* config/tc-sparc.c (sparc_ip): Don't use side-effect expression
|
||||
|
@ -1040,8 +1040,11 @@ resolve_symbol_value (symp, finalize)
|
||||
expressions, such as IEEE-695. */
|
||||
/* Don't emit messages unless we're finalizing the symbol value,
|
||||
otherwise we may get the same message multiple times. */
|
||||
if ((seg_left != absolute_section || seg_right != absolute_section)
|
||||
&& (op != O_subtract || seg_left != seg_right)
|
||||
if ((seg_left != absolute_section
|
||||
|| seg_right != absolute_section)
|
||||
&& (op != O_subtract
|
||||
|| seg_left != seg_right
|
||||
|| seg_left == undefined_section)
|
||||
&& finalize)
|
||||
{
|
||||
char *file;
|
||||
|
Loading…
x
Reference in New Issue
Block a user