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
This commit is contained in:
Jakub Jelinek 2018-03-15 19:04:59 +01:00 committed by Jakub Jelinek
parent 23f95cb77a
commit 724ad4a31b
2 changed files with 9 additions and 3 deletions

View File

@ -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,

View File

@ -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);