diff options
author | ramana <ramana@138bc75d-0d04-0410-961f-82ee72b054a4> | 2009-04-30 10:04:52 +0000 |
---|---|---|
committer | ramana <ramana@138bc75d-0d04-0410-961f-82ee72b054a4> | 2009-04-30 10:04:52 +0000 |
commit | aca3a78faf88f12a2de44b00e129c1f015548c90 (patch) | |
tree | 8f8218e80c616b87ae15739945402a2c15c06c05 /gcc | |
parent | e5a9568a43af3971fc47f75810e03cde3e86de38 (diff) | |
download | gcc-aca3a78faf88f12a2de44b00e129c1f015548c90.tar.gz |
Fix PR target/38571
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@147000 138bc75d-0d04-0410-961f-82ee72b054a4
Diffstat (limited to 'gcc')
-rw-r--r-- | gcc/ChangeLog | 6 | ||||
-rw-r--r-- | gcc/config/arm/arm.h | 2 |
2 files changed, 7 insertions, 1 deletions
diff --git a/gcc/ChangeLog b/gcc/ChangeLog index a17306fdd3a..ec683ac4ce1 100644 --- a/gcc/ChangeLog +++ b/gcc/ChangeLog @@ -1,3 +1,9 @@ +2009-04-30 Ramana Radhakrishnan <ramana.radhakrishnan@arm.com> + + PR target/38571 + * config/arm/arm.h (FUNCTION_BOUNDARY): Set to 16 for thumb + when optimizing for size. + 2009-04-30 Hans-Peter Nilsson <hp@axis.com> * gcse.c (gcse_constant_p): Fix typo in last change. diff --git a/gcc/config/arm/arm.h b/gcc/config/arm/arm.h index 93d75bb74a3..8d97864861e 100644 --- a/gcc/config/arm/arm.h +++ b/gcc/config/arm/arm.h @@ -537,7 +537,7 @@ extern int arm_arch_hwdiv; #define PREFERRED_STACK_BOUNDARY \ (arm_abi == ARM_ABI_ATPCS ? 64 : STACK_BOUNDARY) -#define FUNCTION_BOUNDARY 32 +#define FUNCTION_BOUNDARY ((TARGET_THUMB && optimize_size) ? 16 : 32) /* The lowest bit is used to indicate Thumb-mode functions, so the vbit must go into the delta field of pointers to member |