[Bug gas/19744] Thumb-1 pcrop relocations don't work on Thumb-2 targets

2016-03-01 Thread christophe.monat at st dot com
https://sourceware.org/bugzilla/show_bug.cgi?id=19744

Christophe Monat  changed:

   What|Removed |Added

 CC||christophe.monat at st dot com

-- 
You are receiving this mail because:
You are on the CC list for the bug.
___
bug-binutils mailing list
bug-binutils@gnu.org
https://lists.gnu.org/mailman/listinfo/bug-binutils


[Bug gas/19744] Thumb-1 pcrop relocations don't work on Thumb-2 targets

2016-03-02 Thread christophe.monat at st dot com
https://sourceware.org/bugzilla/show_bug.cgi?id=19744

--- Comment #1 from Christophe Monat  ---
Hi Charles,

We did not design these relocations to be usable in T2, indeed, since in 
that case the movt/movw instructions fill the bill.

Besides the test case, would there be a strong reason to actually support these 
relocations in T2 or would you suggest that we reject them with an error ?
--C

-- 
You are receiving this mail because:
You are on the CC list for the bug.
___
bug-binutils mailing list
bug-binutils@gnu.org
https://lists.gnu.org/mailman/listinfo/bug-binutils


[Bug gas/19744] Thumb-1 pcrop relocations don't work on Thumb-2 targets

2016-03-03 Thread cbaylis at gcc dot gnu.org
https://sourceware.org/bugzilla/show_bug.cgi?id=19744

--- Comment #2 from cbaylis at gcc dot gnu.org ---

I don't have a compelling use case, other than that ARMv6-M is a subset of
ARMv7-M, so it seems like users may have a reasonable expectation that their
ARMv6-M code would work on ARMv7 targets.

Also, the same problems are occur when compiling for ARM, which should result
in an error.

-- 
You are receiving this mail because:
You are on the CC list for the bug.
___
bug-binutils mailing list
bug-binutils@gnu.org
https://lists.gnu.org/mailman/listinfo/bug-binutils


[Bug gas/19744] Thumb-1 pcrop relocations don't work on Thumb-2 targets

2016-03-07 Thread mickael.guene at st dot com
https://sourceware.org/bugzilla/show_bug.cgi?id=19744

mickael.guene at st dot com changed:

   What|Removed |Added

 CC||mickael.guene at st dot com

-- 
You are receiving this mail because:
You are on the CC list for the bug.
___
bug-binutils mailing list
bug-binutils@gnu.org
https://lists.gnu.org/mailman/listinfo/bug-binutils


[Bug gas/19744] Thumb-1 pcrop relocations don't work on Thumb-2 targets

2016-03-10 Thread cvs-commit at gcc dot gnu.org
https://sourceware.org/bugzilla/show_bug.cgi?id=19744

--- Comment #3 from cvs-commit at gcc dot gnu.org  ---
The master branch has been updated by Christophe Lyon :

https://sourceware.org/git/gitweb.cgi?p=binutils-gdb.git;h=a9f02af88d230aabf6771f94a6c401727a865188

commit a9f02af88d230aabf6771f94a6c401727a865188
Author: Mickael Guene 
Date:   Thu Mar 10 17:05:29 2016 +0100

PR gas/19744: Thumb-1 pcrop relocations don't work on Thumb-2 targets

gas/
* 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/
* 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/ld-arm/arm-elf.exp: New tests.
* testsuite/ld-arm/thumb1-adds-armv7-m.s: New.
* testsuite/ld-arm/thumb1-movs-armv7-m.s: New.

-- 
You are receiving this mail because:
You are on the CC list for the bug.
___
bug-binutils mailing list
bug-binutils@gnu.org
https://lists.gnu.org/mailman/listinfo/bug-binutils


[Bug gas/19744] Thumb-1 pcrop relocations don't work on Thumb-2 targets

2016-03-11 Thread christophe.monat at st dot com
https://sourceware.org/bugzilla/show_bug.cgi?id=19744

Christophe Monat  changed:

   What|Removed |Added

 Status|NEW |ASSIGNED
   Assignee|unassigned at sourceware dot org   |christophe.monat at st 
dot com

-- 
You are receiving this mail because:
You are on the CC list for the bug.
___
bug-binutils mailing list
bug-binutils@gnu.org
https://lists.gnu.org/mailman/listinfo/bug-binutils


[Bug gas/19744] Thumb-1 pcrop relocations don't work on Thumb-2 targets

2016-03-11 Thread christophe.monat at st dot com
https://sourceware.org/bugzilla/show_bug.cgi?id=19744

--- Comment #4 from Christophe Monat  ---
Charles,

The bug is fixed from our standpoint.

I don't know the transition rules applied here, but my best guess it that you,
as the original reporter of the BZ, is the one who can legitimately close it,
so I leave this to you.
--C

-- 
You are receiving this mail because:
You are on the CC list for the bug.
___
bug-binutils mailing list
bug-binutils@gnu.org
https://lists.gnu.org/mailman/listinfo/bug-binutils


[Bug gas/19744] Thumb-1 pcrop relocations don't work on Thumb-2 targets

2016-03-18 Thread cbaylis at gcc dot gnu.org
https://sourceware.org/bugzilla/show_bug.cgi?id=19744

cbaylis at gcc dot gnu.org changed:

   What|Removed |Added

 Status|WAITING |RESOLVED
 Resolution|--- |FIXED

--- Comment #5 from cbaylis at gcc dot gnu.org ---

Looks good to me. Thanks

-- 
You are receiving this mail because:
You are on the CC list for the bug.
___
bug-binutils mailing list
bug-binutils@gnu.org
https://lists.gnu.org/mailman/listinfo/bug-binutils


[Bug gas/19744] Thumb-1 pcrop relocations don't work on Thumb-2 targets

2016-03-18 Thread christophe.monat at st dot com
https://sourceware.org/bugzilla/show_bug.cgi?id=19744

Christophe Monat  changed:

   What|Removed |Added

 Status|ASSIGNED|WAITING

-- 
You are receiving this mail because:
You are on the CC list for the bug.
___
bug-binutils mailing list
bug-binutils@gnu.org
https://lists.gnu.org/mailman/listinfo/bug-binutils