gcc/libgcc/config/rs6000
Joseph Myers 53d68b9f05 Use -fbuilding-libgcc for more target macros used in libgcc.
gcc/c-family:
	* c-cppbuiltin.c (c_cpp_builtins): Also define
	__LIBGCC_EH_TABLES_CAN_BE_READ_ONLY__,
	__LIBGCC_EH_FRAME_SECTION_NAME__, __LIBGCC_JCR_SECTION_NAME__,
	__LIBGCC_CTORS_SECTION_ASM_OP__, __LIBGCC_DTORS_SECTION_ASM_OP__,
	__LIBGCC_TEXT_SECTION_ASM_OP__, __LIBGCC_INIT_SECTION_ASM_OP__,
	__LIBGCC_INIT_ARRAY_SECTION_ASM_OP__,
	__LIBGCC_STACK_GROWS_DOWNWARD__,
	__LIBGCC_DONT_USE_BUILTIN_SETJMP__,
	__LIBGCC_DWARF_ALT_FRAME_RETURN_COLUMN__,
	__LIBGCC_DWARF_FRAME_REGISTERS__,
	__LIBGCC_EH_RETURN_STACKADJ_RTX__, __LIBGCC_JMP_BUF_SIZE__,
	__LIBGCC_STACK_POINTER_REGNUM__ and
	__LIBGCC_VTABLE_USES_DESCRIPTORS__ for -fbuilding-libgcc.
	(builtin_define_with_value): Handle backslash-escaping in string
	macro values.

libgcc:
	* Makefile.in (CRTSTUFF_CFLAGS): Add -fbuilding-libgcc.
	* config/aarch64/linux-unwind.h (STACK_POINTER_REGNUM): Change all
	uses to __LIBGCC_STACK_POINTER_REGNUM__.
	(DWARF_ALT_FRAME_RETURN_COLUMN): Change all uses to
	__LIBGCC_DWARF_ALT_FRAME_RETURN_COLUMN__.
	* config/alpha/vms-unwind.h (DWARF_ALT_FRAME_RETURN_COLUMN):
	Change use to __LIBGCC_DWARF_ALT_FRAME_RETURN_COLUMN__.
	* config/cr16/unwind-cr16.c (STACK_GROWS_DOWNWARD): Change all
	uses to __LIBGCC_STACK_GROWS_DOWNWARD__.
	(DWARF_FRAME_REGISTERS): Change all uses to
	__LIBGCC_DWARF_FRAME_REGISTERS__.
	(EH_RETURN_STACKADJ_RTX): Change all uses to
	__LIBGCC_EH_RETURN_STACKADJ_RTX__.
	* config/cr16/unwind-dw2.h (DWARF_FRAME_REGISTERS): Change use to
	__LIBGCC_DWARF_FRAME_REGISTERS__.  Remove conditional definition.
	* config/i386/cygming-crtbegin.c (EH_FRAME_SECTION_NAME): Change
	use to __LIBGCC_EH_FRAME_SECTION_NAME__.
	(JCR_SECTION_NAME): Change use to __LIBGCC_JCR_SECTION_NAME__.
	* config/i386/cygming-crtend.c (EH_FRAME_SECTION_NAME): Change use
	to __LIBGCC_EH_FRAME_SECTION_NAME__.
	(JCR_SECTION_NAME): Change use to __LIBGCC_JCR_SECTION_NAME__
	* config/mips/linux-unwind.h (STACK_POINTER_REGNUM): Change use to
	__LIBGCC_STACK_POINTER_REGNUM__.
	(DWARF_ALT_FRAME_RETURN_COLUMN): Change all uses to
	__LIBGCC_DWARF_ALT_FRAME_RETURN_COLUMN__.
	* config/nios2/linux-unwind.h (STACK_POINTER_REGNUM): Change use
	to __LIBGCC_STACK_POINTER_REGNUM__.
	* config/pa/hpux-unwind.h (DWARF_ALT_FRAME_RETURN_COLUMN): Change
	all uses to __LIBGCC_DWARF_ALT_FRAME_RETURN_COLUMN__.
	* config/pa/linux-unwind.h (DWARF_ALT_FRAME_RETURN_COLUMN): Change
	all uses to __LIBGCC_DWARF_ALT_FRAME_RETURN_COLUMN__.
	* config/rs6000/aix-unwind.h (DWARF_ALT_FRAME_RETURN_COLUMN):
	Change all uses to __LIBGCC_DWARF_ALT_FRAME_RETURN_COLUMN__.
	(STACK_POINTER_REGNUM): Change all uses to
	__LIBGCC_STACK_POINTER_REGNUM__.
	* config/rs6000/darwin-fallback.c (STACK_POINTER_REGNUM): Change
	use to __LIBGCC_STACK_POINTER_REGNUM__.
	* config/rs6000/linux-unwind.h (STACK_POINTER_REGNUM): Change all
	uses to __LIBGCC_STACK_POINTER_REGNUM__.
	* config/sparc/linux-unwind.h (DWARF_FRAME_REGISTERS): Change use
	to __LIBGCC_DWARF_FRAME_REGISTERS__.
	* config/sparc/sol2-unwind.h (DWARF_FRAME_REGISTERS): Change use
	to __LIBGCC_DWARF_FRAME_REGISTERS__.
	* config/tilepro/linux-unwind.h (STACK_POINTER_REGNUM): Change use
	to __LIBGCC_STACK_POINTER_REGNUM__.
	* config/xtensa/unwind-dw2-xtensa.h (DWARF_FRAME_REGISTERS):
	Remove conditional definition.
	* crtstuff.c (TEXT_SECTION_ASM_OP): Change all uses to
	__LIBGCC_TEXT_SECTION_ASM_OP__.
	(EH_FRAME_SECTION_NAME): Change all uses to
	__LIBGCC_EH_FRAME_SECTION_NAME__.
	(EH_TABLES_CAN_BE_READ_ONLY): Change all uses to
	__LIBGCC_EH_TABLES_CAN_BE_READ_ONLY__.
	(CTORS_SECTION_ASM_OP): Change all uses to
	__LIBGCC_CTORS_SECTION_ASM_OP__.
	(DTORS_SECTION_ASM_OP): Change all uses to
	__LIBGCC_DTORS_SECTION_ASM_OP__.
	(JCR_SECTION_NAME): Change all uses to
	__LIBGCC_JCR_SECTION_NAME__.
	(INIT_SECTION_ASM_OP): Change all uses to
	__LIBGCC_INIT_SECTION_ASM_OP__.
	(INIT_ARRAY_SECTION_ASM_OP): Change all uses to
	__LIBGCC_INIT_ARRAY_SECTION_ASM_OP__.
	* generic-morestack.c (STACK_GROWS_DOWNWARD): Change all uses to
	__LIBGCC_STACK_GROWS_DOWNWARD__.
	* libgcc2.c (INIT_SECTION_ASM_OP): Change all uses to
	__LIBGCC_INIT_SECTION_ASM_OP__.
	(INIT_ARRAY_SECTION_ASM_OP): Change all uses to
	__LIBGCC_INIT_ARRAY_SECTION_ASM_OP__.
	(EH_FRAME_SECTION_NAME): Change all uses to
	__LIBGCC_EH_FRAME_SECTION_NAME__.
	* libgcov-profiler.c (VTABLE_USES_DESCRIPTORS): Remove conditional
	definitions.  Change all uses to
	__LIBGCC_VTABLE_USES_DESCRIPTORS__.
	* unwind-dw2.c (STACK_GROWS_DOWNWARD): Change all uses to
	__LIBGCC_STACK_GROWS_DOWNWARD__.
	(DWARF_FRAME_REGISTERS): Change all uses to
	__LIBGCC_DWARF_FRAME_REGISTERS__.
	(EH_RETURN_STACKADJ_RTX): Change all uses to
	__LIBGCC_EH_RETURN_STACKADJ_RTX__.
	* unwind-dw2.h (DWARF_FRAME_REGISTERS): Remove conditional
	definition.  Change use to __LIBGCC_DWARF_FRAME_REGISTERS__.
	* unwind-sjlj.c (DONT_USE_BUILTIN_SETJMP): Change all uses to
	__LIBGCC_DONT_USE_BUILTIN_SETJMP__.
	(JMP_BUF_SIZE): Change use to __LIBGCC_JMP_BUF_SIZE__.

From-SVN: r214954
2014-09-05 13:03:46 +01:00
..
aix-unwind.h Use -fbuilding-libgcc for more target macros used in libgcc. 2014-09-05 13:03:46 +01:00
aixinitfini.c re PR target/33704 (AIX runs c++ constructors in incorrect order) 2013-11-23 10:38:07 -05:00
crtcxa.c Update copyright years in libgcc/ 2014-01-02 22:25:22 +00:00
crtresfpr.S Update copyright years in libgcc/ 2014-01-02 22:25:22 +00:00
crtresgpr.S Update copyright years in libgcc/ 2014-01-02 22:25:22 +00:00
crtrestvr.S Update copyright years in libgcc/ 2014-01-02 22:25:22 +00:00
crtresxfpr.S Update copyright years in libgcc/ 2014-01-02 22:25:22 +00:00
crtresxgpr.S Update copyright years in libgcc/ 2014-01-02 22:25:22 +00:00
crtsavevr.S Update copyright years in libgcc/ 2014-01-02 22:25:22 +00:00
crtsavfpr.S Update copyright years in libgcc/ 2014-01-02 22:25:22 +00:00
crtsavgpr.S Update copyright years in libgcc/ 2014-01-02 22:25:22 +00:00
cxa_atexit.c Update copyright years in libgcc/ 2014-01-02 22:25:22 +00:00
cxa_finalize.c Update copyright years in libgcc/ 2014-01-02 22:25:22 +00:00
darwin-asm.h Update copyright years in libgcc/ 2014-01-02 22:25:22 +00:00
darwin-crt2.c Update copyright years in libgcc/ 2014-01-02 22:25:22 +00:00
darwin-fallback.c Use -fbuilding-libgcc for more target macros used in libgcc. 2014-09-05 13:03:46 +01:00
darwin-fpsave.S Update copyright years in libgcc/ 2014-01-02 22:25:22 +00:00
darwin-gpsave.S Update copyright years in libgcc/ 2014-01-02 22:25:22 +00:00
darwin-tramp.S Update copyright years in libgcc/ 2014-01-02 22:25:22 +00:00
darwin-unwind.h Update copyright years in libgcc/ 2014-01-02 22:25:22 +00:00
darwin-vecsave.S Update copyright years in libgcc/ 2014-01-02 22:25:22 +00:00
darwin-world.S Update copyright years in libgcc/ 2014-01-02 22:25:22 +00:00
e500crtres32gpr.S Update copyright years in libgcc/ 2014-01-02 22:25:22 +00:00
e500crtres64gpr.S Update copyright years in libgcc/ 2014-01-02 22:25:22 +00:00
e500crtres64gprctr.S Update copyright years in libgcc/ 2014-01-02 22:25:22 +00:00
e500crtrest32gpr.S Update copyright years in libgcc/ 2014-01-02 22:25:22 +00:00
e500crtrest64gpr.S Update copyright years in libgcc/ 2014-01-02 22:25:22 +00:00
e500crtresx32gpr.S Update copyright years in libgcc/ 2014-01-02 22:25:22 +00:00
e500crtresx64gpr.S Update copyright years in libgcc/ 2014-01-02 22:25:22 +00:00
e500crtsav32gpr.S Update copyright years in libgcc/ 2014-01-02 22:25:22 +00:00
e500crtsav64gpr.S Update copyright years in libgcc/ 2014-01-02 22:25:22 +00:00
e500crtsav64gprctr.S Update copyright years in libgcc/ 2014-01-02 22:25:22 +00:00
e500crtsavg32gpr.S Update copyright years in libgcc/ 2014-01-02 22:25:22 +00:00
e500crtsavg64gpr.S Update copyright years in libgcc/ 2014-01-02 22:25:22 +00:00
e500crtsavg64gprctr.S Update copyright years in libgcc/ 2014-01-02 22:25:22 +00:00
eabi-ci.S Update copyright years in libgcc/ 2014-01-02 22:25:22 +00:00
eabi-cn.S Update copyright years in libgcc/ 2014-01-02 22:25:22 +00:00
eabi.S Update copyright years in libgcc/ 2014-01-02 22:25:22 +00:00
exit.h Update copyright years in libgcc/ 2014-01-02 22:25:22 +00:00
freebsd-unwind.h Update copyright years in libgcc/ 2014-01-02 22:25:22 +00:00
gthr-aix.h Update copyright years in libgcc/ 2014-01-02 22:25:22 +00:00
ibm-ldouble-format Update copyright years in libgcc/ 2014-01-02 22:25:22 +00:00
ibm-ldouble.c ibm-ldouble.c (typedef union longDblUnion): Delete. 2014-07-31 11:22:58 -05:00
libgcc-aix-cxa.ver re PR target/33704 (AIX runs c++ constructors in incorrect order) 2013-11-23 10:38:07 -05:00
libgcc-darwin.10.4.ver Update copyright years in libgcc/ 2014-01-02 22:25:22 +00:00
libgcc-darwin.10.5.ver Update copyright years in libgcc/ 2014-01-02 22:25:22 +00:00
libgcc-glibc.ver Update copyright years in libgcc/ 2014-01-02 22:25:22 +00:00
libgcc-ibm-ldouble.ver
linux-unwind.h Use -fbuilding-libgcc for more target macros used in libgcc. 2014-09-05 13:03:46 +01:00
ppc64-fp.c Update copyright years in libgcc/ 2014-01-02 22:25:22 +00:00
sfp-machine.h float128-mul-underflow.c, [...]: New tests. 2014-02-12 23:24:49 +00:00
sol-ci.S Update copyright years in libgcc/ 2014-01-02 22:25:22 +00:00
sol-cn.S Update copyright years in libgcc/ 2014-01-02 22:25:22 +00:00
t-aix-cxa re PR target/33704 (AIX runs c++ constructors in incorrect order) 2013-11-23 10:38:07 -05:00
t-crtstuff
t-darwin
t-darwin64
t-freebsd Update copyright years in libgcc/ 2014-01-02 22:25:22 +00:00
t-freebsd64
t-ibm-ldouble
t-linux
t-lynx
t-netbsd
t-ppc64-fp
t-ppccomm
t-savresfgpr
t-slibgcc-aix Update copyright years in libgcc/ 2014-01-02 22:25:22 +00:00
tramp.S Update copyright years in libgcc/ 2014-01-02 22:25:22 +00:00