gcc/libgcc/config
Richard Sandiford ddaf812593 mips-protos.h (SYMBOL_FORCE_TO_MEM): Delete.
gcc/
2012-01-08  Chung-Lin Tang  <cltang@codesourcery.com>
	    Richard Sandiford  <rdsandiford@googlemail.com>

	* config/mips/mips-protos.h (SYMBOL_FORCE_TO_MEM): Delete.
	(SYMBOL_32_HIGH): Likewise.
	(mips_output_tls_reloc_directive): Declare.
	* config/mips/mips.h (PIC_FUNCTION_ADDR_REGNUM): Move to mips.md.
	(mips_use_pcrel_pool_p, mips_lo_relocs, mips_hi_relocs): Declare.
	* config/mips/mips.c (mips_use_pcrel_pool_p): New variable.
	(mips_lo_relocs, mips_hi_relocs): Make extern.
	(mips16_stub_function): Move up file.
	(mips_classify_symbol): Remove SYMBOL_FORCE_TO_MEM handling.
	(mips_symbolic_constant_p): Likewise.  Remove SYMBOL_32_HIGH too.
	(mips_symbol_insns_1): Likewise.  Check mips_use_pcrel_pool_p.
	(mips_cannot_force_const_mem): Use mips_use_pcrel_pool_p instead
	of SYMBOL_FORCE_TO_MEM.  Only check mips_tls_symbol_ref_1
	if it's false.
	(mips_get_tp): Add MIPS16 support.
	(mips_legitimize_tls_address): Remove MIPS16 sorry().
	Generalize DTPREL and TPREL handling.
	(mips_init_relocs): Initialize mips_use_pcrel_pool_p.
	Add MIPS16 TLS support.
	(mips_output_tls_reloc_directive): New function.
	(mips16_rewrite_pool_refs): Ignore UNSPEC_TLS_GET_TPs.
	* config/mips/predicates.md (symbolic_operand_with_high)
	(tls_reloc_operand): New predicates.
	(force_to_mem_operand): Use mips_use_pcrel_pool_p.
	* config/mips/mips.md (UNSPEC_UNSHIFTED_HIGH): New unspec.
	(PIC_FUNCTION_ADDR_REGNUM): Moved from mips.h.
	(*unshifted_high): New instruction.  Use it for MIPS16
	high splitter.
	(consttable_tls_reloc, tls_get_tp_mips16_<mode>): New patterns.
	(*tls_get_tp_mips16_call_<mode>): Likewise.

gcc/testsuite/
	* gcc.target/mips/code-readable-2.c: Allow the jump table address
	to be loaded from the constant pool, rather than via %hi and %lo.

libgcc/
2012-01-08  Chung-Lin Tang  <cltang@codesourcery.com>
	    Richard Sandiford  <rdsandiford@googlemail.com>

	* config/mips/libgcc-mips16.ver (__mips16_rdhwr): Add.
	* config/mips/mips16.S (__mips16_rdhwr): New function.
	* config/mips/t-mips16 (LIB1ASMFUNCS): Add _m16rdhwr.

From-SVN: r183195
2012-01-15 18:22:55 +00:00
..
alpha linux-unwind.h: Update copyright years. 2011-12-20 09:46:38 +01:00
arm
avr re PR target/49868 (Implement named address space to place/access data in flash memory) 2012-01-10 09:42:10 +00:00
bfin
c6x
cris
epiphany
fr30
frv
h8300
i386 * config/i386/morestack.S: Simplify CFI opcodes throughout. 2011-12-22 00:09:39 +00:00
ia64 t-ia64 (LIB1ASMFUNCS): Move backward compatibility thunks... 2012-01-06 13:43:03 +00:00
iq2000
libbid
lm32
m32c
m32r
m68k
mcore
mep
microblaze
mips mips-protos.h (SYMBOL_FORCE_TO_MEM): Delete. 2012-01-15 18:22:55 +00:00
mmix
moxie
pa re PR other/51272 (ld: Unsatisfied symbol "_ITM_registerTMCloneTable" in file /test/gnu/gcc/objdir/) 2011-12-01 02:37:06 +00:00
pdp11
picochip
rl78 . 2011-11-29 16:36:43 -05:00
rs6000 rs6000.c (rs6000_emit_prologue): Move update of VRSave mask to save_world() when that is in use. 2011-12-15 15:52:08 +00:00
rx
s390 re PR bootstrap/51734 (Bootstrap fails in libada) 2012-01-04 11:41:06 +00:00
score
sh
sparc sol2-unwind.h (sparc64_is_sighandler): Check that the purported sigacthandler address isn't null before dereferencing it. 2012-01-09 18:20:55 +00:00
spu
stormy16
v850
vax
vms
xtensa
darwin-64.c
darwin-crt3.c
darwin-crt-tm.c darwin-crt-tm.c: Correct comments, use correct licence. 2011-11-27 13:57:01 +00:00
gmon-sol2.c
gthr-lynx.h
gthr-rtems.h
gthr-vxworks.h
libgcc-glibc.ver
libgcc-libsystem.ver
no-sfp-machine.h
no-unwind.h
t-crtfm
t-crtstuff-pic
t-darwin
t-dfprules
t-eh-dw2-dip
t-fdpbit
t-fixedpoint-gnu-prefix
t-fpbit
t-freebsd-thread
t-gnu-prefix
t-libgcc-pic
t-libunwind
t-libunwind-elf
t-linux
t-openbsd-thread
t-rtems
t-slibgcc
t-slibgcc-darwin
t-slibgcc-elf-ver
t-slibgcc-gld
t-slibgcc-gld-nover
t-slibgcc-hpux
t-slibgcc-libgcc
t-slibgcc-nolc-override
t-slibgcc-sld
t-slibgcc-vms
t-softfp
t-softfp-excl
t-softfp-sfdf
t-softfp-tf
t-sol2
t-stack
t-tls
t-vxworks
unwind-dw2-fde-darwin.c
vxlib-tls.c
vxlib.c