Deleted Added
full compact
freebsd.h (99883) freebsd.h (99884)
1/* Definitions for Intel 386 running FreeBSD with either a.out or ELF format
2 Copyright (C) 1996, 2000, 2002 Free Software Foundation, Inc.
3 Contributed by Eric Youngdale.
4 Modified for stabs-in-ELF by H.J. Lu.
5 Adapted from GNU/Linux version by John Polstra.
6 Added support for generating "old a.out gas" on the fly by Peter Wemm.
7 Continued development by David O'Brien <obrien@freebsd.org>
8

--- 9 unchanged lines hidden (view full) ---

18MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
19GNU General Public License for more details.
20
21You should have received a copy of the GNU General Public License
22along with GNU CC; see the file COPYING. If not, write to
23the Free Software Foundation, 59 Temple Place - Suite 330,
24Boston, MA 02111-1307, USA. */
25
1/* Definitions for Intel 386 running FreeBSD with either a.out or ELF format
2 Copyright (C) 1996, 2000, 2002 Free Software Foundation, Inc.
3 Contributed by Eric Youngdale.
4 Modified for stabs-in-ELF by H.J. Lu.
5 Adapted from GNU/Linux version by John Polstra.
6 Added support for generating "old a.out gas" on the fly by Peter Wemm.
7 Continued development by David O'Brien <obrien@freebsd.org>
8

--- 9 unchanged lines hidden (view full) ---

18MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
19GNU General Public License for more details.
20
21You should have received a copy of the GNU General Public License
22along with GNU CC; see the file COPYING. If not, write to
23the Free Software Foundation, 59 Temple Place - Suite 330,
24Boston, MA 02111-1307, USA. */
25
26/* $FreeBSD: head/contrib/gcc/config/i386/freebsd.h 99883 2002-07-12 17:35:35Z obrien $ */
26/* $FreeBSD: head/contrib/gcc/config/i386/freebsd.h 99884 2002-07-12 17:44:24Z obrien $ */
27
28#undef CC1_SPEC
29#define CC1_SPEC "%(cc1_cpu) %{profile:-p} \
30 %{gline:%{!g:%{!g0:%{!g1:%{!g2: -g1}}}}} \
31 %{maout: %{!mno-underscores: %{!munderscores: -munderscores }}}"
32
33#undef ASM_SPEC
34#define ASM_SPEC "%{v*: -v} %{maout: %{fpic:-k} %{fPIC:-k}}"

--- 347 unchanged lines hidden (view full) ---

382
383#undef DBX_REGISTER_NUMBER
384#define DBX_REGISTER_NUMBER(n) (TARGET_64BIT ? dbx64_register_map[n] \
385 : (write_symbols == DWARF2_DEBUG \
386 || write_symbols == DWARF_DEBUG) \
387 ? svr4_dbx_register_map[(n)] \
388 : dbx_register_map[(n)])
389
27
28#undef CC1_SPEC
29#define CC1_SPEC "%(cc1_cpu) %{profile:-p} \
30 %{gline:%{!g:%{!g0:%{!g1:%{!g2: -g1}}}}} \
31 %{maout: %{!mno-underscores: %{!munderscores: -munderscores }}}"
32
33#undef ASM_SPEC
34#define ASM_SPEC "%{v*: -v} %{maout: %{fpic:-k} %{fPIC:-k}}"

--- 347 unchanged lines hidden (view full) ---

382
383#undef DBX_REGISTER_NUMBER
384#define DBX_REGISTER_NUMBER(n) (TARGET_64BIT ? dbx64_register_map[n] \
385 : (write_symbols == DWARF2_DEBUG \
386 || write_symbols == DWARF_DEBUG) \
387 ? svr4_dbx_register_map[(n)] \
388 : dbx_register_map[(n)])
389
390/* The same functions are used to creating the DWARF2 debug info and C++
391 unwind info (except.c). Regardless of the debug format requested, the
392 register numbers used in exception unwinding sections still have to be
393 DWARF compatible. IMO the GCC folks may be abusing the DBX_REGISTER_NUMBER
394 macro to mean too much. */
395#define DWARF_FRAME_REGNUM(n) (TARGET_64BIT ? dbx64_register_map[n] \
396 : svr4_dbx_register_map[(n)])
397
390/* tag end of file in elf mode */
391#undef DBX_OUTPUT_MAIN_SOURCE_FILE_END
392#define DBX_OUTPUT_MAIN_SOURCE_FILE_END(FILE, FILENAME) \
393 do { \
394 if (TARGET_ELF) { \
395 asm_fprintf ((FILE), \
396 "\t.text\n\t.stabs \"\",%d,0,0,%LLetext\n%LLetext:\n",\
397 N_SO); \

--- 31 unchanged lines hidden ---
398/* tag end of file in elf mode */
399#undef DBX_OUTPUT_MAIN_SOURCE_FILE_END
400#define DBX_OUTPUT_MAIN_SOURCE_FILE_END(FILE, FILENAME) \
401 do { \
402 if (TARGET_ELF) { \
403 asm_fprintf ((FILE), \
404 "\t.text\n\t.stabs \"\",%d,0,0,%LLetext\n%LLetext:\n",\
405 N_SO); \

--- 31 unchanged lines hidden ---