This is the mail archive of the
binutils@sourceware.org
mailing list for the binutils project.
Re: [PATCH] PR gas/19744: Thumb-1 pcrop relocations don't work on Thumb-2 targets
- From: Nick Clifton <nickc at redhat dot com>
- To: Mickael Guene <mickael dot guene at st dot com>, binutils at sourceware dot org
- Date: Thu, 10 Mar 2016 14:43:18 +0000
- Subject: Re: [PATCH] PR gas/19744: Thumb-1 pcrop relocations don't work on Thumb-2 targets
- Authentication-results: sourceware.org; auth=none
- References: <1457436330-10794-1-git-send-email-mickael dot guene at st dot com>
Hi Mickael,
> gas/ChangeLog:
>
> 2016-03-07 Mickael Guene <mickael.guene@st.com>
>
> * config/tc-arm.c (do_arit): Protect against bad relocations usage.
> (do_mov): Likewise.
> (do_t_add_sub): Allow pcrop relocations for Thumb-2 targets.
> (do_t_mov_cmp): Likewise.
> (do_t_add_sub): Protect against bad relocations usage.
> (do_t_mov_cmp): Likewise.
>
> gas/testsuite/ChangeLog:
>
> 2016-03-07 Mickael Guene <mickael.guene@st.com>
>
> * gas/arm/adds-thumb1-reloc-local-armv7-m.s: New.
> * gas/arm/adds-thumb1-reloc-local-armv7-m.d: New.
> * gas/arm/movs-thumb1-reloc-local-armv7-m.s: New.
> * gas/arm/movs-thumb1-reloc-local-armv7-m.d: New.
>
> ld/testsuite/ChangeLog:
>
> 2016-03-07 Mickael Guene <mickael.guene@st.com>
>
> * ld-arm/arm-elf.exp: New tests.
> * ld-arm/thumb1-adds-armv7-m.s: New.
> * ld-arm/thumb1-movs-armv7-m.s: New.
Approved - please apply.
Cheers
Nick