2002-12-13 Alan Modra <amodra@bigpond.net.au>
+ * config/tc-i370.c (i370_ebcdic <unused>): Add ATTRIBUTE_UNUSED.
+ (i370_rmode <unused>): Likewise.
+ (i370_csect <unused>): Likewise.
+ (i370_dc <unused>): Likewise.
+ (i370_ds <unused>): Likewise.
+ (i370_elf_lcomm <unused>): Likewise.
+ (i370_ltorg <ignore>): Likewise.
+ (i370_using <ignore>): Likewise.
+ (i370_drop <ignore>): Likewise.
+ (i370_byte <ignore>): Likewise.
+ (i370_tc <ignore>): Likewise.
+ (md_estimate_size_before_relax <fragp, seg>): Likewise.
+ (md_convert_frag <all args>): Likewise.
+ (md_undefined_symbol <name>): Likewise.
+ (md_pcrel_from_section <sec>): Likewise.
+ (tc_gen_reloc <seg>): Likewise.
+ (i370_section_letter): #if 0 unused functions.
+ (i370_section_word, i370_section_type, i370_section_flags): Likewise.
+ (symbol_locate): Prototype.
* config/tc-i860.c (md_atof): Remove declaration of atof_ieee.
(md_number_to_disp, md_number_to_field): Remove.
(md_apply_fix3): Correct format string and cast "fup".
/* ebcdic translation tables needed for 3270 support */
static void
i370_ebcdic (unused)
- int unused;
+ int unused ATTRIBUTE_UNUSED;
{
char *p, *end;
char delim = 0;
/* stub out a couple of routines */
static void
i370_rmode (unused)
- int unused;
+ int unused ATTRIBUTE_UNUSED;
{
as_tsktsk ("rmode ignored");
}
static void
i370_csect (unused)
- int unused;
+ int unused ATTRIBUTE_UNUSED;
{
as_tsktsk ("csect not supported");
}
* DC F'1' # in sysv4, .long 1
*/
static void
-i370_dc(unused)
- int unused;
+i370_dc (unused)
+ int unused ATTRIBUTE_UNUSED;
{
char * p, tmp[50];
int nbytes=0;
/* provide minimal support for DS Define Storage */
static void
i370_ds (unused)
- int unused;
+ int unused ATTRIBUTE_UNUSED;
{
/* DS 0H or DS 0F or DS 0D */
if ('0' == *input_line_pointer)
/* Pseudo op to make file scope bss items */
static void
i370_elf_lcomm (unused)
- int unused;
+ int unused ATTRIBUTE_UNUSED;
{
register char *name;
register char c;
/* Can't use symbol_new here, so have to create a symbol and then at
a later date assign it a value. Thats what these functions do */
+static void symbol_locate
+ PARAMS ((symbolS *, const char *, segT, valueT, fragS *));
+
static void
symbol_locate (symbolP, name, segment, valu, frag)
symbolS *symbolP;
static void
i370_ltorg (ignore)
- int ignore;
+ int ignore ATTRIBUTE_UNUSED;
{
int litsize;
int lit_count = 0;
*/
static void
i370_using (ignore)
- int ignore;
+ int ignore ATTRIBUTE_UNUSED;
{
expressionS ex, baseaddr;
int iregno;
static void
i370_drop (ignore)
- int ignore;
+ int ignore ATTRIBUTE_UNUSED;
{
expressionS ex;
int iregno;
md_assemble (complete);
}
\f
-#ifdef OBJ_ELF
+#if 0
/* For ELF, add support for SHF_EXCLUDE and SHT_ORDERED */
int
static void
i370_byte (ignore)
- int ignore;
+ int ignore ATTRIBUTE_UNUSED;
{
if (*input_line_pointer != '\"')
{
static void
i370_tc (ignore)
- int ignore;
+ int ignore ATTRIBUTE_UNUSED;
{
/* Skip the TOC symbol name. */
int
md_estimate_size_before_relax (fragp, seg)
- fragS *fragp;
- asection *seg;
+ fragS *fragp ATTRIBUTE_UNUSED;
+ asection *seg ATTRIBUTE_UNUSED;
{
abort ();
return 0;
void
md_convert_frag (abfd, sec, fragp)
- bfd *abfd;
- asection *sec;
- fragS *fragp;
+ bfd *abfd ATTRIBUTE_UNUSED;
+ asection *sec ATTRIBUTE_UNUSED;
+ fragS *fragp ATTRIBUTE_UNUSED;
{
abort ();
}
symbolS *
md_undefined_symbol (name)
- char *name;
+ char *name ATTRIBUTE_UNUSED;
{
return 0;
}
long
md_pcrel_from_section (fixp, sec)
fixS *fixp;
- segT sec;
+ segT sec ATTRIBUTE_UNUSED;
{
return fixp->fx_frag->fr_address + fixp->fx_where;
}
arelent *
tc_gen_reloc (seg, fixp)
- asection *seg;
+ asection *seg ATTRIBUTE_UNUSED;
fixS *fixp;
{
arelent *reloc;