Bug 41939 - EABI violation in accessing values below the stack.
Summary: EABI violation in accessing values below the stack.
Status: RESOLVED FIXED
Alias: None
Product: gcc
Classification: Unclassified
Component: target (show other bugs)
Version: 4.4.2
: P3 normal
Target Milestone: 4.4.4
Assignee: Ramana Radhakrishnan
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2009-11-04 14:01 UTC by Ramana Radhakrishnan
Modified: 2010-03-15 14:29 UTC (History)
1 user (show)

See Also:
Host:
Target: arm-*-eabi
Build:
Known to work:
Known to fail:
Last reconfirmed: 2009-11-04 14:01:43


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Ramana Radhakrishnan 2009-11-04 14:01:33 UTC
4.4.x has a problem with the floating point emulation libraries with respect to the EABI in that they access an area below the stack pointer. 

This is fixed on trunk with http://gcc.gnu.org/ml/gcc-patches/2009-06/msg00372.html but needs backporting to 4.4.x and 4.3.x branches. I will do so once I've backported and regression tested these.

cheers
Ramana
Comment 1 Ramana Radhakrishnan 2009-12-11 10:31:29 UTC
Subject: Bug 41939

Author: ramana
Date: Fri Dec 11 10:31:13 2009
New Revision: 155154

URL: http://gcc.gnu.org/viewcvs?root=gcc&view=rev&rev=155154
Log:
2009-12-11  Ramana Radhakrishnan  <ramana.radhakrishnan@arm.com>

	PR target/41939
	Backport from mainline:
	2009-06-05  Julian Brown  <julian@codesourcery.com>

	* config/arm/ieee754-df.S (cmpdf2): Avoid writing below SP.
	* config/arm/ieee754-sf.S (cmpsf2): Likewise.

Modified:
    branches/gcc-4_4-branch/gcc/ChangeLog
    branches/gcc-4_4-branch/gcc/config/arm/ieee754-df.S
    branches/gcc-4_4-branch/gcc/config/arm/ieee754-sf.S

Comment 2 Ramana Radhakrishnan 2010-03-15 14:29:16 UTC
I don't intend backporting this to the 4.3 branch and hence marking this closed.