Sign in
gnu
/
binutils-gdb
/
777b054cf93ad2525b891ea15bbf8d5cd6a56339
/
.
/
ld
/
testsuite
/
ld-scripts
/
align.t
blob: 63bf95aa56a467492b1623779074a5397f12285c [
file
] [
log
] [
blame
]
SECTIONS
{
.
text
:
{*(.
text
.
pr
)}
.
data ALIGN
(
0x1000
)
:
AT
(
ALIGN
(
LOADADDR
(.
text
)
+
SIZEOF
(.
text
),
0x80
))
{}
ASSERT
(
LOADADDR
(.
data
)
==
0x80
,
"dyadic ALIGN broken"
)
ASSERT
(
ADDR
(.
data
)
==
0x1000
,
"monadic ALIGN broken"
)
}