1 diff -ur stdcbench-0.7/examples/portme.c.SDCC-C8051 stdcbench-mcs51/examples/portme.c.SDCC-C8051
2 --- stdcbench-0.7/examples/portme.c.SDCC-C8051 2020-10-28 10:21:11.000000000 +0100
3 +++ stdcbench-mcs51/examples/portme.c.SDCC-C8051 2023-07-07 10:22:28.742961597 +0200
8 +#if __SDCC_REVISION >= 13762
9 +unsigned char __sdcc_external_startup(void)
11 unsigned char _sdcc_external_startup(void)
14 // Disable watchdog timer
16 diff -ur stdcbench-0.7/Makefile stdcbench-mcs51/Makefile
17 --- stdcbench-0.7/Makefile 2023-07-07 10:21:19.877401314 +0200
18 +++ stdcbench-mcs51/Makefile 2022-09-11 17:20:51.596357758 +0200
20 # A Makefile for SDCC targeting the C8051F120
22 -CC = sdcc -mmcs51 --model-large --stack-auto --opt-code-speed --max-allocs-per-node 10000
23 +CC = $(SDCC) $(SDCCFLAGS)
24 SOURCES = c90base.c c90base-data.c c90base-huffman-recursive.c c90base-isort.c c90float.c c90base-huffman_tree.c stdcbench.c c90base-compression.c c90base-huffman-iterative.c c90base-immul.c c90double.c c90lib.c c90lib-lnlc.c c90lib-peep.c c90lib-peep-stm8.c c90lib-htab.c portme.c
25 OBJECTS = $(SOURCES:.c=.rel)
29 stdcbench.ihx: $(OBJECTS)
30 $(CC) *.rel -o stdcbench.ihx
31 + cp stdcbench.ihx image.ihx
33 %.rel: %.c *.h portme.h