Use -fPIC instead of -fpic when generating PIC code.
authorJose E. Marchesi <jose.marchesi@oracle.com>
Mon, 5 Oct 2015 15:36:30 +0000 (17:36 +0200)
committerMark Wielaard <mjw@redhat.com>
Tue, 6 Oct 2015 21:54:34 +0000 (23:54 +0200)
commit6a20e20ea9f122aea86533d28a688e7bb2812aa1
tree1037509afe69b6705d84c7761c95ea1cd2a9435d
parent133509fa406e0e8d4d0f0632e2ee8c5e32dcb010
Use -fPIC instead of -fpic when generating PIC code.

This avoids relocation overflows in sparc/sparc64 targets while
linking,  where the reachable data using -fpic is only 4kb.

Signed-off-by: Jose E. Marchesi <jose.marchesi@oracle.com>
libelf/ChangeLog
libelf/Makefile.am