aboutsummaryrefslogtreecommitdiffstats
path: root/LUFA/DoxygenPages/BuildSystem.txt
diff options
context:
space:
mode:
authorDean Camera <dean@fourwalledcubicle.com>2012-09-30 14:01:30 +0000
committerDean Camera <dean@fourwalledcubicle.com>2012-09-30 14:01:30 +0000
commit4641acc691e7b252c5b0ca8d9afed18a003b8813 (patch)
tree17f839c1bc8205873098a167ceb59f14149a073d /LUFA/DoxygenPages/BuildSystem.txt
parent4cd80263ff477e81ab88dc76f32103f3852a0468 (diff)
downloadlufa-4641acc691e7b252c5b0ca8d9afed18a003b8813.tar.gz
lufa-4641acc691e7b252c5b0ca8d9afed18a003b8813.tar.bz2
lufa-4641acc691e7b252c5b0ca8d9afed18a003b8813.zip
Add LINKER_RELAXATIONS option to the LUFA BUILD build system module.
Diffstat (limited to 'LUFA/DoxygenPages/BuildSystem.txt')
-rw-r--r--LUFA/DoxygenPages/BuildSystem.txt7
1 files changed, 7 insertions, 0 deletions
diff --git a/LUFA/DoxygenPages/BuildSystem.txt b/LUFA/DoxygenPages/BuildSystem.txt
index 57a01d944..3ee524ba3 100644
--- a/LUFA/DoxygenPages/BuildSystem.txt
+++ b/LUFA/DoxygenPages/BuildSystem.txt
@@ -188,6 +188,13 @@
* <td>Flags to pass to the linker, after the automatically generated flags.</td>
* </tr>
* <tr>
+ * <td><tt>LINKER_RELAXATIONS</tt></td>
+ * <td>Enables or disables linker relaxations when linking the application binary. This can reduce the total size
+ * of the application by replacing full \c CALL instructions with smaller \c RCALL instructions where possible.
+ * \note On some unpatched versions of binutils, this can cause link failures in some circumstances. If you
+ * receive a link error <tt>relocation truncated to fit: R_AVR_13_PCREL</tt>, disable this setting.</td>
+ * </tr>
+ * <tr>
* <td><tt>OBJDIR</tt></td>
* <td>Directory to place the generated object and dependency files. If set to "." the same folder as the source file will be used.
* \note When this option is enabled, all source filenames <b>must</b> be unique.</td>