From da785231ea0b82b5c2526babbb2871c935b21a87 Mon Sep 17 00:00:00 2001 From: Diego Biurrun Date: Wed, 22 Jan 2014 05:21:02 -0800 Subject: bfin: Refactor duplicated assembly-related macros --- libswscale/bfin/internal_bfin.S | 18 ++---------------- 1 file changed, 2 insertions(+), 16 deletions(-) (limited to 'libswscale') diff --git a/libswscale/bfin/internal_bfin.S b/libswscale/bfin/internal_bfin.S index b007f07f53..dca8448a3f 100644 --- a/libswscale/bfin/internal_bfin.S +++ b/libswscale/bfin/internal_bfin.S @@ -93,23 +93,9 @@ huge variation on the reference codes on Blackfin I guess it must have to do with the memory system. */ -#define mL3 .text -#if defined(__FDPIC__) && CONFIG_SRAM -#define mL1 .l1.text -#else -#define mL1 mL3 -#endif -#define MEM mL1 - -#define DEFUN(fname,where,interface) \ - .section where; \ - .global _ff_bfin_ ## fname; \ - .type _ff_bfin_ ## fname, STT_FUNC; \ - .align 8; \ - _ff_bfin_ ## fname +#include "libavutil/bfin/asm.h" -#define DEFUN_END(fname) \ - .size _ff_bfin_ ## fname, . - _ff_bfin_ ## fname +#define MEM mL1 .text -- cgit v1.2.3