* config/tc-mips.c (mips_flag_pdr): Define.

(md_begin) [OBJ_ELF]: Use it to control .pdr creation.
	(s_mips_end) [OBJ_ELF]: Likewise.
	(md_longopts) [OBJ_ELF]: Define OPTION_PDR, OPTION_NO_PDR.
	(md_parse_option) [OBJ_ELF]: Handle them.
	(md_show_usage) [OBJ_ELF]: Document -mpdr, -mno-pdr.

	* doc/c-mips.texi (MIPS Opts): Document -mpdr, -mno-pdr.
	* doc/as.texinfo (Overview) [MIPS]: Likewise.
This commit is contained in:
Rainer Orth
2003-07-28 20:06:27 +00:00
parent bb1db0499b
commit dcd410fe15
4 changed files with 48 additions and 3 deletions

View File

@ -1,4 +1,4 @@
@c Copyright 1991, 1992, 1993, 1994, 1995, 1997, 1999, 2000
@c Copyright 1991, 1992, 1993, 1994, 1995, 1997, 1999, 2000, 2001, 2002, 2003
@c Free Software Foundation, Inc.
@c This is part of the GAS manual.
@c For copying conditions, see the file as.texinfo.
@ -230,6 +230,11 @@ are only supported at Instruction Set Architecture level 2 and higher.
Generate code to take a break exception rather than a trap exception when an
error is detected. This is the default.
@item -mpdr
@itemx -mno-pdr
Control generation of @code{.pdr} sections. Off by default on IRIX, on
elsewhere.
@item -n
When this option is used, @code{@value{AS}} will issue a warning every
time it generates a nop instruction from a macro.