Mercurial > hg > CbC > CbC_gcc
comparison gcc/config/arm/linux-eabi.h @ 55:77e2b8dfacca gcc-4.4.5
update it from 4.4.3 to 4.5.0
author | ryoma <e075725@ie.u-ryukyu.ac.jp> |
---|---|
date | Fri, 12 Feb 2010 23:39:51 +0900 |
parents | a06113de4d67 |
children | f6334be47118 |
comparison
equal
deleted
inserted
replaced
52:c156f1bd5cd9 | 55:77e2b8dfacca |
---|---|
64 #define GLIBC_DYNAMIC_LINKER "/lib/ld-linux.so.3" | 64 #define GLIBC_DYNAMIC_LINKER "/lib/ld-linux.so.3" |
65 | 65 |
66 /* At this point, bpabi.h will have clobbered LINK_SPEC. We want to | 66 /* At this point, bpabi.h will have clobbered LINK_SPEC. We want to |
67 use the GNU/Linux version, not the generic BPABI version. */ | 67 use the GNU/Linux version, not the generic BPABI version. */ |
68 #undef LINK_SPEC | 68 #undef LINK_SPEC |
69 #define LINK_SPEC LINUX_TARGET_LINK_SPEC | 69 #define LINK_SPEC LINUX_TARGET_LINK_SPEC BE8_LINK_SPEC |
70 | 70 |
71 /* Use the default LIBGCC_SPEC, not the version in linux-elf.h, as we | 71 /* Use the default LIBGCC_SPEC, not the version in linux-elf.h, as we |
72 do not use -lfloat. */ | 72 do not use -lfloat. */ |
73 #undef LIBGCC_SPEC | 73 #undef LIBGCC_SPEC |
74 | 74 |
75 /* Clear the instruction cache from `beg' to `end'. This makes an | 75 /* Clear the instruction cache from `beg' to `end'. This is |
76 inline system call to SYS_cacheflush. */ | 76 implemented in lib1funcs.asm, so ensure an error if this definition |
77 is used. */ | |
77 #undef CLEAR_INSN_CACHE | 78 #undef CLEAR_INSN_CACHE |
78 #define CLEAR_INSN_CACHE(BEG, END) \ | 79 #define CLEAR_INSN_CACHE(BEG, END) not_used |
79 { \ | |
80 register unsigned long _beg __asm ("a1") = (unsigned long) (BEG); \ | |
81 register unsigned long _end __asm ("a2") = (unsigned long) (END); \ | |
82 register unsigned long _flg __asm ("a3") = 0; \ | |
83 register unsigned long _scno __asm ("r7") = 0xf0002; \ | |
84 __asm __volatile ("swi 0 @ sys_cacheflush" \ | |
85 : "=r" (_beg) \ | |
86 : "0" (_beg), "r" (_end), "r" (_flg), "r" (_scno)); \ | |
87 } |