f2ab0eb644
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.
23 lines
248 B
INI
23 lines
248 B
INI
; https://editorconfig.org
|
|
|
|
root = true
|
|
|
|
[*]
|
|
end_of_line = lf
|
|
insert_final_newline = true
|
|
indent_style = space
|
|
indent_size = 4
|
|
|
|
[*.{c,h}]
|
|
indent_size = 2
|
|
|
|
[*.S]
|
|
indent_size = 8
|
|
|
|
[*.ld]
|
|
indent_size = 2
|
|
|
|
[Makefile]
|
|
indent_style = tab
|
|
indent_size = 8
|