Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(140)

Side by Side Diff: nspr/pr/include/md/_linux.cfg

Issue 68173008: Update to NSPR 4.10.2. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/deps/third_party/nss/
Patch Set: Update README.chromium Created 7 years, 1 month ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View unified diff | Download patch | Annotate | Revision Log
« no previous file with comments | « nspr/pr/include/md/_linux.h ('k') | nspr/pr/include/md/_win95.h » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
1 /* -*- Mode: C++; tab-width: 4; indent-tabs-mode: nil; c-basic-offset: 2 -*- */ 1 /* -*- Mode: C++; tab-width: 4; indent-tabs-mode: nil; c-basic-offset: 2 -*- */
2 /* This Source Code Form is subject to the terms of the Mozilla Public 2 /* This Source Code Form is subject to the terms of the Mozilla Public
3 * License, v. 2.0. If a copy of the MPL was not distributed with this 3 * License, v. 2.0. If a copy of the MPL was not distributed with this
4 * file, You can obtain one at http://mozilla.org/MPL/2.0/. */ 4 * file, You can obtain one at http://mozilla.org/MPL/2.0/. */
5 5
6 /* 6 /*
7 * This file is used by not only Linux but also other glibc systems 7 * This file is used by not only Linux but also other glibc systems
8 * such as GNU/Hurd and GNU/k*BSD. 8 * such as GNU/Hurd and GNU/k*BSD.
9 */ 9 */
10 10
(...skipping 572 matching lines...) Expand 10 before | Expand all | Expand 10 after
583 #define PR_ALIGN_OF_LONG 4 583 #define PR_ALIGN_OF_LONG 4
584 #define PR_ALIGN_OF_INT64 4 584 #define PR_ALIGN_OF_INT64 4
585 #define PR_ALIGN_OF_FLOAT 4 585 #define PR_ALIGN_OF_FLOAT 4
586 #define PR_ALIGN_OF_DOUBLE 4 586 #define PR_ALIGN_OF_DOUBLE 4
587 #define PR_ALIGN_OF_POINTER 4 587 #define PR_ALIGN_OF_POINTER 4
588 #define PR_ALIGN_OF_WORD 4 588 #define PR_ALIGN_OF_WORD 4
589 589
590 #define PR_BYTES_PER_WORD_LOG2 2 590 #define PR_BYTES_PER_WORD_LOG2 2
591 #define PR_BYTES_PER_DWORD_LOG2 3 591 #define PR_BYTES_PER_DWORD_LOG2 3
592 592
593 #elif defined(__aarch64__)
594
595 #ifdef __AARCH64EB__
596 #undef IS_LITTLE_ENDIAN
597 #define IS_BIG_ENDIAN 1
598 #elif defined(__AARCH64EL__)
599 #define IS_LITTLE_ENDIAN 1
600 #undef IS_BIG_ENDIAN
601 #else
602 #error "Unknown Aarch64 endianness."
603 #endif
604 #define IS_64
605
606 #define PR_BYTES_PER_BYTE 1
607 #define PR_BYTES_PER_SHORT 2
608 #define PR_BYTES_PER_INT 4
609 #define PR_BYTES_PER_INT64 8
610 #define PR_BYTES_PER_LONG 8
611 #define PR_BYTES_PER_FLOAT 4
612 #define PR_BYTES_PER_DOUBLE 8
613 #define PR_BYTES_PER_WORD 8
614 #define PR_BYTES_PER_DWORD 8
615
616 #define PR_BITS_PER_BYTE 8
617 #define PR_BITS_PER_SHORT 16
618 #define PR_BITS_PER_INT 32
619 #define PR_BITS_PER_INT64 64
620 #define PR_BITS_PER_LONG 64
621 #define PR_BITS_PER_FLOAT 32
622 #define PR_BITS_PER_DOUBLE 64
623 #define PR_BITS_PER_WORD 64
624
625 #define PR_BITS_PER_BYTE_LOG2 3
626 #define PR_BITS_PER_SHORT_LOG2 4
627 #define PR_BITS_PER_INT_LOG2 5
628 #define PR_BITS_PER_INT64_LOG2 6
629 #define PR_BITS_PER_LONG_LOG2 6
630 #define PR_BITS_PER_FLOAT_LOG2 5
631 #define PR_BITS_PER_DOUBLE_LOG2 6
632 #define PR_BITS_PER_WORD_LOG2 6
633
634 #define PR_ALIGN_OF_SHORT 2
635 #define PR_ALIGN_OF_INT 4
636 #define PR_ALIGN_OF_LONG 8
637 #define PR_ALIGN_OF_INT64 8
638 #define PR_ALIGN_OF_FLOAT 4
639 #define PR_ALIGN_OF_DOUBLE 8
640 #define PR_ALIGN_OF_POINTER 8
641 #define PR_ALIGN_OF_WORD 8
642
643 #define PR_BYTES_PER_WORD_LOG2 3
644 #define PR_BYTES_PER_DWORD_LOG2 3
645
593 #elif defined(__hppa__) 646 #elif defined(__hppa__)
594 647
595 #undef IS_LITTLE_ENDIAN 648 #undef IS_LITTLE_ENDIAN
596 #define IS_BIG_ENDIAN 1 649 #define IS_BIG_ENDIAN 1
597 650
598 #define PR_BYTES_PER_BYTE 1 651 #define PR_BYTES_PER_BYTE 1
599 #define PR_BYTES_PER_SHORT 2 652 #define PR_BYTES_PER_SHORT 2
600 #define PR_BYTES_PER_INT 4 653 #define PR_BYTES_PER_INT 4
601 #define PR_BYTES_PER_INT64 8 654 #define PR_BYTES_PER_INT64 8
602 #define PR_BYTES_PER_LONG 4 655 #define PR_BYTES_PER_LONG 4
(...skipping 313 matching lines...) Expand 10 before | Expand all | Expand 10 after
916 #define ALIGN_OF_POINTER PR_ALIGN_OF_POINTER 969 #define ALIGN_OF_POINTER PR_ALIGN_OF_POINTER
917 #define ALIGN_OF_WORD PR_ALIGN_OF_WORD 970 #define ALIGN_OF_WORD PR_ALIGN_OF_WORD
918 971
919 #define BYTES_PER_WORD_LOG2 PR_BYTES_PER_WORD_LOG2 972 #define BYTES_PER_WORD_LOG2 PR_BYTES_PER_WORD_LOG2
920 #define BYTES_PER_DWORD_LOG2 PR_BYTES_PER_DWORD_LOG2 973 #define BYTES_PER_DWORD_LOG2 PR_BYTES_PER_DWORD_LOG2
921 #define WORDS_PER_DWORD_LOG2 PR_WORDS_PER_DWORD_LOG2 974 #define WORDS_PER_DWORD_LOG2 PR_WORDS_PER_DWORD_LOG2
922 975
923 #endif /* NO_NSPR_10_SUPPORT */ 976 #endif /* NO_NSPR_10_SUPPORT */
924 977
925 #endif /* nspr_cpucfg___ */ 978 #endif /* nspr_cpucfg___ */
OLDNEW
« no previous file with comments | « nspr/pr/include/md/_linux.h ('k') | nspr/pr/include/md/_win95.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698