binutils-gdb/gas/doc
mfortune 919731affb Add MIPS .module directive
gas/

	* config/tc-mips.c (file_mips_opts_checked): New static global.
	(s_module): New static function.
	(file_ase): Remove.
	(mips_pseudo_table): Add .module handler.
	(mips_set_ase): Add opts argument and use instead of mips_opts.
 	(md_assemble): Use file_mips_check_options.
	(md_parse_option): Update to use file_mips_opts instead of mips_opts.
	(mips_set_architecture): Delete function.  Moved to...
	(mips_after_parse_args): Here.  All logic now applies to
	file_mips_opts first and then copies the final state to mips_opts.
	Move error checking and defaults inference to mips_check_options and
	file_mips_check_options.
	(mips_check_options): New static function.  Common option checking for
	command line, .module and .set.  Use .module values in error messages
	instead of refering to command line options.
	(file_mips_check_options): New static function.  A wrapper for
	mips_check_options with file_mips_opts.  Updates BFD arch based on
	final options.
	(s_mipsset): Split into s_mipsset and parse_code_option.  Settings
	supported by both .set and .module are moved to parse_code_option.
	Warnings and errors are kept in s_mipsset because when
	parse_code_option is used with s_module the warnings are deferred
	until code is generated.  Any setting supporting 'default' value is
	kept in s_mipsset as it is not applicable to s_module. Inferred
	settings are also kept in s_mipsset as s_module does not infer any
	settings.  Use mips_check_options.
	(parse_code_option): New static function derived from s_mipsset.
	(s_module): New static function that implements .module.  Allows file
	level settings to be changed until code is generated.
	(s_cpload, s_cpsetup, s_cplocal): Use file_mips_check_options.
	(s_cprestore, s_cpreturn, s_cpadd, mips_address_bytes): Likewise.
	(mips_elf_final_processing): Update file_ase to file_mips_opts.ase.
	(md_mips_end): Use file_mips_check_options.
	* doc/c-mips.texi: Document .module.

gas/testsuite

	* gas/mips/mips.exp: Add new tests.  Use 64-bit ABI for relax-bc1any.
	Fix micromips arch definition to use mips64r2 consistently.
	* gas/mips/module-defer-warn1.s: New.
	* gas/mips/module-defer-warn1.d: New.
	* gas/mips/module-defer-warn2.s: New.
	* gas/mips/module-defer-warn2.l: New.
	* gas/mips/module-override.d: New.
	* gas/mips/module-override.s: New.
	* gas/mips/mips-gp32-fp64.l: Update expected output.
	* gas/mips/mips-gp64-fp32-pic.l: Update expected output.
	* gas/mips/mips-gp64-fp32.l: Update expected output.
2014-05-20 23:46:43 +01:00
..
Makefile.am Update copyright years 2014-03-05 22:16:15 +10:30
Makefile.in autoreconf 2014-03-12 15:02:00 +10:30
all.texi Update copyright years 2014-03-05 22:16:15 +10:30
as.texinfo This adds support for marking RL78 binaries as either supporting 32-bit 2014-05-16 14:57:10 +01:00
c-aarch64.texi Enable verbose error messages by default for AArch64 gas. 2014-03-18 17:41:43 +00:00
c-alpha.texi Update copyright years 2014-03-05 22:16:15 +10:30
c-arc.texi Update copyright years 2014-03-05 22:16:15 +10:30
c-arm.texi Add support for ARM assembler produced by CodeCompositor Studio. 2014-03-19 14:31:25 +00:00
c-avr.texi * config/tc-avr.c: Add specified_mcu variable for selected mcu. 2014-03-29 09:53:16 +04:00
c-bfin.texi Update copyright years 2014-03-05 22:16:15 +10:30
c-cr16.texi Update copyright years 2014-03-05 22:16:15 +10:30
c-cris.texi Update copyright years 2014-03-05 22:16:15 +10:30
c-d10v.texi Update copyright years 2014-03-05 22:16:15 +10:30
c-d30v.texi Update copyright years 2014-03-05 22:16:15 +10:30
c-epiphany.texi Update copyright years 2014-03-05 22:16:15 +10:30
c-h8300.texi Update copyright years 2014-03-05 22:16:15 +10:30
c-hppa.texi Update copyright years 2014-03-05 22:16:15 +10:30
c-i370.texi Update copyright years 2014-03-05 22:16:15 +10:30
c-i386.texi Add pe/x86_64 bigobj file format. 2014-03-13 09:33:07 +01:00
c-i860.texi Update copyright years 2014-03-05 22:16:15 +10:30
c-i960.texi Update copyright years 2014-03-05 22:16:15 +10:30
c-ia64.texi Update copyright years 2014-03-05 22:16:15 +10:30
c-ip2k.texi Update copyright years 2014-03-05 22:16:15 +10:30
c-lm32.texi Update copyright years 2014-03-05 22:16:15 +10:30
c-m32c.texi Update copyright years 2014-03-05 22:16:15 +10:30
c-m32r.texi Update copyright years 2014-03-05 22:16:15 +10:30
c-m68hc11.texi Update copyright years 2014-03-05 22:16:15 +10:30
c-m68k.texi Update copyright years 2014-03-05 22:16:15 +10:30
c-metag.texi Update copyright years 2014-03-05 22:16:15 +10:30
c-microblaze.texi Update copyright years 2014-03-05 22:16:15 +10:30
c-mips.texi Add MIPS .module directive 2014-05-20 23:46:43 +01:00
c-mmix.texi Update copyright years 2014-03-05 22:16:15 +10:30
c-msp430.texi Update copyright years 2014-03-05 22:16:15 +10:30
c-mt.texi Update copyright years 2014-03-05 22:16:15 +10:30
c-nds32.texi Update copyright years 2014-03-05 22:16:15 +10:30
c-nios2.texi Update copyright years 2014-03-05 22:16:15 +10:30
c-ns32k.texi Update copyright years 2014-03-05 22:16:15 +10:30
c-pdp11.texi Update copyright years 2014-03-05 22:16:15 +10:30
c-pj.texi Update copyright years 2014-03-05 22:16:15 +10:30
c-ppc.texi Update copyright years 2014-03-05 22:16:15 +10:30
c-rl78.texi This adds support for marking RL78 binaries as either supporting 32-bit 2014-05-16 14:57:10 +01:00
c-rx.texi Update copyright years 2014-03-05 22:16:15 +10:30
c-s390.texi Update copyright years 2014-03-05 22:16:15 +10:30
c-score.texi Update copyright years 2014-03-05 22:16:15 +10:30
c-sh.texi Update copyright years 2014-03-05 22:16:15 +10:30
c-sh64.texi Update copyright years 2014-03-05 22:16:15 +10:30
c-sparc.texi This patch adds support for the hyperprivileged registers %hstick_offset 2014-03-19 16:43:41 +00:00
c-tic6x.texi Update copyright years 2014-03-05 22:16:15 +10:30
c-tic54x.texi Update copyright years 2014-03-05 22:16:15 +10:30
c-tilegx.texi Update copyright years 2014-03-05 22:16:15 +10:30
c-tilepro.texi Update copyright years 2014-03-05 22:16:15 +10:30
c-v850.texi Update copyright years 2014-03-05 22:16:15 +10:30
c-vax.texi Update copyright years 2014-03-05 22:16:15 +10:30
c-xc16x.texi Update copyright years 2014-03-05 22:16:15 +10:30
c-xgate.texi Update copyright years 2014-03-05 22:16:15 +10:30
c-xstormy16.texi Update copyright years 2014-03-05 22:16:15 +10:30
c-xtensa.texi Add support to the Xtensa target for creating trampolines for out-of-range branches. 2014-03-21 11:53:42 +00:00
c-z8k.texi Update copyright years 2014-03-05 22:16:15 +10:30
c-z80.texi Update copyright years 2014-03-05 22:16:15 +10:30
fdl.texi
h8.texi Update copyright years 2014-03-05 22:16:15 +10:30
internals.texi Add support for ARM assembler produced by CodeCompositor Studio. 2014-03-19 14:31:25 +00:00