diff -r 089696e0c603 config/NetBSD.mk --- /dev/null Thu Jan 01 00:00:00 1970 +0000 +++ b/config/NetBSD.mk Fri May 18 10:38:13 2007 +0000 @@ -0,0 +1,1 @@ +include $(XEN_ROOT)/config/StdGNU.mk diff -r 089696e0c603 xen/arch/x86/shutdown.c --- a/xen/arch/x86/shutdown.c Thu May 17 11:42:46 2007 +0100 +++ b/xen/arch/x86/shutdown.c Wed May 30 09:04:35 2007 +0000 @@ -197,7 +197,7 @@ static void machine_real_restart(const u #endif -void machine_restart(char * __unused) +void machine_restart(char *cmd) { int i; diff -r 089696e0c603 xen/tools/symbols.c --- a/xen/tools/symbols.c Thu May 17 11:42:46 2007 +0100 +++ b/xen/tools/symbols.c Wed May 30 10:00:18 2007 +0000 @@ -29,6 +29,7 @@ #include #include #include +#include #include #define KSYM_NAME_LEN 127 @@ -103,7 +104,7 @@ static int read_symbol(FILE *in, struct _sextratext = s->addr; else if (strcmp(sym, "_eextratext") == 0) _eextratext = s->addr; - else if (toupper(stype) == 'A') + else if (toupper((uint8_t)stype) == 'A') { /* Keep these useful absolute symbols */ if (strcmp(sym, "__kernel_syscall_via_break") && @@ -113,7 +114,7 @@ static int read_symbol(FILE *in, struct return -1; } - else if (toupper(stype) == 'U' || + else if (toupper((uint8_t)stype) == 'U' || is_arm_mapping_symbol(sym)) return -1; /* exclude also MIPS ELF local symbols ($L123 instead of .L123) */