We are currently migrating Bugzilla to GitHub issues.
Any changes made to the bug tracker now will be lost, so please do not post new bugs or make changes to them.
When we're done, all bug URLs will redirect to their equivalent location on the new bug tracker.

Bug 1264 - __ARM_ARCH_5TEJ__ missing in SDL_spinlock.c
Summary: __ARM_ARCH_5TEJ__ missing in SDL_spinlock.c
Status: RESOLVED FIXED
Alias: None
Product: SDL
Classification: Unclassified
Component: atomic (show other bugs)
Version: HG 2.0
Hardware: ARM Linux
: P2 minor
Assignee: Sam Lantinga
QA Contact: Sam Lantinga
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2011-08-04 01:13 UTC by Gueniffey
Modified: 2011-10-16 00:28 UTC (History)
1 user (show)

See Also:


Attachments
SDL_spinlock.c (555 bytes, patch)
2011-08-04 02:59 UTC, Gueniffey
Details | Diff

Note You need to log in before you can comment on or make changes to this bug.
Description Gueniffey 2011-08-04 01:13:01 UTC
Trying to compile the SDL for ARM9 with CFLAGS=-mcpu=arm926ej-s, I've figured out that a check is missing in SDL_spinlock.c. Looking for other open source projects, it's obvious that we need to check for __ARM_ARCH_5TEJ__.
Don't ask more, I have no knowledge in ARM assembler code.
Comment 1 Gueniffey 2011-08-04 02:59:37 UTC
Created attachment 664 [details]
SDL_spinlock.c
Comment 2 Ryan C. Gordon 2011-10-16 00:28:16 UTC
This is now hg changeset 0e3fd8178e1d, thanks!

--ryan.