summaryrefslogtreecommitdiff
path: root/scripts
diff options
context:
space:
mode:
authorSam Ravnborg <sam@ravnborg.org>2009-06-07 22:46:37 +0400
committerSam Ravnborg <sam@ravnborg.org>2009-06-10 01:02:22 +0400
commitef53dae8658cf0e93d380983824a661067948d87 (patch)
treed5f16da0d7f3353db1233f6399a23d0e187b7d1d /scripts
parenteedc9d83eaab2d35fb9dd1ec25b765dec964e26c (diff)
downloadlinux-ef53dae8658cf0e93d380983824a661067948d87.tar.xz
Improve vmlinux.lds.h support for arch specific linker scripts
To support alingment of the individual architecture specific linker scripts provide a set of general definitions in vmlinux.lds.h With these definitions applied the diverse linekr scripts can be reduced in line count and their readability are improved - IMO. A sample linker script is included to give the preferred order of the sections for the architectures that do not have any special requirments. These definitions are also a first step towards eventual support for -ffunction-sections. The definitions makes it much easier to do a global renaming of section names - but the main purpose is to clean up the linker scripts. Tim Aboot has provided a lot of inputs to improve the definitions - all faults are mine. Signed-off-by: Sam Ravnborg <sam@ravnborg.org> Cc: Tim Abbott <tabbott@mit.edu>
Diffstat (limited to 'scripts')
0 files changed, 0 insertions, 0 deletions