gcc: add llvm-gcc and llvm from trunk (does not successfully compile a target yet...
[openwrt-10.03/.git] / toolchain / gcc / patches / llvm / 961-llvm_mips_compile_fix.patch
1 --- a/gcc/config/mips/llvm-mips-target.h
2 +++ b/gcc/config/mips/llvm-mips-target.h
3 @@ -27,11 +27,11 @@ extern bool llvm_mips_should_pass_aggreg
4  #define LLVM_SHOULD_PASS_AGGREGATE_USING_BYVAL_ATTR(X, TY)      \
5    llvm_mips_should_pass_aggregate_in_memory(X, TY)
6  
7 +#endif /* LLVM_ABI_H */
8 +
9  /* LLVM_TARGET_NAME - This specifies the name of the target, which correlates to
10   * the llvm::InitializeXXXTarget() function.
11   */
12  #define LLVM_TARGET_NAME Mips
13  
14 -#endif /* LLVM_ABI_H */
15 -
16  /* LLVM LOCAL end (ENTIRE FILE!)  */