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
19162d0e
Commit
19162d0e
authored
Jan 17, 2003
by
Bruce Korb
Committed by
Bruce Korb
Jan 17, 2003
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
QNX needs a bypass for limits_ifndefs
From-SVN: r61417
parent
ca2ceadd
Hide whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
12 additions
and
4 deletions
+12
-4
gcc/ChangeLog
+4
-0
gcc/fixinc/fixincl.x
+3
-3
gcc/fixinc/inclhack.def
+5
-1
No files found.
gcc/ChangeLog
View file @
19162d0e
2003
-
01
-
16
Bruce
Korb
<
bkorb
@gnu
.
org
>
*
gcc
/
fixinc
/
inclhack
.
def
(
limits_ifndef
)
:
QNX
needs
a
bypass
,
too
.
2003
-
01
-
16
Kaz
Kojima
<
kkojima
@gcc
.
gnu
.
org
>
*
config
/
sh
/
sh
.
c
(
sh_initialize_trampoline
)
:
Emit
rotrdi3_mextr
...
...
gcc/fixinc/fixincl.x
View file @
19162d0e
...
...
@@ -296,10 +296,10 @@ fix = {\n\
replace = <<- _EndOfHeader_\n\
#ifndef _SYS_BYTEORDER_H\n\
#define _SYS_BYTEORDER_H\n\n\
/* Functions to convert `short
\\' and `long\\
' quantities from host byte order\n\
/* Functions to convert `short
' and `long
' quantities from host byte order\n\
to (internet) network byte order (i.e. big-endian).\n\n\
Written by Ron Guilmette (rfg@ncd.com).\n\n\
This isn
\\
't actually used by GCC. It is installed by fixinc.svr4.\n\n\
This isn't actually used by GCC. It is installed by fixinc.svr4.\n\n\
For big-endian machines these functions are essentially no-ops.\n\n\
For little-endian machines, we define the functions using specialized\n\
asm sequences in cases where doing so yields better code (e.g. i386). */\n\n\
...
...
@@ -2423,7 +2423,7 @@ tSCC zLimits_IfndefsList[] =
* content bypass pattern - skip fix if pattern found
*/
tSCC zLimits_IfndefsBypass0[] =
"ifndef[ \t]+FLT_
MIN
";
"ifndef[ \t]+FLT_
(MIN|MAX)
";
#define LIMITS_IFNDEFS_TEST_CT 1
static tTestDesc aLimits_IfndefsTests[] = {
...
...
gcc/fixinc/inclhack.def
View file @
19162d0e
...
...
@@ -1398,12 +1398,16 @@ fix = {
* comment. Fortunately, HP/UX already uses #ifndefs in limits.h; if
* we find a #ifndef FLT_MIN we assume that all the required #ifndefs
* are there, and we do not add them ourselves.
*
* QNX Software Systems also guards the defines, but doesn't define
* FLT_MIN. Therefore, bypass the fix for *either* guarded FLT_MIN
* or guarded FLT_MAX.
*/
fix = {
hackname = limits_ifndefs;
files = "sys/limits.h";
files = "limits.h";
bypass = "ifndef[ \t]+FLT_
MIN
";
bypass = "ifndef[ \t]+FLT_
(MIN|MAX)
";
c_fix = format;
c_fix_arg = "#ifndef %1\n%0\n#endif";
...
...
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