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
2f0552b6
Commit
2f0552b6
authored
May 23, 2002
by
Alan Modra
Committed by
Alan Modra
May 24, 2002
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
* config/rs6000/rs6000.c (output_toc): Mask longs to 32 bits.
From-SVN: r53815
parent
13fa982e
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
25 additions
and
14 deletions
+25
-14
gcc/ChangeLog
+4
-0
gcc/config/rs6000/rs6000.c
+21
-14
No files found.
gcc/ChangeLog
View file @
2f0552b6
2002-05-24 Alan Modra <amodra@bigpond.net.au>
* config/rs6000/rs6000.c (output_toc): Mask longs to 32 bits.
2002-05-23 Vladimir Makarov <vmakarov@redhat.com>
* genautomata.c (reserv_sets_hash_value): Use shift equal to 3/4
...
...
gcc/config/rs6000/rs6000.c
View file @
2f0552b6
...
...
@@ -10256,8 +10256,10 @@ output_toc (file, x, labelno, mode)
if
(
TARGET_MINIMAL_TOC
)
fputs
(
DOUBLE_INT_ASM_OP
,
file
);
else
fprintf
(
file
,
"
\t
.tc FD_%lx_%lx[TC],"
,
k
[
0
],
k
[
1
]);
fprintf
(
file
,
"0x%lx%08lx
\n
"
,
k
[
0
],
k
[
1
]);
fprintf
(
file
,
"
\t
.tc FD_%lx_%lx[TC],"
,
k
[
0
]
&
0xffffffff
,
k
[
1
]
&
0xffffffff
);
fprintf
(
file
,
"0x%lx%08lx
\n
"
,
k
[
0
]
&
0xffffffff
,
k
[
1
]
&
0xffffffff
);
return
;
}
else
...
...
@@ -10265,8 +10267,10 @@ output_toc (file, x, labelno, mode)
if
(
TARGET_MINIMAL_TOC
)
fputs
(
"
\t
.long "
,
file
);
else
fprintf
(
file
,
"
\t
.tc FD_%lx_%lx[TC],"
,
k
[
0
],
k
[
1
]);
fprintf
(
file
,
"0x%lx,0x%lx
\n
"
,
k
[
0
],
k
[
1
]);
fprintf
(
file
,
"
\t
.tc FD_%lx_%lx[TC],"
,
k
[
0
]
&
0xffffffff
,
k
[
1
]
&
0xffffffff
);
fprintf
(
file
,
"0x%lx,0x%lx
\n
"
,
k
[
0
]
&
0xffffffff
,
k
[
1
]
&
0xffffffff
);
return
;
}
}
...
...
@@ -10283,8 +10287,8 @@ output_toc (file, x, labelno, mode)
if
(
TARGET_MINIMAL_TOC
)
fputs
(
DOUBLE_INT_ASM_OP
,
file
);
else
fprintf
(
file
,
"
\t
.tc FS_%lx[TC],"
,
l
);
fprintf
(
file
,
"0x%lx00000000
\n
"
,
l
);
fprintf
(
file
,
"
\t
.tc FS_%lx[TC],"
,
l
&
0xffffffff
);
fprintf
(
file
,
"0x%lx00000000
\n
"
,
l
&
0xffffffff
);
return
;
}
else
...
...
@@ -10292,8 +10296,8 @@ output_toc (file, x, labelno, mode)
if
(
TARGET_MINIMAL_TOC
)
fputs
(
"
\t
.long "
,
file
);
else
fprintf
(
file
,
"
\t
.tc FS_%lx[TC],"
,
l
);
fprintf
(
file
,
"0x%lx
\n
"
,
l
);
fprintf
(
file
,
"
\t
.tc FS_%lx[TC],"
,
l
&
0xffffffff
);
fprintf
(
file
,
"0x%lx
\n
"
,
l
&
0xffffffff
);
return
;
}
}
...
...
@@ -10343,8 +10347,10 @@ output_toc (file, x, labelno, mode)
if
(
TARGET_MINIMAL_TOC
)
fputs
(
DOUBLE_INT_ASM_OP
,
file
);
else
fprintf
(
file
,
"
\t
.tc ID_%lx_%lx[TC],"
,
(
long
)
high
,
(
long
)
low
);
fprintf
(
file
,
"0x%lx%08lx
\n
"
,
(
long
)
high
,
(
long
)
low
);
fprintf
(
file
,
"
\t
.tc ID_%lx_%lx[TC],"
,
(
long
)
high
&
0xffffffff
,
(
long
)
low
&
0xffffffff
);
fprintf
(
file
,
"0x%lx%08lx
\n
"
,
(
long
)
high
&
0xffffffff
,
(
long
)
low
&
0xffffffff
);
return
;
}
else
...
...
@@ -10355,16 +10361,17 @@ output_toc (file, x, labelno, mode)
fputs
(
"
\t
.long "
,
file
);
else
fprintf
(
file
,
"
\t
.tc ID_%lx_%lx[TC],"
,
(
long
)
high
,
(
long
)
low
);
fprintf
(
file
,
"0x%lx,0x%lx
\n
"
,
(
long
)
high
,
(
long
)
low
);
(
long
)
high
&
0xffffffff
,
(
long
)
low
&
0xffffffff
);
fprintf
(
file
,
"0x%lx,0x%lx
\n
"
,
(
long
)
high
&
0xffffffff
,
(
long
)
low
&
0xffffffff
);
}
else
{
if
(
TARGET_MINIMAL_TOC
)
fputs
(
"
\t
.long "
,
file
);
else
fprintf
(
file
,
"
\t
.tc IS_%lx[TC],"
,
(
long
)
low
);
fprintf
(
file
,
"0x%lx
\n
"
,
(
long
)
low
);
fprintf
(
file
,
"
\t
.tc IS_%lx[TC],"
,
(
long
)
low
&
0xffffffff
);
fprintf
(
file
,
"0x%lx
\n
"
,
(
long
)
low
&
0xffffffff
);
}
return
;
}
...
...
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