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
e263bc93
Commit
e263bc93
authored
Nov 08, 2005
by
Terry Laurenzo
Committed by
Terry Laurenzo
Nov 08, 2005
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Removed decompilation for non-ELF targets.
From-SVN: r106628
parent
9ed5f107
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
13 additions
and
1 deletions
+13
-1
gcc/java/ChangeLog
+6
-0
gcc/java/gjavah.c
+7
-1
No files found.
gcc/java/ChangeLog
View file @
e263bc93
2005
-
11
-
07
Terry
Laurenzo
<
tlaurenzo
@
gmail
.
com
>
*
gjavah
.
c
(
HANDLE_CODE_ATTRIBUTE
):
Only
define
for
ELF
Object
formats
.
*
gjavah
.
c
(
decompile_method
):
Add
ATTRIBUTE_UNUSED
2005
-
10
-
12
Nathan
Sidwell
<
nathan
@
codesourcery
.
com
>
Wil
Mahan
<
wmahan
@
gmail
.
com
>
...
...
gcc/java/gjavah.c
View file @
e263bc93
...
...
@@ -145,7 +145,7 @@ static void print_method_info (FILE*, JCF*, int, int, JCF_u2);
static
void
print_c_decl
(
FILE
*
,
JCF
*
,
int
,
int
,
int
,
const
char
*
,
int
);
static
void
print_stub_or_jni
(
FILE
*
,
JCF
*
,
int
,
int
,
int
,
const
char
*
,
int
);
static
void
print_full_cxx_name
(
FILE
*
,
JCF
*
,
int
,
int
,
int
,
const
char
*
,
int
);
static
void
decompile_method
(
FILE
*
,
JCF
*
,
int
);
static
void
decompile_method
(
FILE
*
,
JCF
*
,
int
)
ATTRIBUTE_UNUSED
;
static
void
add_class_decl
(
FILE
*
,
JCF
*
,
JCF_u2
);
static
void
print_name
(
FILE
*
,
JCF
*
,
int
);
...
...
@@ -250,8 +250,14 @@ static int is_first_data_member = 0;
} \
}
/* Only include byte-code decompilation optimizations for ELF targets
since the generated headers are only known to work with ELF weak
symbol semnatics. Specifically, these optimizations are known to
not work on PE-COFF and possibly others. */
#ifdef OBJECT_FORMAT_ELF
#define HANDLE_CODE_ATTRIBUTE(MAX_STACK, MAX_LOCALS, CODE_LENGTH) \
if (out && method_declared) decompile_method (out, jcf, CODE_LENGTH);
#endif
static
int
decompiled
=
0
;
#define HANDLE_END_METHOD() \
...
...
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