gas -Werror compilation break [Re: [patch ld bfd gas]: Handle linkonce for cfi generated debug_frame and eh_frame data]

Alan Modra
Thu May 5 13:21:00 GMT 2011

On Thu, May 05, 2011 at 06:14:54PM +0930, Alan Modra wrote:
> I'll be committing the following instead, which I wrote a couple of
> days ago but didn't get around to installing, or even writing a
> changelog.

Now committed with this ChangeLog entry.

	* dw2gencfi.c (SUPPORT_FRAME_LINKONCE): Define.  Use throughout
	file to conditionally compile code added 2011-04-26.
	(cfi_change_reg_numbers): Add ATTRIBUTE_UNUSED on params only used
	(get_cfi_seg): Likewise.  Reintroduce old code for when not
	(cfi_finish): Move get_cfi_seg calls out of loop when not
	SUPPORT_FRAME_LINKONCE.  Avoid unused var warning.

Alan Modra
Australia Development Lab, IBM

More information about the Binutils mailing list