aboutsummaryrefslogtreecommitdiff
path: root/gas
diff options
context:
space:
mode:
authorAndrew Burgess <andrew.burgess@embecosm.com>2014-12-23 17:46:45 +0000
committerAndrew Burgess <andrew.burgess@embecosm.com>2014-12-24 21:28:34 +0000
commitf5be95254d169859a5ebfbd4663a9cf669066968 (patch)
tree05fedf69818fa42a09d184bc748dcad9bde8e046 /gas
parentedc9e9a62fddb2745093c1edafd0a2310e79a579 (diff)
downloadgdb-f5be95254d169859a5ebfbd4663a9cf669066968.zip
gdb-f5be95254d169859a5ebfbd4663a9cf669066968.tar.gz
gdb-f5be95254d169859a5ebfbd4663a9cf669066968.tar.bz2
AVR: Document linker relaxation related options.
Adds documentation describing the -mlink-relax and -mno-link-relax command line options. gas/ChangeLog: * doc/c-avr.texi: Document -mlink-relax and -mno-link-relax.
Diffstat (limited to 'gas')
-rw-r--r--gas/ChangeLog4
-rw-r--r--gas/doc/c-avr.texi11
2 files changed, 15 insertions, 0 deletions
diff --git a/gas/ChangeLog b/gas/ChangeLog
index f281160..2d45f3b 100644
--- a/gas/ChangeLog
+++ b/gas/ChangeLog
@@ -1,5 +1,9 @@
2014-12-24 Andrew Burgess <andrew.burgess@embecosm.com>
+ * doc/c-avr.texi: Document -mlink-relax and -mno-link-relax.
+
+2014-12-24 Andrew Burgess <andrew.burgess@embecosm.com>
+
* config/tc-avr.c (struct avr_opt_s): Change link_relax to
no_link_relax, extend comment.
(enum options): Add new OPTION_NO_LINK_RELAX.
diff --git a/gas/doc/c-avr.texi b/gas/doc/c-avr.texi
index 75b5d20..f20937c 100644
--- a/gas/doc/c-avr.texi
+++ b/gas/doc/c-avr.texi
@@ -140,6 +140,17 @@ This option reject @code{rjmp/rcall} instructions with 8K wrap-around.
@item -mrmw
Accept Read-Modify-Write (@code{XCH,LAC,LAS,LAT}) instructions.
+@cindex @code{-mlink-relax} command line option, AVR
+@item -mlink-relax
+Enable support for link-time relaxation. This is now on by default
+and this flag no longer has any effect.
+
+@cindex @code{-mno-link-relax} command line option, AVR
+@item -mno-link-relax
+Disable support for link-time relaxation. The assembler will resolve
+relocations when it can, and may be able to better compress some debug
+information.
+
@end table