summaryrefslogtreecommitdiffstats
path: root/gcc/config.gcc
Commit message (Collapse)AuthorAgeFilesLines
...
* * config/rs6000/t-rs6000: Move contents to t-fprules,geoffk2002-12-181-57/+45
| | | | | | | | | | | | | | | add rules for dependencies of rs6000.o and to build rs6000-c.o * config/rs6000/t-fprules: New file from t-rs6000. * config/rs6000/t-beos: Remove soft-fp rules. * config/rs6000/t-ppccomm: Likewise. * config/rs6000/t-newas: Likewise. * config/rs6000/t-rs6000-c-rule: Delete. * config.gcc: Use t-fprules for rs6000/ ports when appropriate. Use t-rs6000 for all rs6000/ ports instead of t-rs6000-c-rule. Create generic Darwin rules. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@60265 138bc75d-0d04-0410-961f-82ee72b054a4
* Merge basic-improvements-branch to trunkzack2002-12-161-99/+60
| | | | git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@60174 138bc75d-0d04-0410-961f-82ee72b054a4
* * config.sub: Import from master repositorysveinse2002-12-091-2/+5
| | | | | | | | | * config.guess: Ditto * MAINTAINERS: Added Svein Seldal under write after approval * gcc/config.gcc: Added tic4x-* target as an alias to c4x-* git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@59955 138bc75d-0d04-0410-961f-82ee72b054a4
* * config/s390/t-crtstuff: New target makefile fragment.uweigand2002-11-291-2/+2
| | | | | | | * config.gcc [s390-*-linux, s390x-*-linux]: Use it. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@59641 138bc75d-0d04-0410-961f-82ee72b054a4
* * config.gcc (x86_64-*-linux*) [tmake_file]: Remove i386/t-crtstuff.jakub2002-11-281-1/+1
| | | | | | | | * config/t-linux (CRTSTUFF_T_CFLAGS_S): Add $(CRTSTUFF_T_CFLAGS). * config/i386/t-linux64 (CRTSTUFF_T_CFLAGS): Define. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@59607 138bc75d-0d04-0410-961f-82ee72b054a4
* 2002-11-27 Krister Walfridsson <cato@df.lth.se>kristerw2002-11-281-1/+1
| | | | | | | | * config.gcc (*-*-netbsd[2-9]*, *-*-netbsdelf[2-9]*): Test for correct version. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@59592 138bc75d-0d04-0410-961f-82ee72b054a4
* * config.gcc (powerpc-*-netbsd*): Replace "svr4.h" withthorpej2002-11-261-2/+2
| | | | | | | | | | "netbsd.h netbsd-elf.h" in tm_file. Set tmake_file to "${tmake_file} rs6000/t-netbsd". * config/rs6000/netbsd.h: Rewrite. * config/rs6000/t-netbsd: New file. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@59479 138bc75d-0d04-0410-961f-82ee72b054a4
* * config.gcc (*-*-netbsd*1.[7-9]*, *-*-netbsd*[2-9]*): Setthorpej2002-11-241-0/+15
| | | | | | | | | | | | extra_parts to "crtbegin.o crtend.o crtbeginS.o crtendS.o crtbeginT.o". (arm*-*-netbsd*, i[34567]86-*-netbsd*, m68k*-*-netbsd*) (ns32k-*-netbsd*, sparc-*-netbsd*, vax-*-netbsd*): Set extra_parts to "" for a.out configurations. * config/t-netbsd (CRTSTUFF_T_CFLAGS): Set to "-fPIC". git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@59444 138bc75d-0d04-0410-961f-82ee72b054a4
* * config.gcc (arm*-*-netbsdelf*): Enable configuration.thorpej2002-11-211-1/+2
| | | | | | | * config/arm/netbsd-elf.h: New file. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@59359 138bc75d-0d04-0410-961f-82ee72b054a4
* * pa.h (STARTING_FRAME_OFFSET): Change offset for TARGET_64BIT to 16.danglin2002-11-101-3/+12
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | * config.gcc (hppa*64*-*-linux*): Shorten lines in tm_file define. (hppa*64*-*-hpux11*): Likewise. Use elfos.h with gas. * pa.c (output_millicode_call): Use symbol difference rather than $PIC_pcrel$0 when using HP assembler. * pa64-hpux.h (TARGET_GAS): Define to 1 or 0 depending on whether or not elfos.h (i.e., gas) is being used. (ASM_FILE_START, STRING_ASM_OP, TEXT_SECTION_ASM_OP, DATA_SECTION_ASM_OP, BSS_SECTION_ASM_OP, ASM_OUTPUT_ALIGNED_COMMON, ASM_OUTPUT_ALIGNED_LOCAL, GLOBAL_ASM_OP, ASM_DECLARE_FUNCTION_NAME, ASM_OUTPUT_EXTERNAL, ASM_OUTPUT_EXTERNAL_LIBCALL, ASM_OUTPUT_INTERNAL_LABEL, ASM_GENERATE_INTERNAL_LABEL): Define when using elfos.h. (TARGET_ASM_GLOBALIZE_LABEL): Undefine when using elfos.h. (DWARF2_ASM_LINE_DEBUG_INFO): Delete. (ASM_FILE_START): Add standard .SPACE and .SUBSPA defines when not using elfos.h. (TEXT_SECTION_ASM_OP, READONLY_DATA_SECTION_ASM_OP, DATA_SECTION_ASM_OP, BSS_SECTION_ASM_OP): New HP style defines when not using elfos.h. (TARGET_ASM_NAMED_SECTION, MAKE_DECL_ONE_ONLY, ASM_WEAKEN_LABEL): Don't define when not using elfos.h. (ASM_DECLARE_RESULT): Don't define. * doc/install.texi (hppa*-hp-hpux*): Remove statement that HP assembler doesn't work on hppa64-hp-hpux11. (hppa*-hp-hpux11): Update. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@58967 138bc75d-0d04-0410-961f-82ee72b054a4
* Index: ChangeLoggeoffk2002-11-071-4/+4
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 2002-11-05 Geoffrey Keating <geoffk@apple.com> * config.gcc: Don't create crtbegin, crtend on Darwin; do create crt2.o. Rearrange t-darwin makefiles. * crtstuff.c [OBJECT_FORMAT_MACHO]: Delete. * unwind-dw2-fde-darwin.c: New. * unwind-dw2-fde-glibc.c: Correct comment. * unwind-dw2-fde.c (__register_frame_info_bases) [DWARF2_OBJECT_END_PTR_EXTENSION]: Clear fde_end. (classify_object_over_fdes): Use last_fde. (add_fdes): Likewise. (linear_search_fdes): Likewise. * unwind-dw2-fde.h (struct object) [DWARF2_OBJECT_END_PTR_EXTENSION]: Add fde_end field. (last_fde): New. * config/darwin.h (STARTFILE_SPEC): Include crt2.o not crtbegin.o. (ENDFILE_SPEC): No crtend.o. * config/t-darwin: New. * config/i386/t-darwin: Delete. * config/darwin-crt2.c: New. * config/rs6000/t-darwin: Delete contents duplicated in t-rs6000 or config/t-darwin. Index: testsuite/ChangeLog 2002-11-05 Geoffrey Keating <geoffk@apple.com> * g++.old-deja/g++.eh/badalloc1.C: XFAIL excess errors test on Darwin. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@58877 138bc75d-0d04-0410-961f-82ee72b054a4
* * config.gcc (*-*-netbsd*): Add NETBSD_ENABLE_PTHREADS tothorpej2002-10-281-0/+1
| | | | | | | | | tm_defines if pthreads are enabled. * config/netbsd.h (LIB_SPEC): Only support the -pthread option if NETBSD_ENABLE_PTHREADS is defined. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@58599 138bc75d-0d04-0410-961f-82ee72b054a4
* * config.gcc (mips64vr-*-elf*, mips64vrel-*-elf*): Addrsandifo2002-10-241-1/+1
| | | | | | | | | | MIPS_MARCH_CONTROLS_SOFT_FLOAT=1 to $tm_defines. * config/mips/mips.c (MIPS_MARCH_CONTROLS_SOFT_FLOAT): Default to 0. (override_options): Base default setting of MASK_SOFT_FLOAT on -march if MIPS_MARCH_CONTROLS_SOFT_FLOAT. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@58488 138bc75d-0d04-0410-961f-82ee72b054a4
* * config.gcc [s390-*-linux]: Remove s390/t-linux from tmake_file.uweigand2002-10-221-2/+2
| | | | | | | | | [s390x-*-linux*]: Likewise. * config/s390/t-linux: Remove. * config/s390/s390.h: Include fixdfdi.h when building libgcc2. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@58416 138bc75d-0d04-0410-961f-82ee72b054a4
* * config.gcc (mips*-*-*): Add OBJECT_FORMAT_ELF to $tm_definesrsandifo2002-10-171-0/+5
| | | | | | | | | if using mips/elf.h or mips/elf64.h. * config/mips/elf.h (OBJECT_FORMAT_ELF): Remove. * config/mips/elf64.h (OBJECT_FORMAT_ELF): Remove. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@58237 138bc75d-0d04-0410-961f-82ee72b054a4
* * config/rs6000/aix52.h: New file.dje2002-10-101-1/+9
| | | | | | | | | * config/rs6000/t-aix52: New File. * config.gcc (rs6000-ibm-aix5.1.*): New entry. (rs6000-ibm-aix[56789].*): Default to AIX 5.2. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@58021 138bc75d-0d04-0410-961f-82ee72b054a4
* * config.gcc (hppa*64*-*-hpux11*): Check gnu_ld.sje2002-10-031-0/+4
| | | | | | | | | | | * config/pa/pa.h (MASK_GNU_LD): New. (TARGET_GNU_LD): New. (TARGET_SWITCHES): New gnu-ld & no-gnu-ld flags. * config/pa/pa64-hpux.h (LINK_SPEC): Set based on gnu-ld and MASK_GNU_LD. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@57792 138bc75d-0d04-0410-961f-82ee72b054a4
* 2002-10-01 Matt Thomas <matt@3am-software.com>thorpej2002-10-011-1/+2
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Jason Thorpe <thorpej@wasabisystems.com> * config.gcc (vax-*-netbsdelf*): Enable configuration. * config/elfos.h (PCC_BITFIELD_TYPE_MATTERS): Define only if not already defined. * config/vax/elf.h: New file. * config/vax/netbsd-elf.h: New file. * config/vax/vax.c: Include "debug.h". (vax_output_function_prologue): Add dwarf2 support. Use MAIN_NAME_P when checking for VMS_TARGET stack adjust. * config/vax/vax.h (CONST_OK_FOR_LETTER_P): Add cases for 'J' [0..63], 'K' [-128..127], 'L' [-32768..32767], 'M' [0..255], 'N' [0..65535], and, 'O' [-63..-1]. (VAX_ISTREAM_SYNC): Remove. (INITIALIZE_TRAMPOLINE): Use gen_sync_istream. (JUMP_TABLES_IN_TEXT_SECTION): Define. (ASM_OUTPUT_REG_POP): Use reg_names for the stack pointer. (ASM_OUTPUT_ADDR_VEC_ELT): Use ASM_GENERATE_INTERNAL_LABEL and assemble_name. (ASM_OUTPUT_ADDR_DIFF_ELT): Likewise. (PRINT_OPERAND_PUNCT_VALID_P): Accept '|'. (PRINT_OPERAND): Output REGISTER_PREFIX for '|'. (INCOMING_RETURN_ADDR_RTX): Define. * config/vax/vax.md (VUNSPEC_BLOCKAGE) (VUNSPEC_SYNC_ISTREAM): Define. (blockage): Use VUNSPEC_BLOCKAGE. (sync_istream): New insn. 2002-10-01 Richard Henderson <rth@redhat.com> * config/vax/vax.md (call_pop, *call_pop, call_value_pop) (*call_value_pop, call, call_value): Add dwarf2 EH support. (*call): New insn. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@57702 138bc75d-0d04-0410-961f-82ee72b054a4
* Add x prefix to v850e case for handling --with-cpu=v850e.nickc2002-09-261-1/+1
| | | | git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@57538 138bc75d-0d04-0410-961f-82ee72b054a4
* * config.gcc: Treat winchip_c6-*|winchip2-*|c3-* as pentium-mmx.rth2002-09-171-1/+1
| | | | | | | | | * config/i386/i386.c (processor_alias_table): Add winchip-c6, winchip2 and c3. * doc/invoke.texi: Mention new aliases. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@57227 138bc75d-0d04-0410-961f-82ee72b054a4
* * ChangeLog: Follow spelling conventions.kazu2002-09-151-4/+4
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | * ChangeLog.0: Likewise. * ChangeLog.1: Likewise. * ChangeLog.2: Likewise. * ChangeLog.4: Likewise. * ChangeLog.6: Likewise. * config.gcc: Likewise. * dwarfout.c: Likewise. * reload1.c: Likewise. * simplify-rtx.c: Likewise. * unwind-sjlj.c: Likewise. * config/avr/avr.h: Likewise. * config/d30v/d30v.h: Likewise. * config/frv/frv.c: Likewise. * config/frv/frv.h: Likewise. * config/ip2k/ip2k.h: Likewise. * config/m88k/m88k-move.sh: Likewise. * config/stormy16/stormy16.c: Likewise. * config/stormy16/stormy16.h: Likewise. * doc/extend.texi: Likewise. * doc/interface.texi: Likewise. * doc/invoke.texi: Likewise. * doc/md.texi: Likewise. * doc/rtl.texi: Likewise. * doc/tm.texi: Likewise. * doc/trouble.texi: Likewise. * ginclude/float.h: Likewise. * treelang/treelang.texi: Likewise. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@57179 138bc75d-0d04-0410-961f-82ee72b054a4
* * config.gcc (*-*-netbsd*): Set thread_file to 'posix'thorpej2002-09-151-0/+5
| | | | | | | for --enable-threads=yes and --enable-threads=posix. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@57163 138bc75d-0d04-0410-961f-82ee72b054a4
* * config.gcc (ia64*-*-aix*, ia64*-*-elf*, ia64*-*-freebsd*,sje2002-09-131-0/+4
| | | | | | | | | ia64*-*-linux*): Set extra_parts. * config/ia64/t-aix (EXTRA_PARTS): Remove. * config/ia64/t-ia64 (EXTRA_PARTS): Remove. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@57119 138bc75d-0d04-0410-961f-82ee72b054a4
* * target.h (struct gcc_target): New fieldshebs2002-09-131-0/+2
| | | | | | | | | | | | | | | | | | | | | | | | | | | | terminate_dw2_eh_frame_info. * target-def.h (TARGET_TERMINATE_DW2_EH_FRAME_INFO): Define. (TARGET_INITIALIZER): Add it. * dwarf2out.c (output_call_frame_info): Use target hook. * dwarf2asm.c (dw2_asm_output_delta): Use macro ASM_OUTPUT_DWARF_DELTA if defined. * doc/tm.texi (TARGET_TERMINATE_DW2_EH_FRAME_INFO): Document. (ASM_OUTPUT_DWARF_DELTA): Ditto. (ASM_OUTPUT_DWARF_OFFSET): Ditto. (ASM_OUTPUT_DWARF_PCREL): Ditto. * config.gcc (i[34567]86-*-darwin*): Define extra_parts. (powerpc-*-darwin*): Ditto. * crtstuff.c [OBJECT_FORMAT_MACHO]: Update the Mach-O bits to work correctly for Darwin. * config/darwin.h (OBJECT_FORMAT_MACHO): Define. (STARTFILE_SPEC): Add crtbegin.o. (ENDFILE_SPEC): Define. (EXTRA_SECTION_FUNCTIONS): Put gcc_except_tab in data segment. (ASM_PREFERRED_EH_DATA_FORMAT): Handle more cases. (ASM_OUTPUT_DWARF_DELTA): Define. (TARGET_TERMINATE_DW2_EH_FRAME_INFO): Define. * config/darwin.c (darwin_asm_output_dwarf_delta): New function. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@57089 138bc75d-0d04-0410-961f-82ee72b054a4
* * Makefile.in (USER_H): Add ginclude/float.h.rth2002-09-031-91/+0
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | (FLOAT_H): Remove. (stmp-int-hdrs, install-mkheaders): Don't handle FLOAT_H. (mostlyclean): Don't remove float.h intermediate files. (distclean): Don't remove float.h. * config.gcc: Remove all float_format references. * configure.in (float_format, float_h_file): Remove. * c-common.c: Include tree-inline.h. (builtin_define_with_int_value): New. (builtin_define_type_precision): Use it. (builtin_define_float_constants): New. (cb_register_builtins): Use it. Define __FLT_RADIX__ and __FLT_EVAL_METHOD__. * defaults.h (TARGET_FLT_EVAL_METHOD): New. * config/i386/i386.h (TARGET_FLT_EVAL_METHOD): New. * config/m68k/m68k.h (TARGET_FLT_EVAL_METHOD): New. * doc/tm.texi (INTEL_EXTENDED_IEEE_FORMAT): Mention moto 96-bit format. (TARGET_FLT_EVAL_METHOD): New. * config/float-c4x.h, config/float-i128.h, config/float-i32.h, config/float-i386.h, config/float-i64.h, config/float-m68k.h, config/float-sh.h, config/float-sparc.h, config/float-vax.h: Remove. * ginclude/float.h: New. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@56769 138bc75d-0d04-0410-961f-82ee72b054a4
* * config.gcc (ia64*-*-hpux*): Add ia64-c.o to c_target andsje2002-09-031-0/+2
| | | | | | | | | | | | | | | | cxx_target. * config/ia64/hpux.h (REGISTER_TARGET_PRAGMAS): Register pragma handling routine for builtin pragma. * config/ia64/ia64-protos.h (ia64_hpux_handle_builtin_pragma): Registered pragma handling routine. * ia64-c.c (ia64_hpux_handle_builtin_pragma): Ditto. (ia64_hpux_add_pragma_builtin) New subroutine used by above. If builtin pragma seen for math routine and C89 conformance is requested use different math function in order to set errno. * t-ia64 (ia64-c.o): Add new rule for new file. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@56767 138bc75d-0d04-0410-961f-82ee72b054a4
* * config.gcc (mips*-*-netbsd*): Set target_cpu_default tothorpej2002-08-281-0/+1
| | | | | | | | | | | "MASK_GAS|MASK_ABICALLS". * config/mips/netbsd.h (TARGET_ENDIAN_DEFAULT) (TARGET_DEFAULT): Remove. (MACHINE_TYPE): Undefine before defining. (DBX_DEBUGGING_INFO, PREFERRED_DEBUGGING_TYPE): Remove. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@56627 138bc75d-0d04-0410-961f-82ee72b054a4
* 2002-08-27 Nick Clifton <nickc@redhat.com>nickc2002-08-271-0/+31
| | | | | | | | | | | | | | | | Catherine Moore <clm@redhat.com> Jim Wilson <wilson@cygnus.com> * config.gcc: Add v850e-*-* target. Add --with-cpu= support for v850. * config/v850/lib1funcs.asm: Add v850e callt functions. * config/v850/v850.h: Add support for v850e target. * config/v850/v850.c: Add functions to support v850e target. * config/v850/v850-protos.h: Add prototypes for new functions in v850.c. * config/v850/v850.md: Add patterns for v850e instructions. * doc/invoke.texi: Document new v850e command line switches. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@56612 138bc75d-0d04-0410-961f-82ee72b054a4
* 2002-08-15 Eric Christopher <echristo@redhat.com>echristo2002-08-201-0/+11
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | * config.sub: Import from master repository. * config.guess: Ditto. 2002-08-15 Eric Christopher <echristo@redhat.com> Jeff Knaggs <jknaggs@redhat.com> * config.gcc (mipsisa64sr71k-elf): New target. * config/mips/sr71k.md: New file. * config/mips/mips.md: Use it. (rot*): Add sr71k specifics. * config/mips/t-sr71k: New file. * config/mips/mips.h (sr71k): New cpu. (TARGET_SR71K): Use it. (TUNE_SR71K): Ditto. (GENERATE_BRANCHLIKELY): Ditto. (ISA_HAS_MULHI, ISA_HAS_MULS, ISA_HAS_MSAC, ISA_HAS_MACC, ISA_HAS_ROTR_SIISA_HAS_ROTR_DI): Ditto. * config/mips/mips.c (sr71k): New cpu. (mips_use_dfa_pipeline_interface): Use. 2002-08-15 Eric Christopher <echristo@redhat.com> Richard Sandiford <rsandifo@redhat.com> Aldy Hernandez <aldyh@redhat.com> Graham Stott <grahams@redhat.com> Michael Meissner <meissner@redhat.com> Gavin Romig-Koch <gavin@redhat.com> Ken Raeburn <raeburn@cygnus.com> Alexandre Oliva <aoliva@redhat.com> * config.gcc (mips64vr-elf): New target. * config/mips/5400.md: New file. * config/mips/5500.md: Ditto. * config/mips/mips.md: Use them. (frsqrt): New. * config/mips/mips.c (vr4111, vr4121, vr4320, vr5400, vr5500): New cpus. (mips_issue_rate): Use them. (mips_use_dfa_pipeline_interface): New function. Use for 5400 and 5500. (TARGET_SCHEDUSE_DFA_PIPELINE_INTERFACE): Define. Use above. * config/mips/mips.h (vr4111, vr4121, vr4320, vr5400, vr5500): New cpus. (TARGET_MIPSx): Use them. (TUNE_MIPSx): Ditto. (GETNATE_MULT3_SI): Ditto. (ISA_HAS_BRANCHLIKELY): Ditto. (ISA_HAS_CONDMOVE): Ditto. (ISA_HAS_NMADD_NMSUB): Ditto. (ISA_HAS_MULHI): New. Ditto. (ISA_HAS_MULS): Ditto. (ISA_HAS_MSAC): Ditto. (ISA_HAS_MACC): Ditto. (ISA_HAS_ROTR_SI): Ditto. (ISA_HAS_ROTR_DI): Ditto. (RTX_COSTS): Use. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@56471 138bc75d-0d04-0410-961f-82ee72b054a4
* 2002-08-18 H.J. Lu (hjl@gnu.org)hjl2002-08-181-30/+2
| | | | | | | | | | | | | | | * config.gcc (*-*-linux*): Set extra_parts="crtbegin.o crtbeginS.o crtbeginT.o crtend.o crtendS.o", gas=yes and gnu_ld=yes. (alpha*-*-linux*, cris-*-linux*, i370-*-linux*, i[34567]86-*-linux*, x86_64-*-linux*, mips*-*-linux*, s390-*-linux*, s390x-*-linux*, sparc-*-linux*, sparc64-*-linux*, xtensa-*-linux*): Remove setting extra_parts, gas, and gnu_ld here. (cris-*-linux*): Remove setting thread_file here. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@56428 138bc75d-0d04-0410-961f-82ee72b054a4
* * config.gcc (mips*-*-netbsd*): Include ${tm_file}.ghazi2002-08-121-1/+1
| | | | git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@56222 138bc75d-0d04-0410-961f-82ee72b054a4
* * config.gcc (*-*-linux*): Default to --enable-threads=posix if nojakub2002-08-061-48/+10
| | | | | | | | | | | | --{enable,disable}-threads is given to configure. (alpha*-*-linux*, hppa*-*-linux*, i[34567]86-*-linux*, x86_64-*-linux*, ia64*-*-linux*, m68k-*-linux*, mips*-*-linux*, powerpc-*-linux-gnualtivec*, powerpc-*-linux*, s390-*-linux*, s390x-*-linux*, sh-*-linux*, sparc-*-linux*, sparc64-*-linux*): Remove thread_file setting here. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@56071 138bc75d-0d04-0410-961f-82ee72b054a4
* 2002-08-05 Douglas B Rupp <rupp@gnat.com>rupp2002-08-051-2/+2
| | | | | | | | | | | * config.gcc (i[34567]86-*-interix*): Replace interix.o with winnt.o * config/i386/i386-interix.h (TARGET_NOP_FUN_DLLIMPORT, drectve_section): Define. * config/i386/t-interix: Replace interix.o rule with winnt.o. * config/i386/interix.c: Remove. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@56056 138bc75d-0d04-0410-961f-82ee72b054a4
* Add the FRV portbernds2002-08-041-0/+4
| | | | git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@56029 138bc75d-0d04-0410-961f-82ee72b054a4
* 2002-08-02 Eric Christopher <echristo@redhat.com>echristo2002-08-021-1/+1
| | | | | | | | | | * config.gcc (mips*-*-linux*): Fix ordering of tm_file. * config/mips/mips.h (READONLY_DATA_SECTION_ASM_OP): Change #ifndef to #undef. (TARGET_MEM_FUNCTIONS): Define instead of define to 1. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@55998 138bc75d-0d04-0410-961f-82ee72b054a4
* * config.gcc: Don't include mips/abi64.h in $tm_file.rsandifo2002-08-021-4/+4
| | | | | | | | | | | | | | | | | | | | * hard-reg-set.h (call_really_used_regs): Declare. * config/mips/abi64.h: Remove file. * config/mips/linux.h, * config/mips/iris6.h: Don't include it. * config/mips/mips-protos.h (mips_conditional_register_usage): Declare. * config/mips/mips.h (CONDITIONAL_REGISTER_USAGE): Use it. (REG_PARM_STACK_SPACE, STACK_BOUNDARY, STRICT_ARGUMENT_NAMING, FUNCTION_ARG_PASS_BY_REFERENCE, FUNCTION_ARG_PADDING, FUNCTION_ARG_CALLEE_COPIES, MUST_PASS_IN_STACK, MIPS_STACK_ALIGN): Bring across definitions from abi64.h. (GP_ARG_LAST, FP_ARG_LAST): Use MAX_ARGS_IN_REGISTERS. (BIGGEST_MAX_ARGS_IN_REGISTERS): New. (struct mips_args): Use it. * config/mips/mips.c (mips_conditional_register_usage): Define. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@55986 138bc75d-0d04-0410-961f-82ee72b054a4
* [file missed during commit of following change]cgd2002-08-021-0/+6
| | | | | | | | | | | | | | | 2002-08-01 Chris Demetriou <cgd@broadcom.com> * config.gcc (mipsisa64sb1-*-elf*): New configuration. (mipsisa64sb1el-*-elf*): Likewise. * config/mips/mips.c (mips_cpu_info_table): Add sb1. * config/mips/mips.h (processor_type): Add PROCESSOR_SB1. (TARGET_SB1, TUNE_SB1): New macros. * doc/invoke.texi: Add sb1 to documentation for MIPS -march and -mtune flags. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@55970 138bc75d-0d04-0410-961f-82ee72b054a4
* * config/ns32k/ns32k.h (TARGET_IEEE_COMPARE): Correct earlier patch.rth2002-08-011-1/+1
| | | | | | | | | | | | | | (RETURN_ADDR_RTX): Cannot determine return address for FRAME > 0 when there is no frame pointer. (INITIAL_FRAME_POINTER_OFFSET): Count stack space for saved fp registers properly. * config/ns32k/__unorddf2.c: New file. * config/ns32k/__unordsf2.c: New file. * config/ns32k/t-ns32k: New file. * config.gcc (ns32k-*-netbsd*): Use it. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@55949 138bc75d-0d04-0410-961f-82ee72b054a4
* * config.gcc (i[34567]86-*-darwin*): New configuration.shebs2002-07-311-0/+12
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | * config/darwin.h (TARGET_ENCODE_SECTION_INFO): Undefine before defining. (TARGET_ENCODE_SECTION_INFO): Ditto. (ASM_PREFERRED_EH_DATA_FORMAT): Ditto. * config/darwin.c (machopic_indirect_data_reference): Remove setting of RTX_UNCHANGING_P. (machopic_legitimize_pic_address): Move RTX_UNCHANGING_P up so as * config/i386/t-darwin: New file. * config/i386/darwin.h: New file. * config/i386/i386.h (TARGET_MACHO): Add default definition. * config/i386/i386.md (tablejump): Add TARGET_MACHO case. * config/i386/i386.c (output_set_got): For Mach-O, output Mach-O label and not the GOT add. (constant_address_p): For Mach-O, seeing a CONST is enough. (legitimate_pic_address_disp_p): Add a Mach-O case. (legitimate_address_p): Also test machopic_operand_p if Mach-O. (legitimize_pic_address): Use generic Mach-O code to legitimize. (output_pic_addr_const): Suppress @PLT if Mach-O, and parens if outputting a difference. (ix86_output_addr_diff_elt): Add Mach-O case. (ix86_expand_move): Similarly. (ix86_expand_call): Similarly. (current_machopic_label_num): New global. (machopic_output_stub): New function. (ix86_value_regno): New function. (ix86_function_value): Use it instead of VALUE_REGNO. (ix86_libcall_value): Ditto. * config/i386/unix.h (VALUE_REGNO): Remove. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@55916 138bc75d-0d04-0410-961f-82ee72b054a4
* 2002-07-29 Eric Christopher <echristo@redhat.com>echristo2002-07-291-15/+30
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | * config/mips/elf.h: Remove ecoff.h and gofast includes. (DWARF2_DEBUGGING_INFO, DBX_DEBUGGING_INFO): Define unconditionally. (SDB_DEBUGGING_INFO): Undefine. (PREFERRED_DEBUGGING_TYPE): Set to DWARF2_DEBUG. (PUT_SDB_SIZE): Remove. (SUBTARGET_ASM_DEBUGGING_SPEC): Redefine. (STARTFILE_SPEC): Add isa3264 define. * config/mips/elf64.h: Ditto. Move TARGET_MEM_FUNCTIONS from here... * config/mips/ecoff.h: Remove. and here... * config/mips/iris3.h: and here... * config/mips/sni-svr4.h: and here... * config/mips/mips.h: To here. Remove OBJECT_FORMAT_ROSE ifdefs. Add assembler -mmdebug options for non-dwarf debugging. * config/mips/r3900.h: Remove debug info defines. * config/mips/isa32-linux.h: Remove, move functionality to config.gcc. * config/mips/isa3264.h: Ditto. * config/mips/t-isa3264: Fix up for file removal and gofast configure change. * config/mips/t-elf: Ditto. * config/mips/t-ecoff: Ditto. * config/mips/t-r3900: Ditto. * config/mips/t-iris5-6: Ditto. * config/mips/t-isa3264: Ditto. * config/mips/t-linux: Remove. * config/mips/t-netbsd: Remove. * config/mips/t-mips: New file. * config/mips/t-gofast: Ditto. * config/mips/netbsd.h: Remove unnecessary undefines. * config/mips/linux.h: Remove #include of mips.h. * config.gcc: Add mips.h include for elf targets. Remove tm_file for ecoff. Add gofast configure option for mips. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@55852 138bc75d-0d04-0410-961f-82ee72b054a4
* * config.gcc (target_gtfiles): Initialize, as otherwise cross compilers ↵mrs2002-07-291-0/+1
| | | | | | | | | hosted on powerpc-apple-darwin6.0 won't even build. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@55838 138bc75d-0d04-0410-961f-82ee72b054a4
* * configure.in: Rename config_gtfiles to target_gtfiles.shebs2002-07-271-1/+3
| | | | | | | | | | * configure: Regenerate. * doc/gty.texi: Update reference. * config.gcc (powerpc-*-darwin*): Set target_gtfiles instead of appending to it. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@55801 138bc75d-0d04-0410-961f-82ee72b054a4
* 2002-07-24 Aldy Hernandez <aldyh@redhat.com>aldyh2002-07-251-1/+6
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | * config/rs6000/eabi.h: Define TARGET_SPE_ABI, TARGET_SPE, TARGET_ISEL, and TARGET_FPRS. * doc/invoke.texi (RS/6000 and PowerPC Options): Document -mabi=spe, -mabi=no-spe, and -misel=. * config/rs6000/rs6000-protos.h: Add output_isel. Move vrsave_operation prototype here. * config/rs6000/rs6000.md (sminsi3): Allow pattern for TARGET_ISEL. (smaxsi3): Same. (uminsi3): Same. (umaxsi3): Same. (abssi2_nopower): Disallow when TARGET_ISEL. (*ne0): Same. (negsf2): Change to expand and rename old pattern to *negsf2. (abssf2): Change to expand and rename old pattern to *abssf2. New expanders: fix_truncsfsi2, floatunssisf2, floatsisf2, fixunssfsi2. Change patterns that check for TARGET_HARD_FLOAT or TARGET_SOFT_FLOAT to also check TARGET_FPRS. * config/rs6000/rs6000.c: New globals: rs6000_spe_abi, rs6000_isel, rs6000_fprs, rs6000_isel_string. (rs6000_override_options): Add 8540 case to processor_target_table. Set rs6000_isel for the 8540. Call rs6000_parse_isel_option. (enable_mask_for_builtins): New. (rs6000_parse_isel_option): New. (rs6000_parse_abi_options): Add spe and no-spe. (easy_fp_constant): Treat !TARGET_FPRS as soft-float. (rs6000_legitimize_address): Check for TARGET_FPRS when checking for TARGET_HARD_FLOAT. Add case for SPE_VECTOR_MODE. (rs6000_legitimize_reload_address): Handle SPE vector modes. (rs6000_legitimate_address): Disallow PRE_INC/PRE_DEC for SPE vector modes. Check for TARGET_FPRS when checking for TARGET_HARD_FLOAT. (rs6000_emit_move): Check for TARGET_FPRS. Add cases for SPE vector modes. (function_arg_boundary): Return 64 for SPE vector modes. (function_arg_advance): Check for TARGET_FPRS and Handle SPE vectors. (function_arg): Same. (setup_incoming_varargs): Check for TARGET_FPRS. (rs6000_va_arg): Same. (struct builtin_description): Un-constify mask field. Move up in file. (bdesc_2arg): Un-constify and add SPE builtins. (bdesc_1arg): Same. (bdesc_spe_predicates): New. (bdesc_spe_evsel): New. (rs6000_expand_unop_builtin): Add SPE 5-bit literal builtins. (rs6000_expand_binop_builtin): Same. (bdesc_2arg_spe): New. (spe_expand_builtin): New. (spe_expand_predicate_builtin): New. (spe_expand_evsel_builtin): New. (rs6000_expand_builtin): Call spe_expand_builtin for SPE. (rs6000_init_builtins): Initialize SPE builtins. Call rs6000_common_init_builtins. (altivec_init_builtins): Move all non-altivec builtin code to... (rs6000_common_init_builtins): ...here. New function. (branch_positive_comparison_operator): Allow NE code for SPE. (ccr_bit): Return correct ccr bit for SPE fp. (print_operand): Emit crnor in 'D' case for SPE. New case 't'. Add SPE code for 'y' case. (rs6000_generate_compare): Generate rtl for SPE fp. (output_cbranch): Handle SPE hard floats. (rs6000_emit_cmove): Handle isel. (rs6000_emit_int_cmove): New. (output_isel): New. (rs6000_stack_info): Adjust stack frame so GPRs are saved in 64-bits for SPE. (debug_stack_info): Add SPE info. (gen_frame_mem_offset): New. (rs6000_emit_prologue): Save GPRs in 64-bits for SPE abi. Change mode of frame pointer, when saving it, to Pmode. (rs6000_emit_epilogue): Restore GPRs in 64-bits for SPE abi. Misc cleanups and use gen_frame_mem_offset when appropriate. * config/rs6000/rs6000.h (processor_type): Add PROCESSOR_PPC8540. (TARGET_SPE_ABI): New. (TARGET_SPE): New. (TARGET_ISEL): New. (TARGET_FPRS): New. (FIXED_SCRATCH): New. (RTX_COSTS): Add PROCESSOR_PPC8540. (ASM_CPU_SPEC): Add case for 8540. (TARGET_OPTIONS): Add isel= case. (rs6000_spe_abi): New. (rs6000_isel): New. (rs6000_fprs): New. (rs6000_isel_string): New. (UNITS_PER_SPE_WORD): New. (LOCAL_ALIGNMENT): Adjust for SPE. (HARD_REGNO_MODE_OK): Same. (DATA_ALIGNMENT): Same. (MEMBER_TYPE_FORCES_BLK): New. (FIRST_PSEUDO_REGISTER): Set to 113. (FIXED_REGISTERS): Add SPE registers. (reg_class): Same. (REG_CLASS_NAMES): Same. (REG_CLASS_CONTENTS): Same. (REGNO_REG_CLASS): Same. (REGISTER_NAMES): Same. (DEBUG_REGISTER_NAMES): Same. (ADDITIONAL_REGISTER_NAMES): Same. (CALL_USED_REGISTERS): Same. (CALL_REALLY_USED_REGISTERS): Same. (SPE_ACC_REGNO): New. (SPEFSCR_REGNO): New. (SPE_SIMD_REGNO_P): New. (HARD_REGNO_NREGS): Adjust for SPE. (VECTOR_MODE_SUPPORTED_P): Same. (REGNO_REG_CLASS): Same. (FUNCTION_VALUE): Same. (LIBCALL_VALUE): Same. (LEGITIMATE_OFFSET_ADDRESS_P): Same. (SPE_VECTOR_MODE): New. (CONDITIONAL_REGISTER_USAGE): Disable FPRs when target does FP on the GPRs. Set FIXED_SCRATCH fixed in SPE case. (rs6000_stack): Add spe_gp_size, spe_padding_size, spe_gp_save_offset. (USE_FP_FOR_ARG_P): Check for TARGET_FPRS. (LEGITIMATE_LO_SUM_ADDRESS_P): Same. (SPE_CONST_OFFSET_OK): New. (rs6000_builtins): Add SPE builtins. * testsuite/gcc.dg/ppc-spe.c: New. * config/rs6000/eabispe.h: New. * config/rs6000/spe.h: New. * config/rs600/spe.md: New. * config/rs6000/rs6000-c.c (rs6000_cpu_cpp_builtins): Define __SIMD__ for TARGET_SPE. * config.gcc: Add powerpc-*-eabispe* case. Add spe.h to user headers for powerpc. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@55734 138bc75d-0d04-0410-961f-82ee72b054a4
* * config/mips/iris5gas.h (DWARF2_DEBUGGING_INFO): Define.ro2002-07-191-1/+3
| | | | | | | | | | | | | | | | | | | (PREFERRED_DEBUGGING_TYPE): Use DWARF2_DEBUG. (LINK_SPEC): Define. (STARTFILE_SPEC): Define. (ENDFILE_SPEC): Define. * config/mips/iris6-o32.h (LINK_SPEC): Move ... * config/mips/iris6-o32-as.h (LINK_SPEC): ... here. * config/mips/iris6-o32-gas.h: New file. * config.gcc (mips-sgi-irix6*o32): Use it. * config/mips/t-iris5-gas: New file. * config.gcc (mips-sgi-irix6*o32, mips-sgi-irix5*): Use it. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@55596 138bc75d-0d04-0410-961f-82ee72b054a4
* * config.gcc (sh64): Remove unusedaj2002-07-141-8/+0
| | | | | | | target_requires_64bit_host_wide_int. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@55437 138bc75d-0d04-0410-961f-82ee72b054a4
* * configure.in (mips*-*-irix6*o32): Enable stabs.ro2002-07-111-2/+26
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | gcc: * config.gcc (mips-sgi-irix6*o32): New configuration. * configure.in (libgcc_visibility): Disable for mips-sgi-irix6*o32 configurations. * configure: Regenerate. * config/mips/iris6-o32-as.h: New file. * config/mips/iris6-o32.h: New file. * config/mips/iris5gas.h (TARGET_ASM_NAMED_SECTION): Define. (NM_FLAGS): Define. (HAVE_AS_SHF_MERGE): Undefine. * config/mips/t-iris5-as: New file. * config.gcc (mips-sgi-irix6*o32, mips-sgi-irix5*): Use it. * config/mips/t-iris6 (SHLIB_EXT, SHLIB_SOLINK, SHLIB_SONAME, SHLIB_NAME, SHLIB_MAP, SHLIB_OBJS, SHLIB_SLIBDIR_QUAL, SHLIB_LINK, SHLIB_INSTALL, SHLIB_MKMAP, SHLIB_MAPFILES, FPBIT, DPBIT, dp-bit.c, fp-bit.c): Move ... * config/mips/t-iris5-6: ... here. New file, shared by IRIX 5 and IRIX 6. * config.gcc (mips-sgi-irix6*o32, mips-sgi-irix6*, mips-sgi-irix5*): Use it. * config/mips/iris6.h: Remove duplicate comment. * config/mips/mips.c (TARGET_ASM_UNALIGNED_DI_OP) [TARGET_IRIX5 && !TARGET_IRIX6]: Define. (mips_asm_file_start): Don't emit mdebug.<ABI> sections on IRIX 5/6. * config/mips/mips.h (ASM_DECLARE_FUNCTION_NAME): Fix comment. gcc/testsuite: * gcc.misc-tests/linkage.exp: Handle mips-sgi-irix6*o32 configuration and IRIX 6 O32 ABI. libstdc++-v3: * configure.target (target_os switch): Allow for irix6*o32 configurations. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@55401 138bc75d-0d04-0410-961f-82ee72b054a4
* 2002-07-02 Chris Demetriou <cgd@broadcom.com>cgd2002-07-021-1/+1
| | | | | | | | | * config.gcc (mips*el-*-*): Use tm_defines to set TARGET_ENDIAN_DEFAULT, rather than including mips/little.h. * config/mips/little.h: Remove. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@55200 138bc75d-0d04-0410-961f-82ee72b054a4
* Obselete vax-*-vms*neroden2002-06-261-0/+1
| | | | git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@55002 138bc75d-0d04-0410-961f-82ee72b054a4
* * gcc/config.gcc (ia64*-*-hpux*): Set use_collect2 to no.sje2002-06-241-1/+2
| | | | | | | Set float_format to i128. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@54953 138bc75d-0d04-0410-961f-82ee72b054a4
* * config.gcc: Add support for ip2k.denisc2002-06-231-0/+2
| | | | git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@54925 138bc75d-0d04-0410-961f-82ee72b054a4
OpenPOWER on IntegriCloud