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
ab9eef41
Commit
ab9eef41
authored
May 19, 1997
by
Michael Meissner
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Fix powerpc-{eabi,linux,sysv} problem with -mrelocatable
From-SVN: r14103
parent
aa4fd28c
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
8 additions
and
2 deletions
+8
-2
gcc/config/rs6000/rs6000.c
+8
-2
No files found.
gcc/config/rs6000/rs6000.c
View file @
ab9eef41
...
...
@@ -81,6 +81,7 @@ int rs6000_compare_fp_p;
/* Label number of label created for -mrelocatable, to call to so we can
get the address of the GOT section */
int
rs6000_pic_labelno
;
int
rs6000_pic_func_labelno
;
/* Which abi to adhere to */
char
*
rs6000_abi_name
=
RS6000_ABI_NAME
;
...
...
@@ -3355,7 +3356,7 @@ rs6000_output_load_toc_table (file)
fprintf
(
file
,
"
\t
l"
);
fprintf
(
file
,
" %s,("
,
reg_names
[
0
]);
ASM_GENERATE_INTERNAL_LABEL
(
buf
,
"LCL"
,
rs6000_pic_labelno
);
ASM_GENERATE_INTERNAL_LABEL
(
buf
,
"LCL"
,
rs6000_pic_
func_
labelno
);
assemble_name
(
file
,
buf
);
fprintf
(
file
,
"-"
);
ASM_GENERATE_INTERNAL_LABEL
(
buf
,
"LCF"
,
rs6000_pic_labelno
);
...
...
@@ -3664,7 +3665,12 @@ output_prolog (file, size)
/* If TARGET_MINIMAL_TOC, and the constant pool is needed, then load the
TOC_TABLE address into register 30. */
if
(
TARGET_TOC
&&
TARGET_MINIMAL_TOC
&&
get_pool_size
()
!=
0
)
rs6000_output_load_toc_table
(
file
);
{
#ifdef USING_SVR4_H
rs6000_pic_func_labelno
=
rs6000_pic_labelno
;
#endif
rs6000_output_load_toc_table
(
file
);
}
if
(
DEFAULT_ABI
==
ABI_NT
)
{
...
...
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