diff options
author | Nick Clifton <nickc@redhat.com> | 2005-03-24 20:40:28 +0000 |
---|---|---|
committer | Nick Clifton <nickc@redhat.com> | 2005-03-24 20:40:28 +0000 |
commit | ea1562b345338540cf9a3c8fa28fbcb6da78fd3e (patch) | |
tree | 365f693777e612e6f40b668d1ec2d43f6a0c32ac /gas/config/tc-d30v.h | |
parent | 1acfb01b60e3f3e877aff2c05a29997719807696 (diff) | |
download | gdb-ea1562b345338540cf9a3c8fa28fbcb6da78fd3e.zip gdb-ea1562b345338540cf9a3c8fa28fbcb6da78fd3e.tar.gz gdb-ea1562b345338540cf9a3c8fa28fbcb6da78fd3e.tar.bz2 |
Convert unmaintained files over to ISO-C90 and fix formatting.
Diffstat (limited to 'gas/config/tc-d30v.h')
-rw-r--r-- | gas/config/tc-d30v.h | 28 |
1 files changed, 15 insertions, 13 deletions
diff --git a/gas/config/tc-d30v.h b/gas/config/tc-d30v.h index 7306817..6d0853c 100644 --- a/gas/config/tc-d30v.h +++ b/gas/config/tc-d30v.h @@ -1,5 +1,6 @@ /* tc-310v.h -- Header file for tc-d30v.c. - Copyright 1997, 1998, 2000, 2001, 2002 Free Software Foundation, Inc. + Copyright 1997, 1998, 2000, 2001, 2002, 2005 + Free Software Foundation, Inc. Written by Martin Hunt, Cygnus Support. This file is part of GAS, the GNU Assembler. @@ -26,39 +27,40 @@ #endif /* The target BFD architecture. */ -#define TARGET_ARCH bfd_arch_d30v -#define TARGET_FORMAT "elf32-d30v" -#define TARGET_BYTES_BIG_ENDIAN 1 +#define TARGET_ARCH bfd_arch_d30v +#define TARGET_FORMAT "elf32-d30v" +#define TARGET_BYTES_BIG_ENDIAN 1 #define md_operand(x) /* Call md_pcrel_from_section, not md_pcrel_from. */ struct fix; -extern long md_pcrel_from_section PARAMS ((struct fix *, segT)); -#define MD_PCREL_FROM_SECTION(FIX, SEC) md_pcrel_from_section(FIX, SEC) +extern long md_pcrel_from_section (struct fix *, segT); +#define MD_PCREL_FROM_SECTION(FIX, SEC) md_pcrel_from_section (FIX, SEC) /* Permit temporary numeric labels. */ #define LOCAL_LABELS_FB 1 -#define DIFF_EXPR_OK /* .-foo gets turned into PC relative relocs */ +/* .-foo gets turned into PC relative relocs. */ +#define DIFF_EXPR_OK /* We don't need to handle .word strangely. */ #define WORKING_DOT_WORD #define md_number_to_chars number_to_chars_bigendian -int d30v_cleanup PARAMS ((int)); +int d30v_cleanup (int); #define md_after_pass_hook() d30v_cleanup (FALSE) #define md_cleanup() d30v_cleanup (FALSE) #define TC_START_LABEL(ch, ptr) (ch == ':' && d30v_cleanup (FALSE)) -void d30v_start_line PARAMS ((void)); +void d30v_start_line (void); #define md_start_line_hook() d30v_start_line () -void d30v_frob_label PARAMS ((symbolS *)); -#define tc_frob_label(sym) d30v_frob_label(sym) +void d30v_frob_label (symbolS *); +#define tc_frob_label(sym) d30v_frob_label (sym) -void d30v_cons_align PARAMS ((int)); -#define md_cons_align(nbytes) d30v_cons_align(nbytes) +void d30v_cons_align (int); +#define md_cons_align(nbytes) d30v_cons_align (nbytes) /* Values passed to md_apply_fix3 don't include the symbol value. */ #define MD_APPLY_SYM_VALUE(FIX) 0 |