Re: [patch, nios2] Fix PR78357, adjust sync builtin initialization

2016-11-24 Thread Jeff Law
On 11/23/2016 11:57 PM, Sebastian Huber wrote: Hello Jeff, On 23/11/16 23:28, Jeff Law wrote: On 11/16/2016 02:53 AM, Chung-Lin Tang wrote: This patch adjusts the initialization of __sync built-in functions: instead of conditionalizing on TARGET_LINUX_ABI, directly place the target-hook

Re: [patch, nios2] Fix PR78357, adjust sync builtin initialization

2016-11-24 Thread Chung-Lin Tang
On 2016/11/24 6:28 AM, Jeff Law wrote: > On 11/16/2016 02:53 AM, Chung-Lin Tang wrote: >> This patch adjusts the initialization of __sync built-in functions: >> instead of conditionalizing on TARGET_LINUX_ABI, directly place the >> target-hook #define in config/nios2/linux.h. This appears to be

Re: [patch, nios2] Fix PR78357, adjust sync builtin initialization

2016-11-23 Thread Sebastian Huber
Hello Jeff, On 23/11/16 23:28, Jeff Law wrote: On 11/16/2016 02:53 AM, Chung-Lin Tang wrote: This patch adjusts the initialization of __sync built-in functions: instead of conditionalizing on TARGET_LINUX_ABI, directly place the target-hook #define in config/nios2/linux.h. This appears to be

Re: [patch, nios2] Fix PR78357, adjust sync builtin initialization

2016-11-23 Thread Jeff Law
On 11/16/2016 02:53 AM, Chung-Lin Tang wrote: This patch adjusts the initialization of __sync built-in functions: instead of conditionalizing on TARGET_LINUX_ABI, directly place the target-hook #define in config/nios2/linux.h. This appears to be in line with other similar ports, e.g. m68k.

Re: [patch, nios2] Fix PR78357, adjust sync builtin initialization

2016-11-16 Thread Sebastian Huber
Thanks, Chung-Lin. This fixes the problem for RTEMS. The TLS support works also. On 16/11/16 10:53, Chung-Lin Tang wrote: This patch adjusts the initialization of __sync built-in functions: instead of conditionalizing on TARGET_LINUX_ABI, directly place the target-hook #define in

[patch, nios2] Fix PR78357, adjust sync builtin initialization

2016-11-16 Thread Chung-Lin Tang
This patch adjusts the initialization of __sync built-in functions: instead of conditionalizing on TARGET_LINUX_ABI, directly place the target-hook #define in config/nios2/linux.h. This appears to be in line with other similar ports, e.g. m68k. Sebastian, this should solve your issue of not