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
461422d5
Commit
461422d5
authored
Nov 04, 1996
by
Michael Meissner
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Fix -fpic problems; fix typo in cygwin
From-SVN: r13093
parent
4f3397ae
Hide whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
5 additions
and
1 deletions
+5
-1
gcc/config/rs6000/cygwin32.h
+1
-1
gcc/config/rs6000/rs6000.h
+3
-0
gcc/config/rs6000/rs6000.md
+1
-0
No files found.
gcc/config/rs6000/cygwin32.h
View file @
461422d5
...
@@ -49,7 +49,7 @@ Boston, MA 02111-1307, USA. */
...
@@ -49,7 +49,7 @@ Boston, MA 02111-1307, USA. */
#define LINK_SPEC "%{v:-V}"
#define LINK_SPEC "%{v:-V}"
#undef STARTFILE_SPEC
#undef STARTFILE_SPEC
#define STARTFILE_SPEC "crti%O%s
%{!:crt0%O%s}
"
#define STARTFILE_SPEC "crti%O%s
crt0%O%s
"
#undef ENDFILE_SPEC
#undef ENDFILE_SPEC
#define ENDFILE_SPEC "crtn%O%s"
#define ENDFILE_SPEC "crtn%O%s"
...
...
gcc/config/rs6000/rs6000.h
View file @
461422d5
...
@@ -1767,6 +1767,7 @@ typedef struct rs6000_args
...
@@ -1767,6 +1767,7 @@ typedef struct rs6000_args
#define LEGITIMATE_SMALL_DATA_P(MODE, X) \
#define LEGITIMATE_SMALL_DATA_P(MODE, X) \
((DEFAULT_ABI == ABI_V4 || DEFAULT_ABI == ABI_SOLARIS) \
((DEFAULT_ABI == ABI_V4 || DEFAULT_ABI == ABI_SOLARIS) \
&& !flag_pic && !TARGET_RELOCATABLE \
&& (GET_CODE (X) == SYMBOL_REF || GET_CODE (X) == CONST) \
&& (GET_CODE (X) == SYMBOL_REF || GET_CODE (X) == CONST) \
&& small_data_operand (X, MODE))
&& small_data_operand (X, MODE))
...
@@ -1803,6 +1804,7 @@ typedef struct rs6000_args
...
@@ -1803,6 +1804,7 @@ typedef struct rs6000_args
#define LEGITIMATE_LO_SUM_ADDRESS_P(MODE, X) \
#define LEGITIMATE_LO_SUM_ADDRESS_P(MODE, X) \
(TARGET_ELF \
(TARGET_ELF \
&& !flag_pic && !TARGET_RELOCATABLE \
&& (MODE) != DImode \
&& (MODE) != DImode \
&& (MODE) != TImode \
&& (MODE) != TImode \
&& (TARGET_HARD_FLOAT || (MODE) != DFmode) \
&& (TARGET_HARD_FLOAT || (MODE) != DFmode) \
...
@@ -1881,6 +1883,7 @@ typedef struct rs6000_args
...
@@ -1881,6 +1883,7 @@ typedef struct rs6000_args
goto WIN; \
goto WIN; \
} \
} \
else if (TARGET_ELF && TARGET_32BIT && TARGET_NO_TOC \
else if (TARGET_ELF && TARGET_32BIT && TARGET_NO_TOC \
&& !flag_pic \
&& GET_CODE (X) != CONST_INT \
&& GET_CODE (X) != CONST_INT \
&& GET_CODE (X) != CONST_DOUBLE && CONSTANT_P (X) \
&& GET_CODE (X) != CONST_DOUBLE && CONSTANT_P (X) \
&& (TARGET_HARD_FLOAT || (MODE) != DFmode) \
&& (TARGET_HARD_FLOAT || (MODE) != DFmode) \
...
...
gcc/config/rs6000/rs6000.md
View file @
461422d5
...
@@ -5084,6 +5084,7 @@
...
@@ -5084,6 +5084,7 @@
}
}
if (TARGET_ELF && TARGET_NO_TOC && !TARGET_64BIT
if (TARGET_ELF && TARGET_NO_TOC && !TARGET_64BIT
&& !flag_pic
&& CONSTANT_P (operands
[
1
]
)
&& CONSTANT_P (operands
[
1
]
)
&& GET_CODE (operands
[
1
]
) != HIGH
&& GET_CODE (operands
[
1
]
) != HIGH
&& GET_CODE (operands
[
1
]
) != CONST_INT)
&& GET_CODE (operands
[
1
]
) != CONST_INT)
...
...
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