diff options
Diffstat (limited to 'ld/testsuite/ld-scripts/empty-address-1.t')
-rw-r--r-- | ld/testsuite/ld-scripts/empty-address-1.t | 11 |
1 files changed, 11 insertions, 0 deletions
diff --git a/ld/testsuite/ld-scripts/empty-address-1.t b/ld/testsuite/ld-scripts/empty-address-1.t new file mode 100644 index 000000000000..57a8bed27711 --- /dev/null +++ b/ld/testsuite/ld-scripts/empty-address-1.t @@ -0,0 +1,11 @@ +SECTIONS +{ + .text 0x0000000: { *(.text) } + .data 0x2000000: + { + __data_start = . ; + *(.data) + } + __data_end = .; + /DISCARD/ : { *(.*) } +} |