i#1041: Fix off-by-one bug in reachability bookkeeping

Make must_reach_region_end closed to match heap_allowable_region_end.

We use heap_allowable_region_start as the mmap addr hint, which will
drop MAP_32BIT, so there is still be an underlying reachability issue.

Review URL: https://codereview.appspot.com/7020045

git-svn-id: https://dynamorio.googlecode.com/svn/trunk@1806 49cc7528-f6fd-11dd-9d1a-b59b2e1864b6
i#1022: Use .init_array directly instead of the constructor attribute

Depending on the toolchain, constructors aren't always passed argc, argv, and
envp, but the routines in .init_array always get them.

Review URL: https://codereview.appspot.com/7013044

git-svn-id: https://dynamorio.googlecode.com/svn/trunk@1807 49cc7528-f6fd-11dd-9d1a-b59b2e1864b6
i#1004: Reserve a page after the program break during early injection

This is a workaround for handling the program break until we support
using a dummy exe.

If we don't reserve a page for the program break, we can end up mapping
our heap over the program break and subsequent calls to brk() will fail.
Reserving a single page is enough to make brk() succeed during
initialization, but subsequent calls can fail as the heap grows.

Adds a curiosity that makes sure the first brk() to allocate memory succeeds
with early injection.

Adds a -static build of common.fib to the pre-commit suite to test with
early injection on Linux.

Adds a -pie build of common.fib to the pre-commit suite.  This test
passes with LD_PRELOAD injection (i#719) but fails with -early_inject
(i#1001).

Fixes issue 1004.

Review URL: https://codereview.appspot.com/6874063

git-svn-id: https://dynamorio.googlecode.com/svn/trunk@1808 49cc7528-f6fd-11dd-9d1a-b59b2e1864b6
add new processor model numbers

git-svn-id: https://dynamorio.googlecode.com/svn/trunk@1809 49cc7528-f6fd-11dd-9d1a-b59b2e1864b6
fixes issue 1043

Recognize segment mangling code and app instrs marked as our_mangling for
rip-rel and segment mangling.

git-svn-id: https://dynamorio.googlecode.com/svn/trunk@1810 49cc7528-f6fd-11dd-9d1a-b59b2e1864b6
i#1046: disable broken tests in static build

git-svn-id: https://dynamorio.googlecode.com/svn/trunk@1811 49cc7528-f6fd-11dd-9d1a-b59b2e1864b6
Merge branch 'master' into elf_loader_t

Conflicts:
	core/linux/loader.c
Add comment.
fixit.