This is the mail archive of the binutils@sourceware.org mailing list for the binutils project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

Re: gold patch committed: Remove assertion


Hello Ian,

On Mon, 12 Sep 2011 19:35:46 +0200, Ian Lance Taylor wrote:
> --- object.cc	1 Aug 2011 18:25:21 -0000	1.147
> +++ object.cc	12 Sep 2011 17:34:11 -0000
> @@ -1582,8 +1582,6 @@ Sized_relobj_file<size, big_endian>::do_
>         p != eh_frame_sections.end();
>         ++p)
>      {
> -      gold_assert(external_symbols_offset != 0);
> -
>        unsigned int i = *p;
>        const unsigned char* pshdr;
>        pshdr = section_headers_data + i * This::shdr_size;

object.cc:1152:23: error: variable ‘external_symbols_offset’ set but not used [-Werror=unused-but-set-variable]

(Fedora 16 x86_64)


Thanks,
Jan


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]