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
9be7a8da
Commit
9be7a8da
authored
May 17, 1996
by
Doug Evans
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
* arm/arm.c (output_option, output_options, m_options): Delete.
From-SVN: r11993
parent
cfd26204
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
0 additions
and
92 deletions
+0
-92
gcc/config/arm/arm.c
+0
-92
No files found.
gcc/config/arm/arm.c
View file @
9be7a8da
...
...
@@ -296,98 +296,6 @@ arm_override_options ()
arm_prog_mode
=
TARGET_APCS_32
?
PROG_MODE_PROG32
:
PROG_MODE_PROG26
;
}
#define MAX_LINE 79
struct
asm_option
{
char
*
string
;
int
*
variable
;
int
on_value
;
};
static
int
output_option
(
file
,
type
,
name
,
pos
)
FILE
*
file
;
char
*
type
;
char
*
name
;
int
pos
;
{
int
type_len
=
strlen
(
type
);
int
name_len
=
strlen
(
name
);
if
(
1
+
type_len
+
name_len
+
pos
>
MAX_LINE
)
{
fprintf
(
file
,
"
\n
%s %s%s"
,
ASM_COMMENT_START
,
type
,
name
);
return
3
+
type_len
+
name_len
;
}
fprintf
(
file
,
" %s%s"
,
type
,
name
);
return
pos
+
1
+
type_len
+
name_len
;
}
static
struct
{
char
*
name
;
int
value
;
}
m_options
[]
=
TARGET_SWITCHES
;
extern
char
*
version_string
,
*
language_string
;
void
output_options
(
file
,
f_options
,
f_len
,
W_options
,
W_len
)
FILE
*
file
;
struct
asm_option
*
f_options
;
int
f_len
;
struct
asm_option
*
W_options
;
int
W_len
;
{
int
j
;
int
flags
=
target_flags
;
int
pos
=
32767
;
fprintf
(
file
,
"%s %s %s"
,
ASM_COMMENT_START
,
language_string
,
version_string
);
if
(
optimize
)
{
char
opt_string
[
20
];
sprintf
(
opt_string
,
"%d"
,
optimize
);
pos
=
output_option
(
file
,
"-O"
,
opt_string
,
pos
);
}
if
(
profile_flag
)
pos
=
output_option
(
file
,
"-p"
,
""
,
pos
);
if
(
inhibit_warnings
)
pos
=
output_option
(
file
,
"-w"
,
""
,
pos
);
for
(
j
=
0
;
j
<
f_len
;
j
++
)
{
if
(
*
f_options
[
j
].
variable
==
f_options
[
j
].
on_value
)
pos
=
output_option
(
file
,
"-f"
,
f_options
[
j
].
string
,
pos
);
}
for
(
j
=
0
;
j
<
W_len
;
j
++
)
{
if
(
*
W_options
[
j
].
variable
==
W_options
[
j
].
on_value
)
pos
=
output_option
(
file
,
"-W"
,
W_options
[
j
].
string
,
pos
);
}
for
(
j
=
0
;
j
<
sizeof
m_options
/
sizeof
m_options
[
0
];
j
++
)
{
if
(
m_options
[
j
].
name
[
0
]
!=
'\0'
&&
m_options
[
j
].
value
>
0
&&
((
m_options
[
j
].
value
&
flags
)
==
m_options
[
j
].
value
))
{
pos
=
output_option
(
file
,
"-m"
,
m_options
[
j
].
name
,
pos
);
flags
&=
~
m_options
[
j
].
value
;
}
}
for
(
j
=
0
;
j
<
sizeof
(
arm_select
)
/
sizeof
(
arm_select
[
0
]);
j
++
)
if
(
arm_select
[
j
].
string
!=
(
char
*
)
0
)
pos
=
output_option
(
file
,
arm_select
[
j
].
name
,
arm_select
[
j
].
string
,
pos
);
fputs
(
"
\n\n
"
,
file
);
}
/* Return 1 if it is possible to return using a single instruction */
...
...
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