diff options
author | Anish Athalye <[email protected]> | 2019-10-21 22:27:18 -0400 |
---|---|---|
committer | Anish Athalye <[email protected]> | 2019-10-21 22:27:18 -0400 |
commit | f2ab0eb644a60f946f35fcb5578fba53720edfa7 (patch) | |
tree | cdc5299987fc1b1c2d0abc6ac79af564cd5e6d23 /user | |
parent | 2821d43cc95b4f9faf79ff94daa5d3a8ea5e7861 (diff) | |
download | xv6-labs-f2ab0eb644a60f946f35fcb5578fba53720edfa7.tar.gz xv6-labs-f2ab0eb644a60f946f35fcb5578fba53720edfa7.tar.bz2 xv6-labs-f2ab0eb644a60f946f35fcb5578fba53720edfa7.zip |
Clean up linker script
This patch does the following:
- Add .text.* to the .text section in the output
- Add an assertion that the trampoline does not overflow a page
- Add the .rodata section
- Make .sdata and .sdata.* (which is for small data) be absorbed into
the .data section, because we don't need to distinguish between them;
this prevents .sdata from appearing in the output
- Make the analogous change for .srodata and .sbss
- Make all the data sections 16-byte aligned
This patch also updates the .editorconfig for *.ld files.
Diffstat (limited to 'user')
0 files changed, 0 insertions, 0 deletions