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][M68K] Binutils support for TLS


Maxim Kuvyrkov <maxim@codesourcery.com> writes:

> @@ -2129,6 +2127,15 @@ elf_m68k_finalize_got_offsets (struct el
>        start_offset = arg_.offset2[i];
>      }
>  
> +  if (!use_neg_got_offsets_p)
> +    /* Make sure that if we try to switch to negative offsets in
> +       elf_m68k_finalize_got_offsets_1, the assert therein will catch
> +       the bug.  */
> +    {
> +      for (i = (int) R_8; i < (int) R_32; ++i)

Note that you don't need the casts here, since enum constants are of
type int already.

Andreas.

-- 
Andreas Schwab, SuSE Labs, schwab@suse.de
SuSE Linux Products GmbH, Maxfeldstraße 5, 90409 Nürnberg, Germany
PGP key fingerprint = 58CA 54C7 6D53 942B 1756  01D3 44D5 214B 8276 4ED5
"And now for something completely different."


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