[PATCH]Fix various ports failing due to unused parameter

* varasm.c (handle_vtv_comdat_section): Mark 2nd parameter with
	ATTRIBUTE_UNUSED.

From-SVN: r229109
This commit is contained in:
Jeff Law 2015-10-20 22:57:56 -06:00 committed by Jeff Law
parent a81072c782
commit 84c25fb511
2 changed files with 6 additions and 1 deletions

View file

@ -1,3 +1,8 @@
2015-10-21 Jeff Law <law@redhat.com>
* varasm.c (handle_vtv_comdat_section): Mark 2nd parameter with
ATTRIBUTE_UNUSED.
2015-10-21 Richard Biener <rguenther@suse.de>
Naveen H.S <Naveen.Hurugalawadi@caviumnetworks.com>

View file

@ -7747,7 +7747,7 @@ default_asm_output_ident_directive (const char *ident_str)
a single call to "switch_to_section (sect)". */
static void
handle_vtv_comdat_section (section *sect, const_tree decl)
handle_vtv_comdat_section (section *sect, const_tree decl ATTRIBUTE_UNUSED)
{
#if defined (OBJECT_FORMAT_ELF)
targetm.asm_out.named_section (sect->named.name,