* config/tc-v850.c: Add missing prototypes amd use old-style
authorAlan Modra <amodra@gmail.com>
Fri, 1 Feb 2002 16:29:21 +0000 (16:29 +0000)
committerAlan Modra <amodra@gmail.com>
Fri, 1 Feb 2002 16:29:21 +0000 (16:29 +0000)
commit9e0665bc9af8a002bc0683fc963f6885b2b929f8
tree5da6d0438617e628875af409a78da2bf84bf124b
parent0defa245fc33ed9585f8f2f0f898f26e31801ee0
* 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.
gas/ChangeLog
gas/config/tc-v850.c
gas/config/tc-v850.h
gas/testsuite/ChangeLog
gas/testsuite/gas/elf/elf.exp