* as.h (seg_not_empty_p): Return int, not bfd_boolean.

* subsegs.c (seg_not_empty_p): Likewise.
This commit is contained in:
Nathan Sidwell 2005-02-07 17:53:26 +00:00
parent caadb61db9
commit 4ee4d24937
3 changed files with 7 additions and 2 deletions

View file

@ -1,3 +1,8 @@
2005-02-07 Nathan Sidwell <nathan@codesourcery.com>
* as.h (seg_not_empty_p): Return int, not bfd_boolean.
* subsegs.c (seg_not_empty_p): Likewise.
2005-02-07 Inderpreet Singh <inderpreetb@noida.hcltech.com>
* config/tc-maxq.c (md_estimate_size_before_relax): Correct the

View file

@ -577,7 +577,7 @@ segT subseg_new (const char *, subsegT);
segT subseg_force_new (const char *, subsegT);
void subseg_set (segT, subsegT);
int subseg_text_p (segT);
bfd_boolean seg_not_empty_p (segT);
int seg_not_empty_p (segT);
void start_dependencies (char *);
void register_dependency (char *);
void print_dependencies (void);

View file

@ -601,7 +601,7 @@ subseg_text_p (segT sec)
fr_fix == 0 one still contributes data. Think of this as
seg_definitely_not_empty_p. */
bfd_boolean
int
seg_not_empty_p (segT sec)
{
segment_info_type *seginfo = seg_info (sec);