diff options
author | Jeff Law <jlaw@ventanamicro.com> | 2023-12-02 21:54:36 -0700 |
---|---|---|
committer | Jeff Law <jlaw@ventanamicro.com> | 2023-12-02 21:54:36 -0700 |
commit | 870b63fe71607b94c0e5b0c6e61cd807e0216ddd (patch) | |
tree | 6035f86f560a531d4405878532d81e3ad4892b50 /gcc/function.h | |
parent | 04d4a4943a445e2c83f20cebc95b6c2aac3305e6 (diff) | |
download | gcc-870b63fe71607b94c0e5b0c6e61cd807e0216ddd.zip gcc-870b63fe71607b94c0e5b0c6e61cd807e0216ddd.tar.gz gcc-870b63fe71607b94c0e5b0c6e61cd807e0216ddd.tar.bz2 |
[committed] Fix frv build after C99 changes
Two issues prevent the frv-elf port from building after the C99 changes. First
the trampoline code emitted into libgcc has calls to exit, but no prototype.
Adding a trivial prototype for exit() into the macro fixes that little goof.
Second, frvbegin.c has a call to atexit, so a quick prototype is added into
frvbegin.c to fix that problem.
That's enough to get the compiler building again.
gcc/
* config/frv/frv.h (TRANSFER_FROM_TRAMPOLINE): Add prototype for exit.
libgcc/
* config/frv/frvbegin.c (atexit): Add prototype.
Diffstat (limited to 'gcc/function.h')
0 files changed, 0 insertions, 0 deletions