Make text section 2MB aligned for hugepages.

If we do not use the option '-Wl,--section-start=.text=2001000' at
link time, the performance gain on hugepages is gone. This is probably
because the original text section is not 2MB aligned and the after
mremap, the hugepage is not preserved.

BUG=chromium:569963
TEST=The performance gain is back on micro benchmarks.

Review URL: https://codereview.chromium.org/1619713007

Cr-Commit-Position: refs/heads/master@{#373673}
1 file changed