]> CyberLeo.Net >> Repos - FreeBSD/FreeBSD.git/blob - ld/testsuite/ld-scripts/sizeof.t
Import the binutils-2_15-branch from the sourceware CVS repository,
[FreeBSD/FreeBSD.git] / ld / testsuite / ld-scripts / sizeof.t
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);