ASSERT in empty output section with address
authorAlan Modra <amodra@gmail.com>
Wed, 27 Oct 2021 22:33:00 +0000 (09:03 +1030)
committerAlan Modra <amodra@gmail.com>
Thu, 28 Oct 2021 00:21:03 +0000 (10:51 +1030)
commit1cba418d26929e0fa0f9c43b2323093b1c7fa9de
tree1bbdbfa1b7032e356b45f0e4fd9d634fd59a627b
parent9fc9dbc28b4bd2363fb645f0b0260be8ba43fadf
ASSERT in empty output section with address

* ldlang.c (lang_do_assignments_1): Correct "dot" inside ignored
sections.
* testsuite/ld-scripts/empty-address-4.d,
* testsuite/ld-scripts/empty-address-4.s,
* testsuite/ld-scripts/empty-address-4.t: New test.
* testsuite/ld-scripts/empty-address.exp: Run it.
ld/ldlang.c
ld/testsuite/ld-scripts/empty-address-4.d [new file with mode: 0644]
ld/testsuite/ld-scripts/empty-address-4.s [new file with mode: 0644]
ld/testsuite/ld-scripts/empty-address-4.t [new file with mode: 0644]
ld/testsuite/ld-scripts/empty-address.exp