Blackfin: use SRAM only when CONFIG_SRAM is set

git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@30472 b3059339-0415-0410-9bf9-f77b7e298cf2
This commit is contained in:
mru 2010-01-31 00:20:37 +00:00
parent 99c1bbca2a
commit 0d3fe701b0
3 changed files with 3 additions and 3 deletions

View File

@ -94,7 +94,7 @@ to do with the memory system.
*/
#define mL3 .text
#ifdef __FDPIC__
#if defined(__FDPIC__) && CONFIG_SRAM
#define mL1 .l1.text
#else
#define mL1 mL3

View File

@ -31,7 +31,7 @@
#include "libswscale/swscale.h"
#include "libswscale/swscale_internal.h"
#ifdef __FDPIC__
#if defined (__FDPIC__) && CONFIG_SRAM
#define L1CODE __attribute__ ((l1_text))
#else
#define L1CODE

View File

@ -32,7 +32,7 @@
#include "libswscale/swscale.h"
#include "libswscale/swscale_internal.h"
#ifdef __FDPIC__
#if defined(__FDPIC__) && CONFIG_SRAM
#define L1CODE __attribute__ ((l1_text))
#else
#define L1CODE