This is the mail archive of the
binutils@sources.redhat.com
mailing list for the binutils project.
PATCH: Silence gcc warning
- From: "H. J. Lu" <hjl at lucon dot org>
- To: binutils at sources dot redhat dot com
- Date: Mon, 21 Jul 2003 16:01:41 -0700
- Subject: PATCH: Silence gcc warning
I checked in the following patch to silence gcc.
H.J.
---
2003-07-21 H.J. Lu <hongjiu.lu@intel.com>
* elfxx-ia64.c (elfNN_ia64_size_dynamic_sections): Mark
output_bfd unused to silence gcc.
--- bfd/elfxx-ia64.c.unused 2003-07-18 21:25:28.000000000 -0700
+++ bfd/elfxx-ia64.c 2003-07-21 15:30:20.000000000 -0700
@@ -2760,7 +2760,7 @@ elfNN_ia64_adjust_dynamic_symbol (info,
static bfd_boolean
elfNN_ia64_size_dynamic_sections (output_bfd, info)
- bfd *output_bfd;
+ bfd *output_bfd ATTRIBUTE_UNUSED;
struct bfd_link_info *info;
{
struct elfNN_ia64_allocate_data data;