Go to the documentation of this file.00001
00002
00003
00004
00005
00006
00007
00008
00009
00010
00011
00012
00013
00014
00015
00016
00017
00018
00019
00020
00021
00022
00023
00024
00025
00026
00027
00028
00029
00030
00031 #ifndef AVCODEC_BFIN_CONFIG_BFIN_H
00032 #define AVCODEC_BFIN_CONFIG_BFIN_H
00033
00034 #ifndef DEFUN
00035
00036 #define mL3 .text
00037 #ifndef mL1
00038 #ifdef __FDPIC__
00039 #define mL1 .l1.text
00040 #else
00041 #define mL1 mL3
00042 #endif
00043 #endif
00044
00045 #define DEFUN(fname,where,interface) \
00046 .section where; \
00047 .global _ff_bfin_ ## fname ; \
00048 .type _ff_bfin_ ## fname, STT_FUNC; \
00049 .align 8; \
00050 _ff_bfin_ ## fname
00051
00052 #define DEFUN_END(fname) \
00053 .size _ff_bfin_ ## fname, . - _ff_bfin_ ## fname
00054
00055 #ifdef __FDPIC__
00056 #define RELOC(reg,got,obj) reg = [got + obj@GOT17M4]
00057 #else
00058 #define RELOC(reg,got,obj) reg.L = obj; reg.H = obj
00059 #endif
00060
00061 #endif
00062
00063 #endif