mirror of
https://sourceware.org/git/binutils-gdb.git
synced 2024-11-27 03:51:15 +08:00
602f5faf49
symbol to location counter. * ld-scripts/assign-loc.t: New file. Linker script for above test. * ld-scripts/expr.exp: Add new assignment test.
18 lines
156 B
Perl
18 lines
156 B
Perl
SECTIONS
|
|
{
|
|
. = 0x2000 ;
|
|
|
|
_start = .;
|
|
|
|
HEAP_SIZE = 0x100;
|
|
|
|
.heap : {
|
|
. = HEAP_SIZE;
|
|
. = ALIGN(4);
|
|
}
|
|
|
|
_end = .;
|
|
|
|
/DISCARD/ : { *(*) }
|
|
}
|