Re: [PATCH] arm64: build with -mcmodel=large

2016-01-22 Thread Vladimir 'φ-coder/phcoder' Serbinenko
On 22.01.2016 03:14, Colin Watson wrote: > On Fri, Dec 25, 2015 at 06:18:55PM +, Leif Lindholm wrote: >> So, it seems this toolchain generates the HI21/LO12 relocation combo: >> - R_AARCH64_ADR_PREL_PG_HI21/R_AARCH64_ADR_PREL_PG_HI21_NC >> - R_AARCH64_LDST16_ABS_LO12_NC >> - R_AARCH64_LDST32_AB

Re: [PATCH] arm64: build with -mcmodel=large

2016-01-21 Thread Colin Watson
On Fri, Dec 25, 2015 at 06:18:55PM +, Leif Lindholm wrote: > So, it seems this toolchain generates the HI21/LO12 relocation combo: > - R_AARCH64_ADR_PREL_PG_HI21/R_AARCH64_ADR_PREL_PG_HI21_NC > - R_AARCH64_LDST16_ABS_LO12_NC > - R_AARCH64_LDST32_ABS_LO12_NC > - R_AARCH64_LDST64_ABS_LO12_NC > -

Re: [PATCH] arm64: build with -mcmodel=large

2015-12-31 Thread Vladimir 'φ-coder/phcoder' Serbinenko
On 25.12.2015 19:18, Leif Lindholm wrote: > On Thu, Dec 24, 2015 at 04:20:29AM +, Colin Watson wrote: >> On Thu, Dec 24, 2015 at 04:14:20AM +, Colin Watson wrote: >>> This fixes a build failure with very current GCC versions, such as the one >>> in Ubuntu xenial. Leif (or anyone with suita

Re: [PATCH] arm64: build with -mcmodel=large

2015-12-31 Thread Vladimir 'φ-coder/phcoder' Serbinenko
On 25.12.2015 19:18, Leif Lindholm wrote: > On Thu, Dec 24, 2015 at 04:20:29AM +, Colin Watson wrote: >> On Thu, Dec 24, 2015 at 04:14:20AM +, Colin Watson wrote: >>> This fixes a build failure with very current GCC versions, such as the one >>> in Ubuntu xenial. Leif (or anyone with suita

Re: [PATCH] arm64: build with -mcmodel=large

2015-12-25 Thread Leif Lindholm
On Thu, Dec 24, 2015 at 04:20:29AM +, Colin Watson wrote: > On Thu, Dec 24, 2015 at 04:14:20AM +, Colin Watson wrote: > > This fixes a build failure with very current GCC versions, such as the one > > in Ubuntu xenial. Leif (or anyone with suitable arm64 systems), would you > > mind testin

Re: [PATCH] arm64: build with -mcmodel=large

2015-12-23 Thread Colin Watson
On Thu, Dec 24, 2015 at 04:14:20AM +, Colin Watson wrote: > This fixes a build failure with very current GCC versions, such as the one > in Ubuntu xenial. Leif (or anyone with suitable arm64 systems), would you > mind testing that this doesn't break things? I've tested that it builds > cleanl