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: [PATCH 2/4] [ARC] General bug fixes


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


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