Commit Graph

51 Commits

Author SHA1 Message Date
liuxiang88
03ae4840e4 Set loongarch need-align-macro. 2021-11-18 15:19:46 +08:00
Alexandre Quesnel
bb9d3079c0 Fixing formatting with astyle in common/* 2021-03-14 23:33:31 +00:00
John Paul Adrian Glaubitz
a777ff9ee0 Add support for sh 2021-03-03 02:55:40 +01:00
John Paul Adrian Glaubitz
1d1ec9614f Add support for s390 and s390x 2021-03-03 02:55:24 +01:00
John Paul Adrian Glaubitz
3b81df3f9e Add support for little-endian powerpc 2021-03-03 02:54:00 +01:00
John Paul Adrian Glaubitz
9c39aa1b9f Add support for m68k 2021-03-03 02:52:23 +01:00
Khem Raj
9cd4acad49 riscv doesn't require pointers to be aligned
Signed-off-by: Khem Raj <raj.khem@gmail.com>
2020-12-22 23:12:06 -08:00
Fernando Seiti Furusato
9f80fcd74e Corrected endianness detection on ppc64el.
In common/arch.h, the endianness detection considers all powerpc
architectures as big endian. Since that is not true for ppc64el, I
added a verification that checks other preprocessor macros, only for
ppc cases.

Signed-off-by: Fernando Seiti Furusato <ferseiti@gmail.com>
2018-03-27 13:45:58 +09:00
Pavel Roskin
6ed4c969f4 Eliminate APP_CC and DEFAULT_CC 2017-03-14 00:21:48 -07:00
Pavel Roskin
30a7a947b1 Don't include config_ac.h from any header files 2017-03-04 00:52:34 -08:00
Pavel Roskin
f8d22ce673 aarch64 doesn't require pointers to be aligned 2017-02-13 21:00:22 -08:00
Jay Sorg
d7967ec897 minor arch.h change 2017-01-29 23:14:33 -08:00
Jay Sorg
3b84314a1a arch.h changes to include stdint.h 2017-01-29 23:14:33 -08:00
Pavel Roskin
6664aac00f Use "void" for empty argument list in declarations
In C, an empty argument list in a declaration means that the function
can accept any arguments. Use "void" instead, it means "no arguments".

C++ treats void and empty list as "no arguments".
2017-01-05 17:27:20 -08:00
Pavel Roskin
ace7d2c822 Declare unified module interface and use it in modules
This fixes loading modules compiled with a C++ compiler. Remote thandle
type, it's unused. Use tintptr for module data. Don't cast pointers to
long, they won't fit on Win64.
2016-07-08 05:09:09 +00:00
Pavel Roskin
b1527b7947 Check string format in log_message
Move "printflike" definition to arch.h, it's used both by log.h and
os_calls.h.
2016-06-21 16:30:16 -07:00
Pavel Roskin
02c981e796 More spelling fixes found by codespell and aspell 2016-01-30 17:39:25 -08:00
Jay Sorg
75874b3f7a common: some minor changes to arch.h 2014-08-12 20:01:33 -07:00
Koichiro IWAO
dd979731c4 common: fix check for big endian arches
Fix for: https://bugzilla.redhat.com/show_bug.cgi?id=905411
2014-08-12 18:04:26 +09:00
Jay Sorg
8a116d3051 common: add another x86-64 define 2014-06-03 15:26:31 -07:00
Jay Sorg
374633e63f common: no logic change, update comments 2014-03-01 23:26:40 -08:00
Jay Sorg
ff12a1d799 added tbool 2014-01-10 21:55:15 -08:00
Jay Sorg
f221258610 common: add unknown arch check 2013-11-20 22:28:47 -08:00
Jay Sorg
4f45b4c065 added define for common types 2013-11-08 11:21:23 -08:00
Jay Sorg
68224550da common: update a copyright year 2013-09-09 15:20:01 -07:00
Laxmikant Rashinkar
1123323fda o moved from GNU General Public License to Apache License, Version 2.0
o applied new coding standards to all .c files
o moved some files around
2012-09-19 20:51:34 -07:00
jsorg71
b7cbc6a656 update copyright year and add tui64 type 2010-07-26 03:18:03 +00:00
jsorg71
530344462e fixes for hppa 2010-02-22 21:17:31 +00:00
jsorg71
6cf7c913f8 arm cpu needs align 2009-11-05 18:21:20 +00:00
jsorg71
06e40d9304 add tintptr type 2009-04-19 20:03:02 +00:00
jsorg71
6c5f82fd04 update copyright year 2009-02-02 08:01:44 +00:00
jsorg71
25af749cb1 add thandle 2008-05-01 05:54:51 +00:00
jsorg71
38b789e81f update copyright year 2008-01-30 07:30:10 +00:00
jsorg71
9876b42c46 move tsock 2007-12-16 10:50:58 +00:00
jsorg71
8af78369ea add tsock 2007-12-16 10:28:16 +00:00
jsorg71
d1c3842416 check if __BYTE_ORDER is defined 2007-12-16 09:34:59 +00:00
jsorg71
4125491367 remove duplicate tbus 2007-09-27 17:24:21 +00:00
jsorg71
db2ecb2701 win64 tbus and win32 twchar 2007-09-27 17:19:53 +00:00
jsorg71
f0a2f53e30 unicode 2007-09-21 07:22:29 +00:00
jsorg71
829a1bb00d win32 changes 2007-05-31 23:36:17 +00:00
jsorg71
7661472b66 another check for powerpc 2007-05-26 21:03:22 +00:00
jsorg71
50817f791e added size int types 2007-04-11 03:37:42 +00:00
jsorg71
02cd95ebef copyright year update 2007-01-12 05:01:58 +00:00
jsorg71
c480af5636 license change 2006-12-18 04:32:45 +00:00
jsorg71
b65409683b copyright year updates 2006-03-21 02:05:38 +00:00
jsorg71
f29d4c3f63 powerpc is big endian 2005-12-09 03:10:16 +00:00
jsorg71
d349f6920a some more big endian fixes 2005-07-10 19:17:09 +00:00
jsorg71
c2ff24010a got __fastcall working for borland compilers 2005-07-02 18:38:04 +00:00
jsorg71
41df89c7f2 moved some files around 2005-06-28 03:04:36 +00:00
jsorg71
8e807eefd2 moved some functions around and changed some ifdefs 2005-03-01 01:14:37 +00:00