aboutsummaryrefslogtreecommitdiff
path: root/gas/config/tc-v850.h
diff options
context:
space:
mode:
authorAlan Modra <amodra@gmail.com>2002-02-01 16:29:21 +0000
committerAlan Modra <amodra@gmail.com>2002-02-01 16:29:21 +0000
commit9e0665bc9af8a002bc0683fc963f6885b2b929f8 (patch)
tree5da6d0438617e628875af409a78da2bf84bf124b /gas/config/tc-v850.h
parent0defa245fc33ed9585f8f2f0f898f26e31801ee0 (diff)
downloadgdb-9e0665bc9af8a002bc0683fc963f6885b2b929f8.zip
gdb-9e0665bc9af8a002bc0683fc963f6885b2b929f8.tar.gz
gdb-9e0665bc9af8a002bc0683fc963f6885b2b929f8.tar.bz2
* config/tc-v850.c: Add missing prototypes amd use old-style
function definitions. (AREA_ZDA, AREA_SDA, AREA_TDA): Delete. (sdata_section tdata_section, zdata_section, sbss_section, tbss_section, zbss_section, rosdata_section, rozdata_section, scommon_section, tcommon_section, zcommon_section, call_table_data_section, call_table_text_section): Delete. (v850_sdata, v850_tdata, v850_zdata, v850_sbss, v850_tbss, v850_zbss, v850_bss, v850_rosdata, v850_rozdata, v850_call_table_data, v850_call_table_text): Delete. (struct v850_seg_entry): New. (v850_seg_table): New. (SDATA_SECTION TDATA_SECTION, ZDATA_SECTION, SBSS_SECTION, TBSS_SECTION, ZBSS_SECTION, BSS_SECTION, ROSDATA_SECTION, ROZDATA_SECTION, SCOMMON_SECTION, TCOMMON_SECTION, ZCOMMON_SECTION, CALL_TABLE_DATA_SECTION, CALL_TABLE_TEXT_SECTION): Define. (do_v850_seg): New. (v850_seg): New. (v850_comm): Use do_v850_seg and v850_seg_table. Simplify recording of alignment. (md_pseudo_table): Use v850_seg. (md_begin): Don't init .call_table_data and .call_table_text here. Set v850_seg_table bss entry. * config/tc-v850.h (v850_pcrel_from_section): Prototype. * gas/elf/elf.exp: Don't special case v850.
Diffstat (limited to 'gas/config/tc-v850.h')
-rw-r--r--gas/config/tc-v850.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/gas/config/tc-v850.h b/gas/config/tc-v850.h
index 84c6270..3de777c 100644
--- a/gas/config/tc-v850.h
+++ b/gas/config/tc-v850.h
@@ -92,6 +92,6 @@ extern const struct relax_type md_relax_table[];
{ ".call_table_text", SHT_PROGBITS, SHF_ALLOC + SHF_WRITE + SHF_EXECINSTR },
#define MD_PCREL_FROM_SECTION(fixP,section) v850_pcrel_from_section (fixP, section)
-extern long v850_pcrel_from_section ();
+extern long v850_pcrel_from_section PARAMS ((struct fix *, asection *));
#define DWARF2_LINE_MIN_INSN_LENGTH 2