PATCH: Add ATTRIBUTE_UNUSED to info in compute_bucket_count
H.J. Lu
hongjiu.lu@intel.com
Fri Jul 30 16:31:00 GMT 2010
More information about the Binutils mailing list
Fri Jul 30 16:31:00 GMT 2010
- Previous message (by thread): Environmental Education Publications
- Next message (by thread): ld: EXTERN/--unresolved & unresolved Symbols
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]
Hi, If BFD_HOST_U_64_BIT is undefined, info is unused. I checked in this patch to add ATTRIBUTE_UNUSED to info. H.J. --- Index: ChangeLog =================================================================== RCS file: /cvs/src/src/bfd/ChangeLog,v retrieving revision 1.5084 diff -u -p -r1.5084 ChangeLog --- ChangeLog 30 Jul 2010 07:32:16 -0000 1.5084 +++ ChangeLog 30 Jul 2010 16:29:32 -0000 @@ -1,3 +1,7 @@ +2010-07-30 H.J. Lu <hongjiu.lu@intel.com> + + * elflink.c (compute_bucket_count): Add ATTRIBUTE_UNUSED to info. + 2010-07-30 Anthony Green <green@moxielogic.com> * config.bfd (targ_cpu): Add moxie-*-rtems support. Index: elflink.c =================================================================== RCS file: /cvs/src/src/bfd/elflink.c,v retrieving revision 1.372 diff -u -p -r1.372 elflink.c --- elflink.c 14 Apr 2010 08:29:33 -0000 1.372 +++ elflink.c 30 Jul 2010 16:29:32 -0000 @@ -5352,7 +5352,7 @@ static const size_t elf_buckets[] = Therefore the result is always a good payoff between few collisions (= short chain lengths) and table size. */ static size_t -compute_bucket_count (struct bfd_link_info *info, +compute_bucket_count (struct bfd_link_info *info ATTRIBUTE_UNUSED, unsigned long int *hashcodes ATTRIBUTE_UNUSED, unsigned long int nsyms, int gnu_hash)
- Previous message (by thread): Environmental Education Publications
- Next message (by thread): ld: EXTERN/--unresolved & unresolved Symbols
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]
More information about the Binutils mailing list