On 23 June 2015 at 14:02, Jiong Wang wrote:
>
> Marcus Shawcroft writes:
>
>> On 20 May 2015 at 11:21, Jiong Wang wrote:
>>
>>> gcc/
>>> * config/aarch64/aarch64.md: (ldr_got_small_): Support new GOT
>>> relocation
>>> modifiers.
>>> (ldr_got_small_sidi): Ditto.
>>> * config/aarch64/iter
Marcus Shawcroft writes:
> On 20 May 2015 at 11:21, Jiong Wang wrote:
>
>> gcc/
>> * config/aarch64/aarch64.md: (ldr_got_small_): Support new GOT
>> relocation
>> modifiers.
>> (ldr_got_small_sidi): Ditto.
>> * config/aarch64/iterators.md (got_modifier): New mode iterator.
>> * config
On 20 May 2015 at 11:21, Jiong Wang wrote:
> gcc/
> * config/aarch64/aarch64.md: (ldr_got_small_): Support new GOT
> relocation
> modifiers.
> (ldr_got_small_sidi): Ditto.
> * config/aarch64/iterators.md (got_modifier): New mode iterator.
> * config/aarch64/aarch64-otps.h (aarch64_code
Currently, AArch64 don't differentiate -fpic and -fPIC.
For -mcmodel=small, both allow 4G GOT table size, then we always need
two instructions to address GOT entry.
This patch implements -fpic for -mcmodel=small which allow 32K GOT table
size, smaller than -fPIC, but then we can use one instruct