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
9517ead8
Commit
9517ead8
authored
Sep 10, 1998
by
Anthony Green
Committed by
Anthony Green
Sep 10, 1998
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
* config/rs6000/rs6000.c (output_epilog): Add Java support.
From-SVN: r22378
parent
95c81fb8
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
8 additions
and
1 deletions
+8
-1
gcc/ChangeLog
+4
-0
gcc/config/rs6000/rs6000.c
+4
-1
No files found.
gcc/ChangeLog
View file @
9517ead8
Thu Sep 10 08:01:31 1998 Anthony Green <green@cygnus.com>
* config/rs6000/rs6000.c (output_epilog): Add Java support.
Thu Sep 10 14:48:59 1998 Martin von Lwis <loewis@informatik.hu-berlin.de>
Thu Sep 10 14:48:59 1998 Martin von Lwis <loewis@informatik.hu-berlin.de>
* invoke.texi (C++ Dialect Options): Document -fhonor-std.
* invoke.texi (C++ Dialect Options): Document -fhonor-std.
...
...
gcc/config/rs6000/rs6000.c
View file @
9517ead8
...
@@ -4232,7 +4232,8 @@ output_epilog (file, size)
...
@@ -4232,7 +4232,8 @@ output_epilog (file, size)
/* Language type. Unfortunately, there doesn't seem to be any
/* Language type. Unfortunately, there doesn't seem to be any
official way to get this info, so we use language_string. C
official way to get this info, so we use language_string. C
is 0. C++ is 9. No number defined for Obj-C, so use the
is 0. C++ is 9. No number defined for Obj-C, so use the
value for C for now. */
value for C for now. There is no official value for Java,
although IBM appears to be using 13. */
if
(
!
strcmp
(
language_string
,
"GNU C"
)
if
(
!
strcmp
(
language_string
,
"GNU C"
)
||
!
strcmp
(
language_string
,
"GNU Obj-C"
))
||
!
strcmp
(
language_string
,
"GNU Obj-C"
))
i
=
0
;
i
=
0
;
...
@@ -4244,6 +4245,8 @@ output_epilog (file, size)
...
@@ -4244,6 +4245,8 @@ output_epilog (file, size)
i
=
2
;
i
=
2
;
else
if
(
!
strcmp
(
language_string
,
"GNU C++"
))
else
if
(
!
strcmp
(
language_string
,
"GNU C++"
))
i
=
9
;
i
=
9
;
else
if
(
!
strcmp
(
language_string
,
"GNU Java"
))
i
=
13
;
else
else
abort
();
abort
();
fprintf
(
file
,
"%d,"
,
i
);
fprintf
(
file
,
"%d,"
,
i
);
...
...
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