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
fe0503ea
Commit
fe0503ea
authored
Jul 26, 1999
by
Nick Clifton
Committed by
Nick Clifton
Jul 26, 1999
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Implement new macro: ASM_FPRINTF_EXTENSIONS
From-SVN: r28263
parent
a7a64a77
Hide whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
34 additions
and
0 deletions
+34
-0
gcc/ChangeLog
+7
-0
gcc/final.c
+14
-0
gcc/tm.texi
+13
-0
No files found.
gcc/ChangeLog
View file @
fe0503ea
Mon
Jul
26
10
:
23
:
36
1999
Nick
Clifton
<
nickc
@cygnus
.
com
>
*
final
.
c
(
asm_fprintf
)
:
Accept
ASM_FPRINTF_EXTENSIONS
,
if
defined
.
*
tm
.
texi
:
Document
ASM_FPRINTF_EXTENSIONS
.
Sun
Jul
25
23
:
51
:
59
1999
Richard
Henderson
<
rth
@cygnus
.
com
>
*
i860
.
h
(
EXPAND_BUILTIN_SAVEREGS
)
:
New
.
...
...
gcc/final.c
View file @
fe0503ea
...
...
@@ -3826,6 +3826,20 @@ asm_fprintf VPROTO((FILE *file, const char *p, ...))
fputs
(
user_label_prefix
,
file
);
break
;
#ifdef ASM_FPRINTF_EXTENSIONS
/* Upper case letters are reserved for general use by asm_fprintf
and so are not available to target specific code. In order to
prevent the ASM_FPRINTF_EXTENSIONS macro from using them then,
they are defined here. As they get turned into real extensions
to asm_fprintf they should be removed from this list. */
case
'A'
:
case
'B'
:
case
'C'
:
case
'D'
:
case
'E'
:
case
'F'
:
case
'G'
:
case
'H'
:
case
'J'
:
case
'K'
:
case
'M'
:
case
'N'
:
case
'P'
:
case
'Q'
:
case
'S'
:
case
'T'
:
case
'V'
:
case
'W'
:
case
'Y'
:
case
'Z'
:
break
;
ASM_FPRINTF_EXTENSIONS
(
file
,
argptr
,
p
)
#endif
default
:
abort
();
}
...
...
gcc/tm.texi
View file @
fe0503ea
...
...
@@ -6230,6 +6230,19 @@ If defined, C string expressions to be used for the @samp{%R}, @samp{%L},
support
multiple
assembler
formats
.
In
that
case
,
the
various
@file{
tm
.
h
}
files
can
define
these
macros
differently
.
@item
ASM_FPRINTF_EXTENSIONS
(
@var{
file
}
,
@var{
argptr
}
,
@var{
format
}
)
@findex
ASM_FPRINTF_EXTENSIONS
If
defiend
this
macro
should
expand
to
a
series
of
@code{
case
}
statements
which
will
be
parsed
inside
the
@code{
switch
}
statement
of
the
@code{
asm_fprintf
}
function
.
This
allows
targets
to
define
extra
printf
formats
which
may
useful
when
generating
their
assembler
statements
.
Noet
that
upper
case
letters
are
reserved
for
future
generic
extensions
to
asm_fprintf
,
and
so
are
not
available
to
target
specific
code
.
The
output
file
is
given
by
the
parameter
@var{
file
}
.
The
varargs
input
pointer
is
@var{
argptr
}
and
the
rest
of
the
format
string
,
starting
the
character
after
the
one
that
is
being
switched
upon
,
is
pointed
to
by
@var{
format
}
.
@findex
ASSEMBLER_DIALECT
@item
ASSEMBLER_DIALECT
If
your
target
supports
multiple
dialects
of
assembler
language
(
such
as
...
...
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