summaryrefslogtreecommitdiffstats
path: root/linker/linker.c
diff options
context:
space:
mode:
authorvinay harugop <vinay.harugop@stericsson.com>2009-09-09 20:53:39 +0530
committervinay harugop <vinay.harugop@stericsson.com>2009-09-09 21:01:46 +0530
commit76ec6891e2bc18c9e12cd2f567358bb817b24cff (patch)
tree4623c956fcb7404faeb72a347620ce65406276a0 /linker/linker.c
parenta90528ad3420c571987f2124955646dae88007b6 (diff)
downloadbionic-76ec6891e2bc18c9e12cd2f567358bb817b24cff.tar.gz
bionic-76ec6891e2bc18c9e12cd2f567358bb817b24cff.tar.bz2
bionic-76ec6891e2bc18c9e12cd2f567358bb817b24cff.zip
ARM architecture reference manuals for ARMv6 & ARMv7 state that the use of 'swp' instruction is deprecated
ARMv6 onwards. These architectures provide the load-linked, store-conditional pair of ldrex/strex whose use is recommended in place of 'swp'. Also, the description of the 'swp' instruction in the ARMv6 reference manual states that the swap operation does not include any memory barrier guarantees.This fix attempts to address these issues by providing an atomic swap implementation using ldrex/strex under _ARM_HAVE_LDREX_STREX macro. This Fix is verified on ST Ericsson's U8500 platform and Submitted on behalf of a third-party: Surinder-pal SINGH from STMicroelectronics.
Diffstat (limited to 'linker/linker.c')
0 files changed, 0 insertions, 0 deletions