Revert "ld: Rewrite lang_size_relro_segment_1"
authorAlan Modra <amodra@gmail.com>
Sat, 5 Feb 2022 09:31:40 +0000 (20:01 +1030)
committerAlan Modra <amodra@gmail.com>
Mon, 7 Feb 2022 03:12:41 +0000 (13:42 +1030)
commit5197c88e2a8a17f7a67ce683df068b5bdf619427
tree22693af32bea270137d3979ce22a55e23dcaba11
parent2b1026f391d55070ae1e724c0770302d1c429611
Revert "ld: Rewrite lang_size_relro_segment_1"

This reverts commit c804c6f98d342c3d46f73d7a7ec6229d5ab1c9f3.

PR ld/28743
PR ld/28819
* ldlang.c (lang_size_relro_segment_1): Revert 2022-01-14 change.
* testsuite/ld-x86-64/pr28743-1.d: Likewise.
* testsuite/ld-x86-64/pr28743-1.s: Likewise.
* testsuite/ld-x86-64/x86-64.exp: Likewise.
ld/ldlang.c
ld/testsuite/ld-x86-64/pr28743-1.d [deleted file]
ld/testsuite/ld-x86-64/pr28743-1.s [deleted file]
ld/testsuite/ld-x86-64/x86-64.exp