This is the mail archive of the
binutils@sourceware.org
mailing list for the binutils project.
Re: [PATCH 2/4] [ARC] General bug fixes
- From: Nick Clifton <nickc at redhat dot com>
- To: Cupertino Miranda <Cupertino dot Miranda at synopsys dot com>, "binutils at sourceware dot org" <binutils at sourceware dot org>
- Cc: Claudiu Zissulescu <Claudiu dot Zissulescu at synopsys dot com>, Francois Bedard <Francois dot Bedard at synopsys dot com>
- Date: Mon, 13 Jun 2016 13:39:52 +0100
- Subject: Re: [PATCH 2/4] [ARC] General bug fixes
- Authentication-results: sourceware.org; auth=none
- References: <EB86EB452ADE4B44B294F7149B8A2777021DE520 at DE02WEMBXB dot internal dot synopsys dot com> <c54c1e85-4465-422b-b79c-6d8bffdacb51 at redhat dot com> <EB86EB452ADE4B44B294F7149B8A2777021DE6CA at DE02WEMBXB dot internal dot synopsys dot com>
Hi Cupertino,
> + /* Make sure we have with a dynamic linker. In case of GOT and PLT
> + the sym_section should point to .got or .plt respectively. */
> + if (is_reloc_for_GOT (howto) || is_reloc_for_PLT (howto))
> + {
> + (*_bfd_error_handler)
> + (_("GOT and PLT relocations cannot be fixed with a non dynamic
> linker."));
> + bfd_set_error (bfd_error_bad_value);
> + return FALSE;
> + }
> +
Much better - thanks.
Patch approved - please apply.
Cheers
Nick