riscv-openocd/src/helper
Antonio Borneo bbbfddc3ef jimtcl: restrict memory leak workaround on Linux only
The workaround for jimtcl 0.80 in commit 36ae487ed0 ("jimtcl:
add temporary workaround for memory leak in jimtcl 0.80") issues a
compile time error on macOS:
	../src/helper/command.c:157:22: error: aliases are not
	supported on darwin
	__attribute__((weak, alias("workaround_createcommand")));
The OS is x86_64-apple-darwin19.6.0 and the compiler used is
x86_64-apple-darwin13.4.0-clang.

Restrict the workaround on Linux host only. The fix for 'expr'
syntax change is already merged and the workaround will be dropped
soon.

Change-Id: I925109a9c57c05f8c95b70bc7d6604eb1172cd79
Signed-off-by: Antonio Borneo <borneo.antonio@gmail.com>
Reported-by: Adam Jeliński <ajelinski@users.sourceforge.net>
Fixes: 36ae487ed0 ("jimtcl: add temporary workaround for memory leak in jimtcl 0.80")
Fixes: https://sourceforge.net/p/openocd/tickets/304/
Reviewed-on: http://openocd.zylin.com/6241
Tested-by: jenkins
2021-05-15 20:59:36 +01:00
..
Makefile.am ioutil: drop the code, deprecated in v0.10.0 2021-03-19 21:55:23 +00:00
bin2char.sh helper: fix minor typos 2020-09-05 17:10:54 +01:00
binarybuffer.c Cleanup of config/includes. 2021-05-01 14:35:09 +01:00
binarybuffer.h Fix debug prints when loading to flash 2020-09-05 16:48:08 +01:00
bits.h Cleanup of config/includes. 2021-05-01 14:35:09 +01:00
command.c jimtcl: restrict memory leak workaround on Linux only 2021-05-15 20:59:36 +01:00
command.h Add IPDBG JtagHost functionality to OpenOCD 2021-05-08 09:51:04 +01:00
configuration.c Cleanup of config/includes. 2021-05-01 14:35:09 +01:00
configuration.h helper/configuration: free script_search_dirs and config_file_names 2018-03-07 23:47:31 +00:00
fileio.c Cleanup of config/includes. 2021-05-01 14:35:09 +01:00
fileio.h Cleanup of config/includes. 2021-05-01 14:35:09 +01:00
jep106.c Remove FSF address from GPL notices 2016-05-24 22:30:01 +01:00
jep106.h Make #include guard naming consistent 2016-05-24 22:30:55 +01:00
jep106.inc jep106: Add new IDs from JEDEC 2020-12-05 23:17:48 +00:00
jim-nvp.c helper/jim-nvp: remove unused function Jim_nvpInit() 2021-05-01 13:37:06 +01:00
jim-nvp.h helper: fix minor typos 2020-09-05 17:10:54 +01:00
list.h openocd: fix incorrect doxygen comments 2021-01-13 11:33:16 +00:00
log.c Cleanup of config/includes. 2021-05-01 14:35:09 +01:00
log.h Upstream tons of RISC-V changes. 2020-10-14 05:43:05 +01:00
options.c Cleanup of config/includes. 2021-05-01 14:35:09 +01:00
replacements.c Cleanup of config/includes. 2021-05-01 14:35:09 +01:00
replacements.h Cleanup of config/includes. 2021-05-01 14:35:09 +01:00
startup.tcl coding style: src: remove empty lines at end of text files 2020-05-02 15:40:21 +01:00
system.h Cleanup of config/includes. 2021-05-01 14:35:09 +01:00
time_support.c Add timeval_compare helper function 2018-01-25 16:43:45 +00:00
time_support.h Cleanup of config/includes. 2021-05-01 14:35:09 +01:00
time_support_common.c Fix usage of timeval_ms() 2016-07-19 10:45:16 +01:00
types.h helper/types: remove type '_Bool' 2021-05-01 13:36:58 +01:00
update_jep106.pl helper: fix minor typos 2020-09-05 17:10:54 +01:00
util.c helper: fix minor typos 2020-09-05 17:10:54 +01:00
util.h Make #include guard naming consistent 2016-05-24 22:30:55 +01:00