PATCH COMMITTED: Define class constants in sparc.cc

Ian Lance Taylor iant@google.com
Tue Apr 15 21:44:00 GMT 2008


C++ technically requires a definition for a static const class member
even if the member is initialized in the class itself.  It turns out
that the g++ 4.1.2 on FC7 needs that definition when compiling
sparc.cc with -O0.

I committed this patch to add the required definitions.

Ian


2008-04-15  Ian Lance Taylor  <iant@google.com>

	* sparc.cc: Add definitions for Output_data_plt_sparc class
	constants.


-------------- next part --------------
A non-text attachment was scrubbed...
Name: foo.patch
Type: text/x-patch
Size: 1075 bytes
Desc: Define class constants
URL: <https://sourceware.org/pipermail/binutils/attachments/20080415/b356de22/attachment.bin>


More information about the Binutils mailing list