diff options
Diffstat (limited to 'ld/testsuite/ld-scripts/size-2.t')
-rw-r--r-- | ld/testsuite/ld-scripts/size-2.t | 21 |
1 files changed, 21 insertions, 0 deletions
diff --git a/ld/testsuite/ld-scripts/size-2.t b/ld/testsuite/ld-scripts/size-2.t new file mode 100644 index 0000000..3549321 --- /dev/null +++ b/ld/testsuite/ld-scripts/size-2.t @@ -0,0 +1,21 @@ +PHDRS +{ + header PT_PHDR FILEHDR PHDRS ; + + image PT_LOAD FLAGS (4); + tls PT_TLS FLAGS (4); + +} +SECTIONS +{ + .text : { *(.text) } :image + .tdata : { *(.tdata) } :image :tls + .tbss : { *(.tbss) } :image : tls + .map : { + LONG (SIZEOF (.text)) + LONG (SIZEOF (.data)) + LONG (SIZEOF (.bss)) + LONG (SIZEOF (.tdata)) + LONG (SIZEOF (.tbss)) + } :image +} |