summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorNathan Sidwell <nathan@codesourcery.com>2005-02-07 17:53:26 +0000
committerNathan Sidwell <nathan@codesourcery.com>2005-02-07 17:53:26 +0000
commit9498372c5926367dd1813fa7e83342e0e96d9e2e (patch)
tree31a248fe0fd8f70e35ecfef01c121f5f68cf8cdd
parent4636df692806a2ec84eace1d6a7252071b28f160 (diff)
downloadbinutils-redhat-9498372c5926367dd1813fa7e83342e0e96d9e2e.tar.gz
* as.h (seg_not_empty_p): Return int, not bfd_boolean.
* subsegs.c (seg_not_empty_p): Likewise.
-rw-r--r--gas/ChangeLog5
-rw-r--r--gas/as.h2
-rw-r--r--gas/subsegs.c2
3 files changed, 7 insertions, 2 deletions
diff --git a/gas/ChangeLog b/gas/ChangeLog
index ceb6e6ba47..42bd4c911c 100644
--- a/gas/ChangeLog
+++ b/gas/ChangeLog
@@ -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
diff --git a/gas/as.h b/gas/as.h
index 9ffc99cda9..354f1832ec 100644
--- a/gas/as.h
+++ b/gas/as.h
@@ -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);
diff --git a/gas/subsegs.c b/gas/subsegs.c
index 287dd1700c..828fa4ae6c 100644
--- a/gas/subsegs.c
+++ b/gas/subsegs.c
@@ -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);