Fix issues in 32bit PIC enabled build
authorYunqing Wang <yunqingwang@google.com>
Tue, 27 Jan 2015 05:35:07 +0000 (21:35 -0800)
committerYunqing Wang <yunqingwang@google.com>
Wed, 28 Jan 2015 06:20:21 +0000 (22:20 -0800)
commit10d5e09c87aedad11d8bf909223191a3330721b8
treeee83df932523e0dd539d279f73bb56278da9f3b6
parent1c4a84c6e95840af7d257a1f0982d87fede25f1f
Fix issues in 32bit PIC enabled build

This patch was to fix issue 924:
https://code.google.com/p/webm/issues/detail?id=924

The SECTION_RODATA macro was modified to support macho32 format.
The sub-pixel functions were modified to pass in 2 more parameters
to handle the global offsets for PIC build.

Change-Id: I3bfcd336bcae945edf300bca4ab40376a2628cd4
third_party/x86inc/x86inc.asm
vp9/encoder/x86/vp9_variance_sse2.c