This is the mail archive of the
gcc-patches@gcc.gnu.org
mailing list for the GCC project.
Re: [PATCH][SH] fix atomic function names
- From: Kaz Kojima <kkojima at rr dot iij4u dot or dot jp>
- To: sugioka at itonet dot co dot jp
- Cc: gcc-patches at gcc dot gnu dot org
- Date: Mon, 03 Aug 2009 18:08:52 +0900 (JST)
- Subject: Re: [PATCH][SH] fix atomic function names
- References: <4.2.0.58.J.20090803142356.042da950@router.itonet.co.jp>
SUGIOKA Toshinobu <sugioka@itonet.co.jp> wrote:
> It seems that some atomic functions defined in 'gcc/config/sh/linux-atomic.asm'
> have incorrect names. Patch follows.
This patch is OK. Thanks!
Trunk fails to build for SH ATM. I'll apply your patch
after fixing the build failure with a slightly modified
ChangeLog entry
2009-08-03 SUGIOKA Toshinobu <sugioka@itonet.co.jp>
* config/sh/linux-atomic.asm (ATOMIC_COMPARE_AND_SWAP): Rename
__sync_compare_and_swap_* to __sync_val_compare_and_swap_*.
because the original one has a few white space issues.
Regards,
kaz