diff options
author | Sebastian Huber <sebastian.huber@embedded-brains.de> | 2014-02-02 06:39:39 -0800 |
---|---|---|
committer | H.J. Lu <hjl.tools@gmail.com> | 2014-02-02 06:39:39 -0800 |
commit | 13075d049d492477dfbf795c305adbab5abb6d81 (patch) | |
tree | 61ca952b162322ab903b106aa59701562b3b46ab /ld/ld.texinfo | |
parent | 665febb3c8b315c0d00a2a913523fbd6aa2482cf (diff) | |
download | gdb-13075d049d492477dfbf795c305adbab5abb6d81.zip gdb-13075d049d492477dfbf795c305adbab5abb6d81.tar.gz gdb-13075d049d492477dfbf795c305adbab5abb6d81.tar.bz2 |
Fix ALIGN_WITH_INPUT
ld/
2014-02-02 Sebastian Huber <sebastian.huber@embedded-brains.de>
* ld/ld.texinfo: Change ALIGN_WITH_INPUT documentation.
* ld/ldlang.c (lang_size_sections_1): Add dotdelta
variable which reflects the VMA change due to alignment
requirements. Use dotdelta do change the LMA if
ALIGN_WITH_INPUT is requested.
ld/testsuite/ChangeLog
2014-02-02 Sebastian Huber <sebastian.huber@embedded-brains.de>
* ld-scripts/rgn-at9.d: New file.
* ld-scripts/rgn-at9.t: Likewise.
* ld-scripts/rgn-at10.d: Likewise.
* ld-scripts/rgn-at10.s: Likewise.
* ld-scripts/rgn-at10.t: Likewise.
* ld-scripts/rgn-at11.d: Likewise.
* ld-scripts/rgn-at11.t: Likewise.
Diffstat (limited to 'ld/ld.texinfo')
-rw-r--r-- | ld/ld.texinfo | 6 |
1 files changed, 2 insertions, 4 deletions
diff --git a/ld/ld.texinfo b/ld/ld.texinfo index 1287a6c..bfc2643 100644 --- a/ld/ld.texinfo +++ b/ld/ld.texinfo @@ -4609,10 +4609,8 @@ for (dst = &_bstart; dst< &_bend; dst++) @cindex forcing output section alignment @cindex output section alignment You can increase an output section's alignment by using ALIGN. As an -alternative you can force the output section alignment to the maximum alignment -of all its input sections with ALIGN_WITH_INPUT. The alignment forced by -ALIGN_WITH_INPUT is used even in case the load and virtual memory regions are -different. +alternative you can enforce that the difference between the VMA and LMA remains +intact throughout this output section with the ALIGN_WITH_INPUT attribute. @node Forced Input Alignment @subsubsection Forced Input Alignment |