diff options
author | Jakub Jelinek <jakub@redhat.com> | 2018-03-15 19:04:59 +0100 |
---|---|---|
committer | Jakub Jelinek <jakub@gcc.gnu.org> | 2018-03-15 19:04:59 +0100 |
commit | 724ad4a31b5655ebe8b8ca5ddf7db388231ee08b (patch) | |
tree | ffb17cddadbdc6500f312299ed7fa38e0ae64a05 | |
parent | 23f95cb77ab469d83f9fcc35417a6c66f823cf92 (diff) | |
download | gcc-724ad4a31b5655ebe8b8ca5ddf7db388231ee08b.zip gcc-724ad4a31b5655ebe8b8ca5ddf7db388231ee08b.tar.gz gcc-724ad4a31b5655ebe8b8ca5ddf7db388231ee08b.tar.bz2 |
re PR libfortran/84880 (libgfortran fail to build on aarch64/arm 32bit cross toolchain)
PR libgfortran/84880
* intrinsics/kill.c (kill): Rename to...
(PREFIX (kill)): ... this. Use export_proto_np instead of export_proto.
From-SVN: r258571
-rw-r--r-- | libgfortran/ChangeLog | 6 | ||||
-rw-r--r-- | libgfortran/intrinsics/kill.c | 6 |
2 files changed, 9 insertions, 3 deletions
diff --git a/libgfortran/ChangeLog b/libgfortran/ChangeLog index 2d40ef0..1c84d2b 100644 --- a/libgfortran/ChangeLog +++ b/libgfortran/ChangeLog @@ -1,3 +1,9 @@ +2018-03-15 Jakub Jelinek <jakub@redhat.com> + + PR libgfortran/84880 + * intrinsics/kill.c (kill): Rename to... + (PREFIX (kill)): ... this. Use export_proto_np instead of export_proto. + 2018-03-13 Steven G. Kargl <kargl@gcc.gnu.org> * libgfortran/gfortran.map: Remove _gfortran_kill_i4, diff --git a/libgfortran/intrinsics/kill.c b/libgfortran/intrinsics/kill.c index 3b062b3..ba24b6f 100644 --- a/libgfortran/intrinsics/kill.c +++ b/libgfortran/intrinsics/kill.c @@ -51,11 +51,11 @@ kill_sub (GFC_INTEGER_4 pid, GFC_INTEGER_4 signal, GFC_INTEGER_4 *status) } iexport(kill_sub); -extern GFC_INTEGER_4 kill (GFC_INTEGER_4, GFC_INTEGER_4); -export_proto(kill); +extern GFC_INTEGER_4 PREFIX (kill) (GFC_INTEGER_4, GFC_INTEGER_4); +export_proto_np(PREFIX (kill)); GFC_INTEGER_4 -kill (GFC_INTEGER_4 pid, GFC_INTEGER_4 signal) +PREFIX (kill) (GFC_INTEGER_4 pid, GFC_INTEGER_4 signal) { int val; val = (int)kill (pid, signal); |