aboutsummaryrefslogtreecommitdiff
path: root/gas/doc
diff options
context:
space:
mode:
authorBob Wilson <bob.wilson@acm.org>2004-11-04 21:52:55 +0000
committerBob Wilson <bob.wilson@acm.org>2004-11-04 21:52:55 +0000
commit9456465c211025cbe18b74c073302d164206a427 (patch)
tree0ecec7e252f2dc24b77c8017d00d5a0ffe41fb5a /gas/doc
parenta81b10aef7a31ca324e3588f6c646359c3a77204 (diff)
downloadfsf-binutils-gdb-9456465c211025cbe18b74c073302d164206a427.zip
fsf-binutils-gdb-9456465c211025cbe18b74c073302d164206a427.tar.gz
fsf-binutils-gdb-9456465c211025cbe18b74c073302d164206a427.tar.bz2
* config/tc-xtensa.c: Remove XTENSA_SECTION_RENAME ifdefs.
(add_section_rename): Delete. Inlined into... (build_section_rename): ...here. Use xstrdup instead of strdup. (xtensa_section_rename): Drop "const" from argument and return types. (md_show_usage): Indent to match show_usage(). * config/tc-xtensa.h: Remove XTENSA_SECTION_RENAME ifdefs. (tc_canonicalize_section_name): Define. (md_elf_section_rename): Remove unused macro. * doc/as.texinfo (Overview): Document Xtensa --rename-section option. * doc/c-xtensa.texi (Xtensa Options): Likewise. (Frame Directive): Delete.
Diffstat (limited to 'gas/doc')
-rw-r--r--gas/doc/as.texinfo1
-rw-r--r--gas/doc/c-xtensa.texi36
2 files changed, 6 insertions, 31 deletions
diff --git a/gas/doc/as.texinfo b/gas/doc/as.texinfo
index 98e341c..a73edd7 100644
--- a/gas/doc/as.texinfo
+++ b/gas/doc/as.texinfo
@@ -424,6 +424,7 @@ gcc(1), ld(1), and the Info entries for @file{binutils} and @file{ld}.
[@b{--[no-]text-section-literals}] [@b{--[no-]absolute-literals}]
[@b{--[no-]target-align}] [@b{--[no-]longcalls}]
[@b{--[no-]transform}]
+ [@b{--rename-section} @var{oldname}=@var{newname}]
@end ifset
@c man end
@end smallexample
diff --git a/gas/doc/c-xtensa.texi b/gas/doc/c-xtensa.texi
index 25065f8..c31d51a 100644
--- a/gas/doc/c-xtensa.texi
+++ b/gas/doc/c-xtensa.texi
@@ -85,6 +85,11 @@ including both relaxation and optimization. The default is
rare cases when the instructions must be exactly as specified in the
assembly source. Using @samp{--no-transform} causes out of range
instruction operands to be errors.
+
+@item --rename-section @var{oldname}=@var{newname}
+@kindex --rename-section
+Rename the @var{oldname} section to @var{newname}. This option can be used
+multiple times to rename multiple sections.
@end table
@node Xtensa Syntax
@@ -529,7 +534,6 @@ The following directives are available:
* Literal Position Directive:: Specify Inline Literal Pool Locations.
* Literal Prefix Directive:: Specify Literal Section Name Prefix.
* Absolute Literals Directive:: Control PC-Relative vs. Absolute Literals.
-* Frame Directive:: Describe a stack frame.
@end menu
@node Schedule Directive
@@ -744,36 +748,6 @@ Otherwise, the default is to assume PC-relative @code{L32R} addressing.
The @code{absolute-@-literals} directive can then be used to override
the default determined by the command-line options.
-@node Frame Directive
-@subsection frame
-@cindex @code{frame} directive
-
-This directive tells the assembler to emit information to allow the
-debugger to locate a function's stack frame. The syntax is:
-
-@smallexample
- .frame @var{reg}, @var{size}
-@end smallexample
-
-where @var{reg} is the register used to hold the frame pointer (usually
-the same as the stack pointer) and @var{size} is the size in bytes of
-the stack frame. The @code{.frame} directive is typically placed
-near the @code{ENTRY} instruction for a function.
-
-In many circumstances, this information just duplicates the
-information given in the function's @code{ENTRY} instruction; however,
-there are two cases where this is not true:
-
-@enumerate
-@item
-The size of the stack frame is too big to fit in the immediate field
-of the @code{ENTRY} instruction.
-
-@item
-The frame pointer is different than the stack pointer, as with functions
-that call @code{alloca}.
-@end enumerate
-
@c Local Variables:
@c fill-column: 72
@c End: