Fix problem causing internal error when -z max-page-size is used.
authorCary Coutant <ccoutant@gmail.com>
Fri, 2 Dec 2016 03:00:30 +0000 (19:00 -0800)
committerCary Coutant <ccoutant@gmail.com>
Fri, 2 Dec 2016 03:00:30 +0000 (19:00 -0800)
commitbe2884c1ea9b96fdb04c6d244d9e7aa1b654a47a
tree85a2f387e2bdd0d1fd36b6b2c9ce5b23882bce7f
parent376c3ecd17d0636bcf4e527c2e2ca2f94822fe64
Fix problem causing internal error when -z max-page-size is used.

If the default starting address is less than the new ABI page size,
we end up misaligning the file header, causing an internal error.

gold/
PR gold/20834
* target.h (Target::default_text_segment_address): Bump default
start address up to ABI page size.
gold/ChangeLog
gold/target.h