Adding -Wshadow to binutils builds

Steve Ellcey sje@cup.hp.com
Fri Dec 18 16:37:00 GMT 2009


The -Wshadow change broke the gas build on hppa.  Unless I hear an
objection I will check in this change as an obvious fix.  Tested on
hppa2.0w-hp-hpux11.11.

Steve Ellcey
sje@cup.hp.com



2009-12-18  Steve Ellcey  <sje@cup.hp.com>

	* config/tc-hppa.c: Change access to access_ctr.


Index: config/tc-hppa.c
===================================================================
RCS file: /cvs/src/src/gas/config/tc-hppa.c,v
retrieving revision 1.146
diff -r1.146 tc-hppa.c
7372c7372
<   int i, access, space_index, alignment, quadrant, applicable, flags;
---
>   int i, access_ctr, space_index, alignment, quadrant, applicable, flags;
7395c7395
<       access = 0x7f;
---
>       access_ctr = 0x7f;
7440c7440
< 		  access = pa_def_subspaces[i].access;
---
> 		  access_ctr = pa_def_subspaces[i].access;
7478c7478
< 		  access = get_absolute_expression ();
---
> 		  access_ctr = get_absolute_expression ();
7586c7586
< 					    dup_common, sort, zero, access,
---
> 					    dup_common, sort, zero, access_ctr,
7593c7593
< 						access, space_index,
---
> 						access_ctr, space_index,
7824c7824
< 		     int access,
---
> 		     int access_ctr,
7879c7879
<   obj_set_subsection_attributes (seg, space->sd_seg, access, sort,
---
>   obj_set_subsection_attributes (seg, space->sd_seg, access_ctr, sort,
7899c7899
< 		 int access,
---
> 		 int access_ctr,
7910c7910
<   obj_set_subsection_attributes (section, space->sd_seg, access, sort,
---
>   obj_set_subsection_attributes (section, space->sd_seg, access_ctr, sort,



More information about the Binutils mailing list