* layout.cc (Layout::relaxation_loop_body): Only clear load_seg if
authorIan Lance Taylor <ian@airs.com>
Mon, 25 Jul 2011 22:48:42 +0000 (22:48 +0000)
committerIan Lance Taylor <ian@airs.com>
Mon, 25 Jul 2011 22:48:42 +0000 (22:48 +0000)
commitd12a5ea8c9d5fb95d740c8e34a3d035c3c815635
tree64e09c4cfe50f6c1a3ced007db7ef8f4850f66d4
parentdea91a5c342ccd76b908e094a184ed2538c0f8c2
* layout.cc (Layout::relaxation_loop_body): Only clear load_seg if
the -Ttext option is not 0 modulo the page size.  If we clear
load_seg, clear phdr_seg too.
* testsuite/Makefile.am (check_PROGRAMS): Add flagstest_o_ttext_1.
(flagstest_o_ttext_1): New target.
(check_DATA): Add flagstest_o_ttext_2.
(flagstest_o_ttext_2): New target.
* testsuite/Makefile.in: Rebuild.
gold/layout.cc
gold/testsuite/Makefile.am
gold/testsuite/Makefile.in