mirror of
https://github.com/espressif/binutils-gdb.git
synced 2025-09-09 17:02:22 +08:00

* ldexp.c (fold_binary): Add ALIGN_K case. * ld.texinfo (ALIGN): Document two operand version. * ld-scripts/align.{s,t,exp}: New.
9 lines
229 B
Perl
9 lines
229 B
Perl
SECTIONS
|
|
{
|
|
.text : {*(.text)}
|
|
.data ALIGN(0x40) : AT (ALIGN (LOADADDR (.text) + SIZEOF (.text), 0x80))
|
|
{}
|
|
ASSERT (LOADADDR(.data) == 0x80, "dyadic ALIGN broken")
|
|
ASSERT (ADDR(.data) == 0x40, "monadic ALIGN broken")
|
|
}
|