* coffread.c (struct coff_symbol): Change c_value type from `long' to

`CORE_ADDRESS' as it might contain target addresses.
This commit is contained in:
Pierre Muller 2010-09-10 16:12:22 +00:00
parent 37049e3199
commit 5e8db3985c
2 changed files with 6 additions and 1 deletions

View File

@ -1,3 +1,8 @@
2010-09-10 Pierre Muller <muller@ics.u-strasbg.fr>
* coffread.c (struct coff_symbol): Change c_value type from `long' to
`CORE_ADDRESS' as it might contain target addresses.
2010-09-10 Pierre Muller <muller@ics.u-strasbg.fr>
* alpha-mdebug-tdep.c (find_proc_desc): Use SYMBOL_VALUE_BYTES macro

View File

@ -131,7 +131,7 @@ struct coff_symbol
char *c_name;
int c_symnum; /* symbol number of this entry */
int c_naux; /* 0 if syment only, 1 if syment + auxent, etc */
long c_value;
CORE_ADDR c_value;
int c_sclass;
int c_secnum;
unsigned int c_type;