Revert ALIGN changes
authorAlan Modra <amodra@gmail.com>
Thu, 6 Aug 2015 06:26:34 +0000 (15:56 +0930)
committerAlan Modra <amodra@gmail.com>
Thu, 6 Aug 2015 06:35:40 +0000 (16:05 +0930)
commite0a3af227ee0602ae69320fd6f931c363f14975b
tree4987f91beb70806b6267baa7fe3b6cb44a10bfb9
parent0cf003f49ee8bbd5dc5f1ce45193c7ae056c69b8
Revert ALIGN changes

Reverts a2c59f28 and e474ab13.  Since the unary form of ALIGN only
references "dot" implicitly, there isn't really a strong argument for
making ALIGN use a relative value when inside an output section.

* ldexp.c (align_dot_val): Delete.
(fold_unary <ALIGN_K, NEXT>): Revert 2015-07-10 change.
(is_align_conditional): Revert 2015-07-20 change.
(exp_fold_tree_1): Likewise, but keep expanded comment.
* scripttempl/elf.sc (.ldata, .bss): Revert 2015-07-20 change.
* ld.texinfo (<ALIGN>): Correct description.
ld/ChangeLog
ld/ld.texinfo
ld/ldexp.c
ld/scripttempl/elf.sc