* partial-stab.h: Revert previous patch.
This commit is contained in:
parent
34a7837abd
commit
9fd7143a93
2 changed files with 8 additions and 5 deletions
|
@ -1,3 +1,7 @@
|
|||
2001-05-29 Christopher Faylor <cgf@redhat.com>
|
||||
|
||||
* partial-stab.h: Revert previous patch.
|
||||
|
||||
2001-05-29 Christopher Faylor <cgf@redhat.com>
|
||||
|
||||
* partial-stab.h: Consistently guard against pst being NULL.
|
||||
|
|
|
@ -600,11 +600,10 @@ switch (CUR_SYMBOL_TYPE)
|
|||
the bounds created by N_SO symbols. If that's the case
|
||||
use the address of this function as the low bound for
|
||||
the partial symbol table. */
|
||||
if (pst
|
||||
&& (textlow_not_set
|
||||
if (textlow_not_set
|
||||
|| (pst && CUR_SYMBOL_VALUE < pst->textlow
|
||||
&& CUR_SYMBOL_VALUE
|
||||
!= ANOFFSET (objfile->section_offsets, SECT_OFF_TEXT (objfile)))))
|
||||
!= ANOFFSET (objfile->section_offsets, SECT_OFF_TEXT (objfile))))
|
||||
{
|
||||
pst->textlow = CUR_SYMBOL_VALUE;
|
||||
textlow_not_set = 0;
|
||||
|
|
Loading…
Reference in a new issue