aboutsummaryrefslogtreecommitdiff
path: root/gas/config/tc-sh64.h
diff options
context:
space:
mode:
authorKaz Kojima <kkojima@rr.iij4u.or.jp>2003-10-11 13:40:21 +0000
committerKaz Kojima <kkojima@rr.iij4u.or.jp>2003-10-11 13:40:21 +0000
commit8edc77b9b48e63d0bb26c517e3c815d6fdc73dc1 (patch)
tree5da5871f3ba973c059b73e3f037e44356cb670e7 /gas/config/tc-sh64.h
parentc783cbd61eb7a8027dd97facc6d2f51eb014e909 (diff)
downloadgdb-8edc77b9b48e63d0bb26c517e3c815d6fdc73dc1.zip
gdb-8edc77b9b48e63d0bb26c517e3c815d6fdc73dc1.tar.gz
gdb-8edc77b9b48e63d0bb26c517e3c815d6fdc73dc1.tar.bz2
* config/tc-sh.c: Convert to ISO C90. Remove unnecessary
prototypes and casts. * config/tc-sh.h: Likewise. * config/tc-sh64.c: Likewise. * config/tc-sh64.h: Likewise.
Diffstat (limited to 'gas/config/tc-sh64.h')
-rw-r--r--gas/config/tc-sh64.h28
1 files changed, 14 insertions, 14 deletions
diff --git a/gas/config/tc-sh64.h b/gas/config/tc-sh64.h
index 8280c94..b82fa39 100644
--- a/gas/config/tc-sh64.h
+++ b/gas/config/tc-sh64.h
@@ -28,11 +28,11 @@
SHcompact NOP:s. */
#undef HANDLE_ALIGN
#define HANDLE_ALIGN(frag) sh64_handle_align (frag)
-extern void sh64_handle_align PARAMS ((fragS *));
+extern void sh64_handle_align (fragS *);
#undef MAX_MEM_FOR_RS_ALIGN_CODE
#define MAX_MEM_FOR_RS_ALIGN_CODE sh64_max_mem_for_rs_align_code ()
-extern int sh64_max_mem_for_rs_align_code PARAMS ((void));
+extern int sh64_max_mem_for_rs_align_code (void);
#undef LISTING_HEADER
#define LISTING_HEADER \
@@ -41,7 +41,7 @@ extern int sh64_max_mem_for_rs_align_code PARAMS ((void));
: "SuperH SHcompact/SHmedia Little Endian GAS")
/* We need to record the new frag position after an .align. */
-extern void sh64_do_align PARAMS ((int, const char *, int, int));
+extern void sh64_do_align (int, const char *, int, int);
#define md_do_align(n, fill, len, max, l) \
do { sh64_do_align (n, fill, len, max); goto l; } while (0)
@@ -71,10 +71,10 @@ struct sh64_segment_info_type
#undef TARGET_FORMAT
#define TARGET_FORMAT sh64_target_format ()
-extern const char *sh64_target_format PARAMS ((void));
+extern const char *sh64_target_format (void);
#define TARGET_MACH sh64_target_mach ()
-extern int sh64_target_mach PARAMS ((void));
+extern int sh64_target_mach (void);
#undef TC_FORCE_RELOCATION_LOCAL
#define TC_FORCE_RELOCATION_LOCAL(FIX) \
@@ -126,8 +126,8 @@ extern int sh64_target_mach PARAMS ((void));
#undef md_parse_name
#define md_parse_name(NAME, EXP, CP) \
sh64_consume_datalabel (NAME, EXP, CP, operand)
-extern int sh64_consume_datalabel
- PARAMS ((const char *, expressionS *, char *, segT (*) (expressionS *)));
+extern int sh64_consume_datalabel (const char *, expressionS *, char *,
+ segT (*) (expressionS *));
/* Saying "$" is the same as saying ".". */
#define DOLLAR_DOT
@@ -136,11 +136,11 @@ extern int sh64_consume_datalabel
#define MD_PCREL_FROM_SECTION(FIX, SEC) \
shmedia_md_pcrel_from_section (FIX, SEC)
-extern valueT shmedia_md_pcrel_from_section PARAMS ((struct fix *, segT));
+extern valueT shmedia_md_pcrel_from_section (struct fix *, segT);
/* We need to mark this symbol as a BranchTarget; setting st_other for it
and adding 1 to its value (temporarily). */
-extern void sh64_frob_label PARAMS ((symbolS *));
+extern void sh64_frob_label (symbolS *);
#undef tc_frob_label
#define tc_frob_label(sym) \
@@ -160,19 +160,19 @@ extern void sh64_frob_label PARAMS ((symbolS *));
} \
while (0)
-extern int sh64_exclude_symbol PARAMS ((symbolS *));
+extern int sh64_exclude_symbol (symbolS *);
-extern void sh64_adjust_symtab PARAMS ((void));
+extern void sh64_adjust_symtab (void);
#define tc_adjust_symtab sh64_adjust_symtab
#undef md_flush_pending_output
#define md_flush_pending_output() sh64_flush_pending_output ()
-extern void sh64_flush_pending_output PARAMS ((void));
+extern void sh64_flush_pending_output (void);
/* Note that tc-sh.c has a sh_frob_section, but it's called from
tc_frob_file_before_adjust. */
#define tc_frob_section(sec) shmedia_frob_section_type (sec)
-extern void shmedia_frob_section_type PARAMS ((asection *));
+extern void shmedia_frob_section_type (asection *);
/* We need to emit fixups relative to the frag in which the instruction
resides. Safest way without calculating max fragment growth or making
@@ -215,7 +215,7 @@ extern enum sh64_isa_values sh64_isa_mode;
extern fragS *sh64_last_insn_frag;
#define md_end() shmedia_md_end ()
-void shmedia_md_end PARAMS ((void));
+void shmedia_md_end (void);
/* Because we make .debug_line hold the SHmedia instruction address | 1,
we have to say we only have minimum byte-size insns. */