Commit | Line | Data |
---|---|---|
1 | SECTIONS { | |
2 | .text : | |
3 | { | |
4 | text_start = .; | |
5 | tmpdir/sizeof.o | |
6 | text_end = .; | |
7 | } | |
8 | .data : | |
9 | { | |
10 | data_start = .; | |
11 | . = . + SIZEOF(.text); | |
12 | data_end = .; | |
13 | } | |
14 | } | |
15 | ||
16 | sizeof_text = SIZEOF(.text); | |
17 | sizeof_data = SIZEOF(.data); |