Skip to content

Commit

Permalink
Architecture-specific fixes
Browse files Browse the repository at this point in the history
  • Loading branch information
dargueta committed Mar 3, 2024
1 parent 4575c6b commit 4cb4972
Show file tree
Hide file tree
Showing 2 changed files with 10 additions and 7 deletions.
12 changes: 7 additions & 5 deletions .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -89,12 +89,14 @@ jobs:
- pdk13
- pdk14
- pdk15
- pic14
- pic16
# These require additional work with flags, uncomment later
# - pic14
# - pic16
- r2k
- r2ka
- r3ka
- r800
# Uncomment once we upgrade to 4.3+
# - r800
- s08
- sm83
- stm8
Expand All @@ -109,6 +111,6 @@ jobs:
# 4.3.0+ are broken: https://sourceforge.net/p/sdcc/bugs/3715/
run: make -C make -f compiler-support/install.mk install-sdcc SDCC_VERSION=4.2.0
- name: Configure
run: ./configure --cc=sdcc
run: ./configure --cc=sdcc -m${{ matrix.architecture }}
- name: Compile
run: make library MY_CFLAGS=-m${{ matrix.architecture }}
run: make library
5 changes: 3 additions & 2 deletions src/metaldata/internal/annotations.h
Original file line number Diff line number Diff line change
Expand Up @@ -313,8 +313,9 @@
#endif

#if defined(__SDCC_ds390) || defined(__SDCC_ds400) || defined(__SDCC_hc08) || \
defined(__SDCC_mcs51) || defined(__SDCC_s08) || defined(__SDCC_pdk13) || \
defined(__SDCC_pdk14) || defined(__SDCC_pdk15)
defined(__SDCC_mcs51) || defined(__SDCC_mmos6502) || defined(__SDCC_mmos65c02) || \
defined(__SDCC_pdk13) || defined(__SDCC_pdk14) || defined(__SDCC_pdk15) || \
defined(__SDCC_s08)
# define MDL_REENTRANT_MARKER __reentrant
#else
# define MDL_REENTRANT_MARKER
Expand Down

0 comments on commit 4cb4972

Please sign in to comment.