From 51b39864aeb5acc66451e19a757439095d9d55a8 Mon Sep 17 00:00:00 2001 From: Joel Sherrill Date: Wed, 1 May 2002 23:09:37 +0000 Subject: 2002-05-01 Eric Norum * machine/in_cksum.h: Per PR200 fix multi-line inline assembly to satisfy gcc 3.1 and newer. --- c/src/exec/libnetworking/ChangeLog | 5 +++++ c/src/exec/libnetworking/machine/in_cksum.h | 2 +- 2 files changed, 6 insertions(+), 1 deletion(-) (limited to 'c/src/exec/libnetworking') diff --git a/c/src/exec/libnetworking/ChangeLog b/c/src/exec/libnetworking/ChangeLog index 07f46adc3c..ce063f649d 100644 --- a/c/src/exec/libnetworking/ChangeLog +++ b/c/src/exec/libnetworking/ChangeLog @@ -1,3 +1,8 @@ +2002-05-01 Eric Norum + + * machine/in_cksum.h: Per PR200 fix multi-line inline assembly + to satisfy gcc 3.1 and newer. + 2002-04-26 Eric Norum * netinet/in_cksum_i386.c: Add volatile so the more agressive diff --git a/c/src/exec/libnetworking/machine/in_cksum.h b/c/src/exec/libnetworking/machine/in_cksum.h index dd2e01d4de..81f2fe1c11 100644 --- a/c/src/exec/libnetworking/machine/in_cksum.h +++ b/c/src/exec/libnetworking/machine/in_cksum.h @@ -170,7 +170,7 @@ in_cksum_hdr(const struct ip *ip) register u_int tmp_o2; register u_int tmp_o3; - __asm__ volatile (" + __asm__ volatile (" \ ld [%0], %1 ; \ ld [%0+4], %2 ; \ addcc %1, %2, %1 ; \ -- cgit v1.2.3