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
0d1be583
Commit
0d1be583
authored
Jul 24, 1998
by
Nick Clifton
Committed by
Nick Clifton
Jul 24, 1998
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Fix use of USER_LABEL_PREFIX when calling gcc library functions
From-SVN: r21360
parent
1bc54bc9
Hide whitespace changes
Inline
Side-by-side
Showing
4 changed files
with
18 additions
and
5 deletions
+18
-5
gcc/ChangeLog
+9
-0
gcc/config/arm/thumb.c
+4
-0
gcc/config/arm/thumb.h
+1
-1
gcc/config/arm/thumb.md
+4
-4
No files found.
gcc/ChangeLog
View file @
0d1be583
Fri Jul 24 11:17:04 1998 Nick Clifton <nickc@cygnus.com>
* config/arm/thumb.c (thumb_print_operand): Decode %_ in asm
strings as the insertion of USER_LABEL_PREFIX.
* config/arm/thumb.h (PRINT_OPERAND_PUNCT_VALID_P): Accept _ as a
valid code.
* config/arm/thumb.md: Use %_ as a prefix to gcc library function
calls.
Thu Jul 23 18:53:20 1998 Jim Wilson <wilson@cygnus.com>
Thu Jul 23 18:53:20 1998 Jim Wilson <wilson@cygnus.com>
* dbxout.c (dbxout_range_type): Only call dbxout_type_index for
* dbxout.c (dbxout_range_type): Only call dbxout_type_index for
...
...
gcc/config/arm/thumb.c
View file @
0d1be583
...
@@ -1762,6 +1762,10 @@ thumb_print_operand (f, x, code)
...
@@ -1762,6 +1762,10 @@ thumb_print_operand (f, x, code)
fputs
(
ASM_COMMENT_START
,
f
);
fputs
(
ASM_COMMENT_START
,
f
);
return
;
return
;
case
'_'
:
fputs
(
USER_LABEL_PREFIX
,
f
);
return
;
case
'D'
:
case
'D'
:
if
(
x
)
if
(
x
)
fputs
(
thumb_condition_code
(
x
,
1
),
f
);
fputs
(
thumb_condition_code
(
x
,
1
),
f
);
...
...
gcc/config/arm/thumb.h
View file @
0d1be583
...
@@ -1052,7 +1052,7 @@ int thumb_shiftable_const ();
...
@@ -1052,7 +1052,7 @@ int thumb_shiftable_const ();
output_addr_const ((STREAM), (X)); \
output_addr_const ((STREAM), (X)); \
}
}
#define PRINT_OPERAND_PUNCT_VALID_P(CODE) ((CODE) == '@')
#define PRINT_OPERAND_PUNCT_VALID_P(CODE) ((CODE) == '@'
|| ((CODE) == '_')
)
/* Emit a special directive when defining a function name.
/* Emit a special directive when defining a function name.
This is used by the assembler to assit with interworking. */
This is used by the assembler to assit with interworking. */
...
...
gcc/config/arm/thumb.md
View file @
0d1be583
...
@@ -990,7 +990,7 @@
...
@@ -990,7 +990,7 @@
[
(call (mem:SI (match_operand:SI 0 "register_operand" "l
*
r"))
[
(call (mem:SI (match_operand:SI 0 "register_operand" "l
*
r"))
(match_operand 1 "" ""))]
(match_operand 1 "" ""))]
"! TARGET_CALLER_INTERWORKING"
"! TARGET_CALLER_INTERWORKING"
"bl
\\
t__call_via_%0"
"bl
\\
t
%
__call_via_%0"
[
(set_attr "length" "4")
]
)
[
(set_attr "length" "4")
]
)
;; The non THUMB_INTERWORK, non TARGET_CALLER_INTERWORKING version
;; The non THUMB_INTERWORK, non TARGET_CALLER_INTERWORKING version
;; used to be: "mov
\\
tlr,pc
\;
bx
\\
t%0", but the mov does not set
;; used to be: "mov
\\
tlr,pc
\;
bx
\\
t%0", but the mov does not set
...
@@ -1001,7 +1001,7 @@
...
@@ -1001,7 +1001,7 @@
[
(call (mem:SI (match_operand:SI 0 "register_operand" "l
*
r"))
[
(call (mem:SI (match_operand:SI 0 "register_operand" "l
*
r"))
(match_operand 1 "" ""))]
(match_operand 1 "" ""))]
"TARGET_CALLER_INTERWORKING"
"TARGET_CALLER_INTERWORKING"
"bl
\\
t__interwork_call_via_%0"
"bl
\\
t
%
__interwork_call_via_%0"
[
(set_attr "length" "4")
]
)
[
(set_attr "length" "4")
]
)
(define_expand "call_value"
(define_expand "call_value"
...
@@ -1016,7 +1016,7 @@
...
@@ -1016,7 +1016,7 @@
(call (mem:SI (match_operand:SI 1 "register_operand" "l
*
r"))
(call (mem:SI (match_operand:SI 1 "register_operand" "l
*
r"))
(match_operand 2 "" "")))]
(match_operand 2 "" "")))]
"! TARGET_CALLER_INTERWORKING"
"! TARGET_CALLER_INTERWORKING"
"bl
\\
t__call_via_%1"
"bl
\\
t
%
__call_via_%1"
[
(set_attr "length" "4")
]
)
[
(set_attr "length" "4")
]
)
;; See comment for call_indirect pattern
;; See comment for call_indirect pattern
...
@@ -1025,7 +1025,7 @@
...
@@ -1025,7 +1025,7 @@
(call (mem:SI (match_operand:SI 1 "register_operand" "l
*
r"))
(call (mem:SI (match_operand:SI 1 "register_operand" "l
*
r"))
(match_operand 2 "" "")))]
(match_operand 2 "" "")))]
"TARGET_CALLER_INTERWORKING"
"TARGET_CALLER_INTERWORKING"
"bl
\\
t__interwork_call_via_%1"
"bl
\\
t
%
__interwork_call_via_%1"
[
(set_attr "length" "4")
]
)
[
(set_attr "length" "4")
]
)
...
...
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