Merge lp:~ams-codesourcery/gcc-linaro/4.4-ubuntu-patches into lp:gcc-linaro/4.4

Proposed by Andrew Stubbs
Status: Merged
Merged at revision: 93535
Proposed branch: lp:~ams-codesourcery/gcc-linaro/4.4-ubuntu-patches
Merge into: lp:gcc-linaro/4.4
Diff against target: 23 lines (+6/-0)
2 files modified
ChangeLog.linaro (+5/-0)
gcc/config/arm/elf.h (+1/-0)
To merge this branch: bzr merge lp:~ams-codesourcery/gcc-linaro/4.4-ubuntu-patches
Reviewer Review Type Date Requested Status
Matthias Klose (community) Approve
Review via email: mp+29543@code.launchpad.net

Commit message

This patch is a rework of gcc-arm-implicit-it.diff from Ubuntu GCC.

The difference is that this only passes -mimplicit-it=thumb when the
compiler is set to thumb mode, and it allows the subtarget spec to
override it. Hopefully this patch will be more acceptable upstream.

Description of the change

This patch is a rework of gcc-arm-implicit-it.diff from Ubuntu GCC.

The difference is that this only passes -mimplicit-it=thumb when the
compiler is set to thumb mode, and it allows the subtarget spec to
override it. Hopefully this patch will be more acceptable upstream.

To post a comment you must log in.
Revision history for this message
Matthias Klose (doko) wrote :

thanks, patch applied to the debian repository too.

review: Approve

Preview Diff

[H/L] Next/Prev Comment, [J/K] Next/Prev File, [N/P] Next/Prev Hunk
1=== modified file 'ChangeLog.linaro'
2--- ChangeLog.linaro 2010-07-08 16:46:37 +0000
3+++ ChangeLog.linaro 2010-07-09 12:18:59 +0000
4@@ -1,3 +1,8 @@
5+2010-07-09 Andrew Stubbs <ams@codesourcery.com>
6+
7+ gcc/
8+ * config/arm/elf.h (ASM_SPEC): Pass -mimplicit-it=thumb if -mthumb.
9+
10 2010-07-08 Andrew Stubbs <ams@codesourcery.com>
11
12 gcc/
13
14=== modified file 'gcc/config/arm/elf.h'
15--- gcc/config/arm/elf.h 2008-07-14 20:01:42 +0000
16+++ gcc/config/arm/elf.h 2010-07-09 12:18:59 +0000
17@@ -63,6 +63,7 @@
18 %{mthumb-interwork:-mthumb-interwork} \
19 %{msoft-float:-mfloat-abi=soft} %{mhard-float:-mfloat-abi=hard} \
20 %{mfloat-abi=*} %{mfpu=*} \
21+%{mthumb:%{!-mimplicit-it=*:-mimplicit-it=thumb}} \
22 %(subtarget_extra_asm_spec)"
23 #endif
24

Subscribers

People subscribed via source and target branches