* config/obj-aout.c (obj_aout_frob_symbol): Use bfd_ind_section_ptr and
bfd_und_section_ptr. * subsegs.c (subseg_set_rest): Compare segT values directly, without casting to int first.
This commit is contained in:
parent
7f5f5630fc
commit
3b6d6f715f
2 changed files with 11 additions and 3 deletions
|
@ -1,3 +1,11 @@
|
|||
Thu Jul 14 13:21:06 1994 Ken Raeburn (raeburn@cujo.cygnus.com)
|
||||
|
||||
* config/obj-aout.c (obj_aout_frob_symbol): Use
|
||||
bfd_ind_section_ptr and bfd_und_section_ptr.
|
||||
|
||||
* subsegs.c (subseg_set_rest): Compare segT values directly,
|
||||
without casting to int first.
|
||||
|
||||
Wed Jul 13 14:49:05 1994 Ian Lance Taylor (ian@sanguine.cygnus.com)
|
||||
|
||||
* config/tc-m68k.c (m68k_ip): Change rp to be a const pointer.
|
||||
|
|
|
@ -223,10 +223,10 @@ subseg_set_rest (seg, subseg)
|
|||
* position of chain rooted in frchain_root.
|
||||
*/
|
||||
for (frcP = *(lastPP = &frchain_root);
|
||||
frcP && (int) (frcP->frch_seg) <= (int) seg;
|
||||
frcP && frcP->frch_seg <= seg;
|
||||
frcP = *(lastPP = &frcP->frch_next))
|
||||
{
|
||||
if ((int) (frcP->frch_seg) == (int) seg
|
||||
if (frcP->frch_seg == seg
|
||||
&& frcP->frch_subseg >= subseg)
|
||||
{
|
||||
break;
|
||||
|
@ -254,7 +254,7 @@ subseg_set_rest (seg, subseg)
|
|||
*
|
||||
*/
|
||||
if (!frcP
|
||||
|| ((int) (frcP->frch_seg) > (int) seg
|
||||
|| (frcP->frch_seg > seg
|
||||
|| frcP->frch_subseg > subseg)) /* Kinky logic only works with 2 segments. */
|
||||
{
|
||||
/*
|
||||
|
|
Loading…
Reference in a new issue