From e83b96b793dbe9d525fc878f7e8df8304079e35d Mon Sep 17 00:00:00 2001 From: KWIML Upstream Date: Thu, 8 Sep 2016 09:28:56 -0400 Subject: [PATCH] KWIML 2016-09-08 (d564b3c7) Code extracted from: https://gitlab.kitware.com/utils/kwiml.git at commit d564b3c71a6dcec9b1cd84afb498b14a69307780 (master). Upstream Shortlog ----------------- Brad King (1): d564b3c7 Update copyright year Richard W.M. Jones (1): 12f000d5 abi.h: Add RISC-V, a little-endian architecture. --- Copyright.txt | 2 +- include/kwiml/abi.h | 6 +++++- include/kwiml/int.h | 2 +- src/version.h.in | 2 +- 4 files changed, 8 insertions(+), 4 deletions(-) diff --git a/Copyright.txt b/Copyright.txt index a6204b0c2..515c4ebc4 100644 --- a/Copyright.txt +++ b/Copyright.txt @@ -1,5 +1,5 @@ Kitware Information Macro Library -Copyright 2010-2015 Kitware, Inc. +Copyright 2010-2016 Kitware, Inc. All rights reserved. Redistribution and use in source and binary forms, with or without diff --git a/include/kwiml/abi.h b/include/kwiml/abi.h index 362636165..5ffd542cf 100644 --- a/include/kwiml/abi.h +++ b/include/kwiml/abi.h @@ -1,6 +1,6 @@ /*============================================================================ Kitware Information Macro Library - Copyright 2010-2015 Kitware, Inc. + Copyright 2010-2016 Kitware, Inc. All rights reserved. Redistribution and use in source and binary forms, with or without @@ -467,6 +467,10 @@ suppression macro KWIML_ABI_NO_VERIFY was defined. #elif defined(__XTENSA_EL__) # define KWIML_ABI_ENDIAN_ID KWIML_ABI_ENDIAN_ID_LITTLE +/* RISC-V */ +#elif defined(__riscv__) +# define KWIML_ABI_ENDIAN_ID KWIML_ABI_ENDIAN_ID_LITTLE + /* Unknown CPU */ #elif !defined(KWIML_ABI_NO_ERROR_ENDIAN) # error "Byte order of target CPU unknown." diff --git a/include/kwiml/int.h b/include/kwiml/int.h index b297acee4..489c60325 100644 --- a/include/kwiml/int.h +++ b/include/kwiml/int.h @@ -1,6 +1,6 @@ /*============================================================================ Kitware Information Macro Library - Copyright 2010-2015 Kitware, Inc. + Copyright 2010-2016 Kitware, Inc. All rights reserved. Redistribution and use in source and binary forms, with or without diff --git a/src/version.h.in b/src/version.h.in index e58e0dce3..0ac8854f2 100644 --- a/src/version.h.in +++ b/src/version.h.in @@ -1,6 +1,6 @@ /*============================================================================ Kitware Information Macro Library - Copyright 2010-2015 Kitware, Inc. + Copyright 2010-2016 Kitware, Inc. All rights reserved. Redistribution and use in source and binary forms, with or without