URL
https://opencores.org/ocsvn/openrisc_2011-10-31/openrisc_2011-10-31/trunk
Subversion Repositories openrisc_2011-10-31
Compare Revisions
- This comparison shows the changes necessary to convert path
/openrisc/trunk/gnu-src
- from Rev 626 to Rev 635
- ↔ Reverse comparison
Rev 626 → Rev 635
/gcc-4.5.1/gcc/ChangeLog.or32
1,3 → 1,8
2011-08-25 Jeremy Bennett <jeremy.bennett@embecosm.com> |
|
* config/or32/linux-elf.h <TARGET_OS_CPP_BUILTINS>: Defined, based |
on LINUX_TARGET_OS_CPP_BUILTINS copied from linux.h. |
|
2011-04-16 Joern Rennecke <joern.rennecke@embecosm.com> |
|
* config/or32/or32.h (OR32_ROUND_ADVANCE_CUM): Don't round. |
/gcc-4.5.1/gcc/config/or32/linux-elf.h
66,3 → 66,24
#define CPLUSPLUS_CPP_SPEC "-D_GNU_SOURCE %(cpp)" |
|
#undef DRIVER_SELF_SPECS |
|
/* Define a set of Linux builtins. This is copied from linux.h. We can't |
include the whole file for now, because that causes configure to require ld |
to support --eh-frame-header, which it currently doesn't */ |
#define LINUX_TARGET_OS_CPP_BUILTINS() \ |
do { \ |
builtin_define ("__gnu_linux__"); \ |
builtin_define_std ("linux"); \ |
builtin_define_std ("unix"); \ |
builtin_assert ("system=linux"); \ |
builtin_assert ("system=unix"); \ |
builtin_assert ("system=posix"); \ |
} while (0) |
|
#define TARGET_OS_CPP_BUILTINS() \ |
do { \ |
LINUX_TARGET_OS_CPP_BUILTINS(); \ |
/* The GNU C++ standard library requires this. */ \ |
if (c_dialect_cxx ()) \ |
builtin_define ("_GNU_SOURCE"); \ |
} while (0) |