Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]
Groups > linux.kernel > #1355287
| From | Sudip Mukherjee <sudipm.mukherjee@gmail.com> |
|---|---|
| Newsgroups | linux.kernel |
| Subject | Re: [PATCH] avr32: fix asm operand constraint in cmpxchg() |
| Date | 2016-03-10 18:50 +0100 |
| Message-ID | <rbcSM-1Wa-29@gated-at.bofh.it> (permalink) |
| References | <rb9Lc-89a-15@gated-at.bofh.it> |
| Organization | linux.* mail to news gateway |
On Thursday 10 March 2016 07:53 PM, Mans Rullgard wrote: > If the 'old' operand to cmpxchg() is a constant wider than 21 bits, > linking fails with a "relocation truncated to fit: R_AVR32_21S" error. > > Fix this by replacing the "i" constraint with "Ks21" which makes the > compiler use a temporary register for out of range constants. > > Signed-off-by: Mans Rullgard <mans@mansr.com> build log at: https://gitlab.com/sudipm/linux-next/builds/839572 Tested-by: Sudip Mukherjee <sudip.mukherjee@codethink.co.uk> regards sudip
Back to linux.kernel | Previous | Next — Previous in thread | Find similar | Unroll thread
[PATCH] avr32: fix asm operand constraint in cmpxchg() Mans Rullgard <mans@mansr.com> - 2016-03-10 15:30 +0100 Re: [PATCH] avr32: fix asm operand constraint in cmpxchg() Andy Shevchenko <andy.shevchenko@gmail.com> - 2016-03-10 16:30 +0100 Re: [PATCH] avr32: fix asm operand constraint in cmpxchg() Sudip Mukherjee <sudipm.mukherjee@gmail.com> - 2016-03-10 18:50 +0100
csiph-web