From: OpenOCD-Gerrit <ope...@us...> - 2020-04-24 16:44:58
|
This is an automated email from the git hooks/post-receive script. It was generated because a ref change was pushed to the repository containing the project "Main OpenOCD repository". The branch, master has been updated via c60252ac2b636c4d99b766a574b9df0966151696 (commit) from bed0215573269cd9f85d23eaa15a27ce13a53e87 (commit) Those revisions listed above that are new to this repository have not appeared on any other notification email; so we list those revisions in full, below. - Log ----------------------------------------------------------------- commit c60252ac2b636c4d99b766a574b9df0966151696 Author: Andreas Fritiofson <and...@gm...> Date: Fri Apr 17 13:49:28 2020 +0200 bitbang: Fix FTBFS with GCC 10 GCC 10 defaults to -fno-common which breaks the sharing of bitbang_swd struct between bitbang drivers due to a missing extern. Change-Id: I2b4122f7939cec91a72284006748f99a23548324 Signed-off-by: Andreas Fritiofson <and...@gm...> Reviewed-on: http://openocd.zylin.com/5592 Tested-by: jenkins Reviewed-by: Antonio Borneo <bor...@gm...> Reviewed-by: Jonathan McDowell <noo...@ea...> diff --git a/src/jtag/drivers/bitbang.h b/src/jtag/drivers/bitbang.h index edb779cad..bbbc693df 100644 --- a/src/jtag/drivers/bitbang.h +++ b/src/jtag/drivers/bitbang.h @@ -56,7 +56,7 @@ struct bitbang_interface { void (*swdio_drive)(bool on); }; -const struct swd_driver bitbang_swd; +extern const struct swd_driver bitbang_swd; extern bool swd_mode; ----------------------------------------------------------------------- Summary of changes: src/jtag/drivers/bitbang.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) hooks/post-receive -- Main OpenOCD repository |