Commit 41f9e421 authored by mru's avatar mru

Blackfin: use SRAM only when CONFIG_SRAM is set

git-svn-id: file:///var/local/repositories/mplayer/trunk/libswscale@30472 b3059339-0415-0410-9bf9-f77b7e298cf2
parent cc7470fa
...@@ -94,7 +94,7 @@ to do with the memory system. ...@@ -94,7 +94,7 @@ to do with the memory system.
*/ */
#define mL3 .text #define mL3 .text
#ifdef __FDPIC__ #if defined(__FDPIC__) && CONFIG_SRAM
#define mL1 .l1.text #define mL1 .l1.text
#else #else
#define mL1 mL3 #define mL1 mL3
......
...@@ -31,7 +31,7 @@ ...@@ -31,7 +31,7 @@
#include "libswscale/swscale.h" #include "libswscale/swscale.h"
#include "libswscale/swscale_internal.h" #include "libswscale/swscale_internal.h"
#ifdef __FDPIC__ #if defined (__FDPIC__) && CONFIG_SRAM
#define L1CODE __attribute__ ((l1_text)) #define L1CODE __attribute__ ((l1_text))
#else #else
#define L1CODE #define L1CODE
......
...@@ -32,7 +32,7 @@ ...@@ -32,7 +32,7 @@
#include "libswscale/swscale.h" #include "libswscale/swscale.h"
#include "libswscale/swscale_internal.h" #include "libswscale/swscale_internal.h"
#ifdef __FDPIC__ #if defined(__FDPIC__) && CONFIG_SRAM
#define L1CODE __attribute__ ((l1_text)) #define L1CODE __attribute__ ((l1_text))
#else #else
#define L1CODE #define L1CODE
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment