freebsd.h (213185) | freebsd.h (217396) |
---|---|
1/* Definitions for PowerPC running FreeBSD using the ELF format 2 Copyright (C) 2001, 2003 Free Software Foundation, Inc. 3 Contributed by David E. O'Brien <obrien@FreeBSD.org> and BSDi. 4 5 This file is part of GCC. 6 7 GCC is free software; you can redistribute it and/or modify it 8 under the terms of the GNU General Public License as published --- 216 unchanged lines hidden (view full) --- 225 { \ 226 unsigned int *insn = (unsigned int *) \ 227 _Unwind_GetGR ((CTX), LINK_REGISTER_REGNUM); \ 228 if (insn != NULL && *insn == 0xE8410028) \ 229 _Unwind_SetGRPtr ((CTX), 2, (CTX)->cfa + 40); \ 230 } 231#endif 232 | 1/* Definitions for PowerPC running FreeBSD using the ELF format 2 Copyright (C) 2001, 2003 Free Software Foundation, Inc. 3 Contributed by David E. O'Brien <obrien@FreeBSD.org> and BSDi. 4 5 This file is part of GCC. 6 7 GCC is free software; you can redistribute it and/or modify it 8 under the terms of the GNU General Public License as published --- 216 unchanged lines hidden (view full) --- 225 { \ 226 unsigned int *insn = (unsigned int *) \ 227 _Unwind_GetGR ((CTX), LINK_REGISTER_REGNUM); \ 228 if (insn != NULL && *insn == 0xE8410028) \ 229 _Unwind_SetGRPtr ((CTX), 2, (CTX)->cfa + 40); \ 230 } 231#endif 232 |
233#define TARGET_ASM_FILE_END rs6000_elf_end_indicate_exec_stack 234 |
|
233/* FreeBSD doesn't support saving and restoring 64-bit regs with a 32-bit 234 kernel. This is supported when running on a 64-bit kernel with 235 COMPAT_FREEBSD32, but tell GCC it isn't so that our 32-bit binaries 236 are compatible. */ 237#define OS_MISSING_POWERPC64 !TARGET_64BIT 238 239/* Function profiling bits */ 240#undef RS6000_MCOUNT 241#define RS6000_MCOUNT ((TARGET_64BIT) ? "._mcount" : "_mcount") 242#define PROFILE_HOOK(LABEL) \ 243 do { if (TARGET_64BIT) output_profile_hook (LABEL); } while (0) 244 | 235/* FreeBSD doesn't support saving and restoring 64-bit regs with a 32-bit 236 kernel. This is supported when running on a 64-bit kernel with 237 COMPAT_FREEBSD32, but tell GCC it isn't so that our 32-bit binaries 238 are compatible. */ 239#define OS_MISSING_POWERPC64 !TARGET_64BIT 240 241/* Function profiling bits */ 242#undef RS6000_MCOUNT 243#define RS6000_MCOUNT ((TARGET_64BIT) ? "._mcount" : "_mcount") 244#define PROFILE_HOOK(LABEL) \ 245 do { if (TARGET_64BIT) output_profile_hook (LABEL); } while (0) 246 |
247#undef NEED_INDICATE_EXEC_STACK 248#define NEED_INDICATE_EXEC_STACK 1 |
|