[PATCH] ld/ldlang.h: use 'etree_base' instead of 'base' to avoid cross-compiling warning

Alan Modra amodra@gmail.com
Fri May 30 01:24:00 GMT 2014


On Sun, May 25, 2014 at 06:59:44AM +0800, Chen Gang wrote:
> It sounds reasonable to me, but still recommend to use 'etree_base'
> instead of 'base' (it is still a global variable within "ld/mri.c").

I didn't change the name, because I believe the change I made cured
the warning you were seeing.  If you are still seeing a warning with
some version of gcc when compiling mri.c, then we'll change it to
something that adds a little meaning to the name, like "base_vma"
perhaps.

-- 
Alan Modra
Australia Development Lab, IBM



More information about the Binutils mailing list