aboutsummaryrefslogtreecommitdiff
path: root/scripts/trylink
diff options
context:
space:
mode:
authorRon Yorston <rmy@pobox.com>2016-05-16 09:33:03 +0100
committerRon Yorston <rmy@pobox.com>2016-05-16 09:33:03 +0100
commit35d2f5bccb0f3dde600702ebcdb5424d4d50be4a (patch)
tree6e0ff0341c69839e268459a199682628bae734ed /scripts/trylink
parent248a2600a2f4b442101ad568d1994b908bb28d4b (diff)
parentf2559e5c2b7bd2c5fa0dd8e88d0a931da92a23af (diff)
downloadbusybox-w32-35d2f5bccb0f3dde600702ebcdb5424d4d50be4a.tar.gz
busybox-w32-35d2f5bccb0f3dde600702ebcdb5424d4d50be4a.tar.bz2
busybox-w32-35d2f5bccb0f3dde600702ebcdb5424d4d50be4a.zip
Merge branch 'busybox' into merge
Diffstat (limited to 'scripts/trylink')
-rwxr-xr-xscripts/trylink10
1 files changed, 10 insertions, 0 deletions
diff --git a/scripts/trylink b/scripts/trylink
index 15435f009..129570a60 100755
--- a/scripts/trylink
+++ b/scripts/trylink
@@ -209,6 +209,16 @@ else
209 # *(.bss SORT_BY_ALIGNMENT(.bss.*) .gnu.linkonce.b.*) 209 # *(.bss SORT_BY_ALIGNMENT(.bss.*) .gnu.linkonce.b.*)
210 # This will eliminate most of the padding (~3kb). 210 # This will eliminate most of the padding (~3kb).
211 # Hmm, "ld --sort-section alignment" should do it too. 211 # Hmm, "ld --sort-section alignment" should do it too.
212 #
213 # There is a ld hack which is meant to decrease disk usage
214 # at the cost of more RAM usage (??!!) in standard ld script:
215 # /* Adjust the address for the data segment. We want to adjust up to
216 # the same address within the page on the next page up. */
217 # . = ALIGN (0x1000) - ((0x1000 - .) & (0x1000 - 1)); . = DATA_SEGMENT_ALIGN (0x1000, 0x1000);
218 # Replace it with:
219 # . = ALIGN (0x1000); . = DATA_SEGMENT_ALIGN (0x1000, 0x1000);
220 # to unconditionally align .data to the next page boundary,
221 # instead of "next page, plus current offset in this page"
212 try $CC $CFLAGS $LDFLAGS \ 222 try $CC $CFLAGS $LDFLAGS \
213 -o $EXE \ 223 -o $EXE \
214 $SORT_COMMON \ 224 $SORT_COMMON \