Skip to content
Projects
Groups
Snippets
Help
This project
Loading...
Sign in / Register
Toggle navigation
R
riscv-gcc-1
Overview
Overview
Details
Activity
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Board
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
lvzhengyang
riscv-gcc-1
Commits
881e8e29
Commit
881e8e29
authored
Aug 14, 2001
by
Ulrich Weigand
Committed by
Ulrich Weigand
Aug 14, 2001
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Remove s390x __LONG_MAX__ special case from glimits.h;
define __LONG_MAX__ in CPP_PREDEFINES instead. From-SVN: r44879
parent
d80dedbe
Hide whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
10 additions
and
3 deletions
+10
-3
gcc/ChangeLog
+5
-0
gcc/config/s390/linux64.h
+4
-2
gcc/glimits.h
+1
-1
No files found.
gcc/ChangeLog
View file @
881e8e29
2001
-
08
-
13
Ulrich
Weigand
<
uweigand
@de
.
ibm
.
com
>:
*
glimits
.
h
:
Remove
the
__LONG_MAX__
special
case
for
s390x
.
*
config
/
s390
/
linux64
.
h
:
Define
__LONG_MAX__
in
CPP_PREDEFINES
.
2001
-
08
-
13
Richard
Henderson
<
rth
@redhat
.
com
>
*
config
/
arm
/
unknown
-
elf
.
h
(
CTOR_LIST_BEGIN
,
CTOR_LIST_END
)
:
Remove
.
...
...
gcc/config/s390/linux64.h
View file @
881e8e29
...
...
@@ -36,8 +36,10 @@ Boston, MA 02111-1307, USA. */
/* Names to predefine in the preprocessor for this target machine. */
#undef CPP_PREDEFINES
#define CPP_PREDEFINES "-Dlinux -Asystem(linux) -Acpu(s390) -Amachine(s390) -D__s390x__ -Asystem(unix) -Dunix -D__ELF__"
#define CPP_PREDEFINES \
"-Dlinux -Asystem(linux) -Acpu(s390) -Amachine(s390) -D__s390x__ \
-Asystem(unix) -Dunix -D__ELF__ \
-D__LONG_MAX__=9223372036854775807L"
#undef LINK_SPEC
#ifdef CROSS_COMPILE
...
...
gcc/glimits.h
View file @
881e8e29
...
...
@@ -67,7 +67,7 @@
/* Minimum and maximum values a `signed long int' can hold.
(Same as `int'). */
#ifndef __LONG_MAX__
#if defined (__alpha__) || (defined (__sparc__) && defined(__arch64__)) || defined (__sparcv9)
|| defined (__s390x__)
#if defined (__alpha__) || (defined (__sparc__) && defined(__arch64__)) || defined (__sparcv9)
#define __LONG_MAX__ 9223372036854775807L
#else
#define __LONG_MAX__ 2147483647L
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment