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
e47ae1c2
Commit
e47ae1c2
authored
28 years ago
by
Michael Meissner
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Use .lcomm where we can
From-SVN: r12265
parent
fd5e7009
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
21 additions
and
9 deletions
+21
-9
gcc/config/rs6000/sol2.h
+0
-3
gcc/config/rs6000/sysv4.h
+21
-6
No files found.
gcc/config/rs6000/sol2.h
View file @
e47ae1c2
...
...
@@ -84,9 +84,6 @@ do { \
#define ASM_STABN_OP ".stabd"
#undef SKIP_ASM_OP
#define SKIP_ASM_OP ".skip"
#undef ASM_OUTPUT_SOURCE_LINE
#define ASM_OUTPUT_SOURCE_LINE(file, line) \
do \
...
...
This diff is collapsed.
Click to expand it.
gcc/config/rs6000/sysv4.h
View file @
e47ae1c2
...
...
@@ -658,17 +658,32 @@ extern int rs6000_pic_labelno;
#define LOCAL_ASM_OP ".local"
#endif
#ifndef LCOMM_ASM_OP
#define LCOMM_ASM_OP ".lcomm"
#endif
#undef ASM_OUTPUT_ALIGNED_LOCAL
#define ASM_OUTPUT_ALIGNED_LOCAL(FILE, NAME, SIZE, ALIGN) \
do { \
if (TARGET_SDATA && (SIZE) > 0 && (SIZE) <= g_switch_value) \
sbss_section (); \
{ \
sbss_section (); \
ASM_OUTPUT_ALIGN (FILE, exact_log2 (ALIGN / BITS_PER_UNIT)); \
ASM_OUTPUT_LABEL (FILE, NAME); \
ASM_OUTPUT_SKIP (FILE, SIZE); \
if (!flag_inhibit_size_directive && (SIZE) > 0) \
{ \
fprintf (FILE, "\t%s\t ", SIZE_ASM_OP); \
assemble_name (FILE, NAME); \
fprintf (FILE, ",%d\n", SIZE); \
} \
} \
else \
bss_section ();
\
\
ASM_OUTPUT_ALIGN (FILE, exact_log2 (ALIGN / BITS_PER_UNIT));
\
ASM_OUTPUT_LABEL (FILE, NAME);
\
ASM_OUTPUT_SKIP (FILE, SIZE);
\
{
\
fprintf (FILE, "\t%s\t", LCOMM_ASM_OP);
\
assemble_name ((FILE), (NAME));
\
fprintf ((FILE), ",%u,%u\n", (SIZE), (ALIGN) / BITS_PER_UNIT);
\
}
\
} while (0)
/* Describe how to emit unitialized external linkage items */
...
...
This diff is collapsed.
Click to expand it.
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