aboutsummaryrefslogtreecommitdiff
path: root/gcc/config/netbsd-elf.h
AgeCommit message (Collapse)AuthorFilesLines
2005-06-25Update FSF address.R. Kelley Cook1-2/+2
From-SVN: r101314
2003-09-27GNU CC -> GCCKelley Cook1-4/+4
From-SVN: r71850
2003-05-18c-cppbuiltin.c (TARGET_OS_CPP_BUILTINS, [...]): Default here.Neil Booth1-1/+0
* c-cppbuiltin.c (TARGET_OS_CPP_BUILTINS, TARGET_OBJFMT_CPP_BUILTINS): Default here. (c_cpp_builtins): Invoke TARGET_OBJFMT_CPP_BUILTINS(). * defaults.h: Don't default TARGET_OS_CPP_BUILTINS here. * config/elfos.h (TARGET_OBJFMT_CPP_BUILTINS): Define __ELF__. * config/freebsd-spec.h, config/netbsd-elf.h, config/alpha/gnu.h, config/arm/linux-elf.h, config/arm/rtems-elf.h, config/arm/unknown-elf.h, config/cris/cris.h, config/cris/linux.h, config/h8300/elf.h, config/i370/linux.h, config/i386/beos-elf.h, config/i386/gnu.h, config/i386/linux.h, config/i386/linux64.h, config/i386/moss.h, config/i386/rtemself.h, config/ia64/ia64.h, config/m68k/rtemself.h, config/mcore/mcore-elf.h, config/mips/linux.h, config/pa/pa-linux.h, config/rs6000/linux.h, config/rs6000/linux64.h, config/rs6000/sysv4.h, config/rs6000/vxworks.h, config/s390/linux.h, config/sh/coff.h, config/sh/elf.h, config/sh/rtemself.h, config/sh/sh.h, config/sparc/linux.h, config/sparc/linux64.h, config/sparc/openbsd64.h, config/sparc/sp64-elf.h, config/sparc/sp86x-elf.h, config/xtensa/elf.h, config/xtensa/linux.h: Don't define __ELF__. * config/alpha.h, config/m68k/linux.h (TARGET_OBJFMT_CPP_BUILTINS): Define __ELF__. * doc/cpp.texi: Document __ELF__. * doc/tm.texi: Document TARGET_OBJFMT_CPP_BUILTINS. From-SVN: r66926
2002-11-26gcc.c (static_spec_functions): Add if-exists-else spec function.Jason Thorpe1-1/+3
* gcc.c (static_spec_functions): Add if-exists-else spec function. (if_exists_else_spec_function): New function. * doc/invoke.texi: Document the if-exists-else spec function. * config/netbsd-elf.h (NETBSD_STARTFILE_SPEC): For -static, use "%:if-exists-else(crtbeginT%O%s crtbegin%O%s)". From-SVN: r59480
2002-11-24netbsd-elf.h (STARTFILE_SPEC): Rename to NETBSD_STARTFILE_SPEC.Jason Thorpe1-4/+7
* config/netbsd-elf.h (STARTFILE_SPEC): Rename to NETBSD_STARTFILE_SPEC. (STARTFILE_SPEC): Redefine in terms of NETBSD_STARTFILE_SPEC. (ENDFILE_SPEC): Likewise. * config/netbsd.h (LIB_SPEC, LIBGCC_SPEC): Likewise. From-SVN: r59436
2002-11-19gcc.c (The Specs Language): Document spec functions.Jason Thorpe1-1/+3
* gcc.c (The Specs Language): Document spec functions. (static_spec_functions, lookup_spec_function) (eval_spec_function, handle_spec_function) (if_exists_spec_function, alloc_args): New. (execute): Abort if processing_spec_function is true. (do_spec_1): Hand off spec to handle_spec_function if %: is encountered. If processing_spec_function is true, end any pending argument when the end of the string is reached. (main): Use alloc_args to allocate the initial argument vector. * gcc.h (struct spec_function): New. (lang_specific_spec_functions): New extern. * config/netbsd-elf.h (STARTFILE_SPEC): Add if-exists(crti%O%s). (ENDFILE_SPEC): Add if-exists(crtn%O%s). * config/alpha/netbsd.h (ENDFILE_SPEC): Likewise. * doc/invoke.texi: Document spec functions. * cppspec.c (lang_specific_spec_functions): New. * gccspec.c: Likewise. * g++spec.c (lang_specific_spec_functions): New. * g77spec.c (lang_specific_spec_functions): New. * jvspec.c (lang_specific_spec_functions): New. From-SVN: r59241
2002-06-08netbsd-elf.h (LINK_SPEC): Rename to...Jason Thorpe1-14/+18
* config/netbsd-elf.h (LINK_SPEC): Rename to... (NETBSD_LINK_SPEC_ELF): ...this. Use %(netbsd_entry_point) to specify program entry point. From-SVN: r54360
2002-05-29netbsd-aout.h (NETBSD_OS_CPP_BUILTINS_AOUT): Define common CPP built-ins for ↵Jason Thorpe1-0/+8
all NetBSD a.out targets. * config/netbsd-aout.h (NETBSD_OS_CPP_BUILTINS_AOUT): Define common CPP built-ins for all NetBSD a.out targets. * config/netbsd-elf.h (NETBSD_OS_CPP_BUILTINS_ELF): Define common CPP built-ins for all NetBSD ELF targets. * config/netbsd.h: Add missing notice. (NETBSD_OS_CPP_BUILTINS_COMMON): Define common CPP built-ins for all NetBSD targets. (NETBSD_OS_CPP_BUILTINS_LP64): Define common CPP built-ins for all NetBSD targets using an LP64 code model. (NETBSD_CPP_SPEC): Define CPP_SPEC parts common to all NetBSD targets. From-SVN: r53980
2002-01-22netbsd.h (TARGET_HAS_F_SETLKW): define.Jason Thorpe1-0/+76
* config/netbsd.h (TARGET_HAS_F_SETLKW): define. Split a.out-specific bits into... * config/netbsd-aout.h: ...this. * config/netbsd-elf.h: New file. * config/alpha/netbsd-elf.h: Remove. * config/alpha/netbsd.h: Rewrite for a NetBSD/alpha ELF target. * config/i386/netbsd-elf.h (LIB_SPEC): Remove. (STARTFILE_SPEC): Remove redundant definition. (ENDFILE_SPEC): Likewise. (LINK_SPEC): Likewise. (CPP_SPEC): Likewise. (ASM_SPEC): Likewise. (LIB_SPEC): Likewise. (SWITCH_TAKES_ARG): Likewise. (TARGET_MEM_FUNCTIONS): Likewise. (CPP_PREDEFINES): Redefine. (ASM_FINAL_SPEC): Remove redefinition. (ASM_COMMENT_START): Redefine. (FUNCTION_PROFILER): Define. (TARGET_VERSION): Redefine. Comment and formatting cleanup. * config/i386/netbsd.h: Include <netbsd-aout.h>. * config/m68k/netbsd.h: Include <netbsd-aout.h>. * config/mips/netbsd.h: Rewrite for NetBSD/mips ELF target, big- or little-endian. * config/ns32k/netbsd.h: Include <netbsd-aout.h>. * config.gcc (*-*-netbsd*): Add definitions common to all NetBSD configs. (alpha*-*-netbsd*): Remove redundant xm_defines, gas, and gnu_ld definitions. Add netbsd-elf.h to and remove alpha/netbsd-elf.h from tm_file. Remove alpha/t-crtfm from tmake_file, and don't lose previous tmake_file contents. (arm*-*-netbsd*): Add netbsd-aout.h to tm_file. (i[34567]86-*-netbsdelf*): Remove redundant xm_defines, gas, and gnu_ld definitions. Add netbsd-elf.h to tm_file. (mips-dec-netbsd*): Remove as alias for mipsel-*-netbsd*. (mipsel-*-netbsd*): Rename this to... (mips*-*-netbsd*): ...this. Add elfos.h to tm_file. Add mips/little.h to tm_file for mips*el-*. (powerpc-*-netbsd*): Remove redundant xm_defines definition. (sparc-*-netbsd*): Add netbsd-aout.h to tm_file. (vax-*-netbsd*): Add netbsd-aout.h to tm_file. From-SVN: r49064