summaryrefslogtreecommitdiff
path: root/gas/config/tc-cris.h
diff options
context:
space:
mode:
authorHans-Peter Nilsson <hp@axis.com>2005-03-25 04:10:52 +0000
committerHans-Peter Nilsson <hp@axis.com>2005-03-25 04:10:52 +0000
commit695a4822ce79fd4f6d0964091c61e070ff77a189 (patch)
tree2491104492f4b234f11577b9b29580145e7dac93 /gas/config/tc-cris.h
parent4db8334481377e901dd60d4ec4d3f6bb769b2993 (diff)
downloadbinutils-gdb-695a4822ce79fd4f6d0964091c61e070ff77a189.tar.gz
* config/tc-cris.h: Convert to ISO C90.
* config/tc-cris.c: Ditto. (md_estimate_size_before_relax): Remove obsolete comment for parameter "segment_type". (md_begin): Document reason for cast of hash_insert argument. (md_atof): Correct type of parameter "type".
Diffstat (limited to 'gas/config/tc-cris.h')
-rw-r--r--gas/config/tc-cris.h13
1 files changed, 6 insertions, 7 deletions
diff --git a/gas/config/tc-cris.h b/gas/config/tc-cris.h
index bb7a6acca0b..17f8e4cab4b 100644
--- a/gas/config/tc-cris.h
+++ b/gas/config/tc-cris.h
@@ -35,12 +35,12 @@
#define TC_CRIS
/* Multi-target support is always on. */
-extern const char *cris_target_format PARAMS ((void));
+extern const char *cris_target_format (void);
#define TARGET_FORMAT cris_target_format ()
#define TARGET_ARCH bfd_arch_cris
-extern unsigned int cris_mach PARAMS ((void));
+extern unsigned int cris_mach (void);
#define TARGET_MACH (cris_mach ())
#define TARGET_BYTES_BIG_ENDIAN 0
@@ -76,7 +76,7 @@ extern const char FLT_CHARS[];
extern const struct relax_type md_cris_relax_table[];
#define TC_GENERIC_RELAX_TABLE md_cris_relax_table
-long cris_relax_frag PARAMS ((segT, fragS *, long));
+long cris_relax_frag (segT, fragS *, long);
/* GAS only handles relaxations for pc-relative data targeting addresses
in the same segment, so we have to handle the rest on our own. */
@@ -87,7 +87,7 @@ long cris_relax_frag PARAMS ((segT, fragS *, long));
: cris_relax_frag (SEG, FRAGP, STRETCH))
#define TC_FORCE_RELOCATION(FIX) md_cris_force_relocation (FIX)
-extern int md_cris_force_relocation PARAMS ((struct fix *));
+extern int md_cris_force_relocation (struct fix *);
#define IS_CRIS_PIC_RELOC(RTYPE) \
((RTYPE) == BFD_RELOC_CRIS_16_GOT \
@@ -146,9 +146,8 @@ extern int md_cris_force_relocation PARAMS ((struct fix *));
it is only for use with WORKING_DOT_WORD and warns about most stuff.
(still in 2.9.1). */
struct broken_word;
-extern void tc_cris_check_adjusted_broken_word PARAMS ((offsetT,
- struct
- broken_word *));
+extern void tc_cris_check_adjusted_broken_word (offsetT,
+ struct broken_word *);
#define TC_CHECK_ADJUSTED_BROKEN_DOT_WORD(new_offset, brokw) \
tc_cris_check_adjusted_broken_word ((offsetT) (new_offset), brokw)