* config/obj-coff.c: Add ATTRIBUTE_UNUSED as needed for

BFD_ASSEMBLER code.
This commit is contained in:
Ian Lance Taylor 1999-09-07 03:26:58 +00:00
parent 8a1ad8e793
commit c4bf532f53
2 changed files with 18 additions and 13 deletions

View File

@ -1,3 +1,8 @@
1999-09-06 Ian Lance Taylor <ian@zembu.com>
* config/obj-coff.c: Add ATTRIBUTE_UNUSED as needed for
BFD_ASSEMBLER code.
1999-09-06 Donn Terry <donn@interix.com> 1999-09-06 Donn Terry <donn@interix.com>
* as.c (perform_an_assembly_pass): Set SEC_DATA for data_section. * as.c (perform_an_assembly_pass): Set SEC_DATA for data_section.

View File

@ -501,7 +501,7 @@ obj_coff_ln (appline)
static void static void
obj_coff_def (what) obj_coff_def (what)
int what; int what ATTRIBUTE_UNUSED;
{ {
char name_end; /* Char after the end of name */ char name_end; /* Char after the end of name */
char *symbol_name; /* Name of the debug symbol */ char *symbol_name; /* Name of the debug symbol */
@ -548,7 +548,7 @@ unsigned int dim_index;
static void static void
obj_coff_endef (ignore) obj_coff_endef (ignore)
int ignore; int ignore ATTRIBUTE_UNUSED;
{ {
symbolS *symbolP; symbolS *symbolP;
@ -728,7 +728,7 @@ obj_coff_endef (ignore)
static void static void
obj_coff_dim (ignore) obj_coff_dim (ignore)
int ignore; int ignore ATTRIBUTE_UNUSED;
{ {
int dim_index; int dim_index;
@ -768,7 +768,7 @@ obj_coff_dim (ignore)
static void static void
obj_coff_line (ignore) obj_coff_line (ignore)
int ignore; int ignore ATTRIBUTE_UNUSED;
{ {
int this_base; int this_base;
@ -801,7 +801,7 @@ obj_coff_line (ignore)
static void static void
obj_coff_size (ignore) obj_coff_size (ignore)
int ignore; int ignore ATTRIBUTE_UNUSED;
{ {
if (def_symbol_in_progress == NULL) if (def_symbol_in_progress == NULL)
{ {
@ -817,7 +817,7 @@ obj_coff_size (ignore)
static void static void
obj_coff_scl (ignore) obj_coff_scl (ignore)
int ignore; int ignore ATTRIBUTE_UNUSED;
{ {
if (def_symbol_in_progress == NULL) if (def_symbol_in_progress == NULL)
{ {
@ -832,7 +832,7 @@ obj_coff_scl (ignore)
static void static void
obj_coff_tag (ignore) obj_coff_tag (ignore)
int ignore; int ignore ATTRIBUTE_UNUSED;
{ {
char *symbol_name; char *symbol_name;
char name_end; char name_end;
@ -869,7 +869,7 @@ obj_coff_tag (ignore)
static void static void
obj_coff_type (ignore) obj_coff_type (ignore)
int ignore; int ignore ATTRIBUTE_UNUSED;
{ {
if (def_symbol_in_progress == NULL) if (def_symbol_in_progress == NULL)
{ {
@ -891,7 +891,7 @@ obj_coff_type (ignore)
static void static void
obj_coff_val (ignore) obj_coff_val (ignore)
int ignore; int ignore ATTRIBUTE_UNUSED;
{ {
if (def_symbol_in_progress == NULL) if (def_symbol_in_progress == NULL)
{ {
@ -1138,9 +1138,9 @@ coff_frob_symbol (symp, punt)
void void
coff_adjust_section_syms (abfd, sec, x) coff_adjust_section_syms (abfd, sec, x)
bfd *abfd; bfd *abfd ATTRIBUTE_UNUSED;
asection *sec; asection *sec;
PTR x; PTR x ATTRIBUTE_UNUSED;
{ {
symbolS *secsym; symbolS *secsym;
segment_info_type *seginfo = seg_info (sec); segment_info_type *seginfo = seg_info (sec);
@ -1204,7 +1204,7 @@ coff_frob_file_after_relocs ()
void void
obj_coff_section (ignore) obj_coff_section (ignore)
int ignore; int ignore ATTRIBUTE_UNUSED;
{ {
/* Strip out the section name */ /* Strip out the section name */
char *section_name; char *section_name;
@ -4440,7 +4440,7 @@ coff_pop_insert ()
static int static int
coff_sec_sym_ok_for_reloc (sec) coff_sec_sym_ok_for_reloc (sec)
asection *sec; asection *sec ATTRIBUTE_UNUSED;
{ {
return 0; return 0;
} }