mirror of
https://github.com/espressif/binutils-gdb.git
synced 2025-06-21 02:24:17 +08:00
* dbxread.c (process_one_symbol): Deal with SunOS4 acc N_STSYM and
N_GSYM functions.
This commit is contained in:
@ -1882,6 +1882,7 @@ process_one_symbol (type, desc, valu, name, section_offsets, objfile)
|
|||||||
case 'F':
|
case 'F':
|
||||||
function_stab_type = type;
|
function_stab_type = type;
|
||||||
|
|
||||||
|
#ifdef SUN_FIXED_LBRAC_BUG
|
||||||
/* The Sun acc compiler, under SunOS4, puts out
|
/* The Sun acc compiler, under SunOS4, puts out
|
||||||
functions with N_GSYM or N_STSYM. The problem is
|
functions with N_GSYM or N_STSYM. The problem is
|
||||||
that the address of the symbol is no good (for N_GSYM
|
that the address of the symbol is no good (for N_GSYM
|
||||||
@ -1914,7 +1915,6 @@ process_one_symbol (type, desc, valu, name, section_offsets, objfile)
|
|||||||
valu = last_pc_address;
|
valu = last_pc_address;
|
||||||
}
|
}
|
||||||
|
|
||||||
#ifdef SUN_FIXED_LBRAC_BUG
|
|
||||||
last_pc_address = valu; /* Save for SunOS bug circumcision */
|
last_pc_address = valu; /* Save for SunOS bug circumcision */
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
|
Reference in New Issue
Block a user