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
6afcfe63
Commit
6afcfe63
authored
Jan 01, 1993
by
Jeff Law
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
* pa.h (TARGET_NO_BSS): Delete target switch. Delete all references.
From-SVN: r3039
parent
f8abbe2f
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
3 additions
and
10 deletions
+3
-10
gcc/config/pa/pa.h
+3
-10
No files found.
gcc/config/pa/pa.h
View file @
6afcfe63
...
@@ -40,11 +40,6 @@ extern int target_flags;
...
@@ -40,11 +40,6 @@ extern int target_flags;
#define TARGET_SNAKE (target_flags & 1)
#define TARGET_SNAKE (target_flags & 1)
/* Force gcc not to use the bss segment. This is (temporarily) provided
for sites which are using pa-gas-1.36 versions prior to Aug 7, 1992. */
#define TARGET_NO_BSS (target_flags & 2)
/* Force gcc to only use instructions which are safe when compiling kernels.
/* Force gcc to only use instructions which are safe when compiling kernels.
Specifically, avoid using add instructions with dp (r27) as an argument.
Specifically, avoid using add instructions with dp (r27) as an argument.
Use addil instructions instead. Doing so avoids a nasty bug in the
Use addil instructions instead. Doing so avoids a nasty bug in the
...
@@ -76,7 +71,6 @@ extern int target_flags;
...
@@ -76,7 +71,6 @@ extern int target_flags;
{"nosnake", -1}, \
{"nosnake", -1}, \
{"pa-risc-1-0", -1}, \
{"pa-risc-1-0", -1}, \
{"pa-risc-1-1", 1}, \
{"pa-risc-1-1", 1}, \
{"no-bss", 2}, \
{"kernel", 4}, \
{"kernel", 4}, \
{"shared-libs", 8}, \
{"shared-libs", 8}, \
{"no-shared-libs", -8},\
{"no-shared-libs", -8},\
...
@@ -1665,7 +1659,7 @@ bss_section () \
...
@@ -1665,7 +1659,7 @@ bss_section () \
#define ASM_OUTPUT_COMMON(FILE, NAME, SIZE, ROUNDED) \
#define ASM_OUTPUT_COMMON(FILE, NAME, SIZE, ROUNDED) \
(
(TARGET_NO_BSS) ? data_section (): bss_section (),
\
(
bss_section (),
\
assemble_name ((FILE), (NAME)), \
assemble_name ((FILE), (NAME)), \
fputs ("\t.comm ", (FILE)), \
fputs ("\t.comm ", (FILE)), \
fprintf ((FILE), "%d\n", (ROUNDED)))
fprintf ((FILE), "%d\n", (ROUNDED)))
...
@@ -1674,11 +1668,10 @@ bss_section () \
...
@@ -1674,11 +1668,10 @@ bss_section () \
to define a local common symbol. */
to define a local common symbol. */
#define ASM_OUTPUT_LOCAL(FILE, NAME, SIZE, ROUNDED) \
#define ASM_OUTPUT_LOCAL(FILE, NAME, SIZE, ROUNDED) \
(
(TARGET_NO_BSS) ? data_section (): bss_section (),
\
(
bss_section (),
\
fprintf ((FILE), "\t.align %d\n", (SIZE) <= 4 ? 4 : 8), \
fprintf ((FILE), "\t.align %d\n", (SIZE) <= 4 ? 4 : 8), \
assemble_name ((FILE), (NAME)), \
assemble_name ((FILE), (NAME)), \
(TARGET_NO_BSS) ? fprintf ((FILE), "\n\t.blockz %d\n", (ROUNDED)) \
fprintf ((FILE), "\n\t.block %d\n", (ROUNDED)))
: fprintf ((FILE), "\n\t.block %d\n", (ROUNDED)))
/* Store in OUTPUT a string (made with alloca) containing
/* Store in OUTPUT a string (made with alloca) containing
an assembler-name for a local static variable named NAME.
an assembler-name for a local static variable named NAME.
...
...
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