summaryrefslogtreecommitdiff
path: root/config/mt-sde
Commit message (Collapse)AuthorAgeFilesLines
* 2012-09-19 Steve Ellcey <sellcey@mips.com>sje2012-09-191-3/+3
| | | | | | | * mt-sde: Change -mcode-xonly to -mcode-readable=pcrel. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@191499 138bc75d-0d04-0410-961f-82ee72b054a4
* * mt-sde: Fix typos.jsm282012-05-291-1/+1
| | | | | | | | * stdint.m4: Fix typos. * tcl.m4: Fix typos. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@187971 138bc75d-0d04-0410-961f-82ee72b054a4
* config/rsandifo2007-12-061-2/+2
| | | | | | | | * mt-sde (CFLAGS_FOR_TARGET, CXXFLAGS_FOR_TARGET): Use +=, not =. * mt-mips-elfoabi: Likewise. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@130652 138bc75d-0d04-0410-961f-82ee72b054a4
* config/rsandifo2007-09-211-10/+10
| | | | | | | | | | | | * mt-sde (CFLAGS_FOR_TARGET): Replace -fno-optimize-sibling-calls with -minterlink-mips16. (CXXFLAGS_FOR_TARGET): Likewise. gcc/ * config/mips/t-sde (TARGET_LIBGCC2_CFLAGS): Delete. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@128644 138bc75d-0d04-0410-961f-82ee72b054a4
* config/rsandifo2007-09-071-6/+8
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | * mt-sde (CFLAGS_FOR_TARGET): Add -mno-gpopt. (CXXFLAGS_FOR_TARGET): Likewise. gcc/ * doc/invoke.texi: Document the MIPS -mlocal-sdata, -mextern-sdata and -mgpopt options. Adjust the -G documentation to match. * config/mips/mips.opt (mextern-data, mgpopt, mlocal-data): New. * config/mips/mips.c (mips_rtx_constant_in_small_data_p): New function, split out from mips_classify_symbol. Return false for !TARGET_LOCAL_SDATA. (mips_classify_symbol): Call mips_rtx_constant_in_small_data_p. Only use GP-relative accesses for non-pool symbols if TARGET_GPOPT. (override_options): Check whether the -mgpopt setting is consistent with the other flags. (symbolic_expression_p): Delete. (mips_select_rtx_section): Use mips_rtx_constant_in_small_data_p and default_elf_select_rtx_section. (mips_in_small_data_p): Honor section attributes for MIPS16 too. Return false for local data unless TARGET_LOCAL_SDATA. Likewise external data and TARGET_EXTERN_SDATA. gcc/testsuite/ * gcc.dg/attr-alias-3.c: Use real asm for MIPS. * gcc.target/mips/mips.exp (setup_mips_tests): Set mips_forced_gp and mips_forced_no_er. (dg-mips-options): Add -mno-abicalls when a small-data option is specified. Skip tests with small-data options if mips_forced_gp. Skip tests with -mexplicit-relocs if mips_forced_no_er. * gcc.target/mips/sdata-1.c: New test. * gcc.target/mips/sdata-2.c: Likewise. * gcc.target/mips/sdata-3.c: Likewise. * gcc.target/mips/sdata-4.c: Likewise. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@128230 138bc75d-0d04-0410-961f-82ee72b054a4
* 2007-08-17 Richard Sandiford <richard@codesourcery.com>rsandifo2007-08-171-0/+8
Nigel Stephens <nigel@mips.com> * config/mt-sde: New file. * configure.ac (mips*-sde-elf*): New stanza. Use config/mt-sde as target_makefile_frag. * configure: Regenerate. gcc/ 2007-08-17 Richard Sandiford <richard@codesourcery.com> Nigel Stephens <nigel@mips.com> * config/mips/sde.h (DRIVER_SELF_SPECS): Add commas. Treat -mno-data-in-code and -mcode-xonly as aliases for -mcode-readable=no and -mcode-readable=pcrel respectively. * config/mips/t-sde (TARGET_LIBGCC2_CFLAGS): Add -mcode-xonly. (MULTILIB_OPTIONS): Add -mcode-readable=no multilibs. (MULTILIB_DIRNAMES): Update accordingly. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@127586 138bc75d-0d04-0410-961f-82ee72b054a4