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
ec8aac6f
Commit
ec8aac6f
authored
Oct 21, 1999
by
Jonathan Larmour
Committed by
Nick Clifton
Oct 21, 1999
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Apply patches submitted by eCos team.
From-SVN: r30120
parent
8141abe8
Hide whitespace changes
Inline
Side-by-side
Showing
4 changed files
with
32 additions
and
13 deletions
+32
-13
gcc/ChangeLog
+13
-0
gcc/config/arm/lib1funcs.asm
+1
-1
gcc/config/arm/telf.h
+5
-3
gcc/config/arm/unknown-elf.h
+13
-9
No files found.
gcc/ChangeLog
View file @
ec8aac6f
Thu
Oct
21
13
:
03
:
49
1999
Jonathan
Larmour
<
jlarmour
@cygnus
.
co
.
uk
>
*
config
/
arm
/
telf
.
h
(
ASM_OUTPUT_SECTION_NAME
)
:
Add
%
nobits
option
to
.
section
when
outputting
a
.
bss
section
to
deal
with
multiple
.
bss
input
sections
(
as
happens
with
-
fdata
-
sections
)
Also
output
%
progbits
,
not
@progbits
so
the
assembler
doesn
'
t
treat
as
a
comment
.
*
config
/
arm
/
unknown
-
elf
.
h
(
ASM_OUTPUT_SECTION_NAME
)
:
Likewise
*
config
/
arm
/
lib1funcs
.
asm
(
_call_via_rX
)
:
Allow
compilation
of
thumb
parts
even
when
building
with
non
-
thumb
CPUs
,
by
forcing
thumb
mode
.
Wed
Oct
20
22
:
57
:
58
1999
Jeffrey
A
Law
(
law
@cygnus
.
com
)
*
sparc
.
md
(
movsf_const_intreg
)
:
If
splitting
,
length
must
be
>
1
.
...
...
gcc/config/arm/lib1funcs.asm
View file @
ec8aac6f
...
...
@@ -469,7 +469,7 @@ SYM (__div0):
.
text
.
align
0
.
code
16
.
force_thumb
.
macro
call_via
register
.
globl
SYM
(
_call_via_
\
register
)
TYPE
(
_call_via_
\
register
)
...
...
gcc/config/arm/telf.h
View file @
ec8aac6f
...
...
@@ -82,11 +82,13 @@ extern int arm_structure_size_boundary;
do \
{ \
if ((DECL) && TREE_CODE (DECL) == FUNCTION_DECL) \
fprintf (STREAM, "\t.section %s,\"ax\",
@progbits\n", (NAME)
); \
fprintf (STREAM, "\t.section %s,\"ax\",
%%progbits\n", NAME
); \
else if ((DECL) && DECL_READONLY_SECTION (DECL, RELOC)) \
fprintf (STREAM, "\t.section %s,\"a\"\n", (NAME)); \
fprintf (STREAM, "\t.section %s,\"a\"\n", NAME); \
else if (! strncmp (NAME, ".bss", 4)) \
fprintf (STREAM, "\t.section %s,\"aw\",%%nobits\n", NAME); \
else \
fprintf (STREAM, "\t.section %s,\"aw\"\n",
(NAME)
); \
fprintf (STREAM, "\t.section %s,\"aw\"\n",
NAME
); \
} \
while (0)
...
...
gcc/config/arm/unknown-elf.h
View file @
ec8aac6f
...
...
@@ -89,15 +89,19 @@ func_ptr __DTOR_END__[1] = { (func_ptr) 0 };
NAME for object DECL which is either a FUNCTION_DECL, a VAR_DECL or
NULL_TREE. Some target formats do not support arbitrary sections. Do not
define this macro in such cases. */
#define ASM_OUTPUT_SECTION_NAME(STREAM, DECL, NAME, RELOC) \
do { \
if ((DECL) && TREE_CODE (DECL) == FUNCTION_DECL) \
fprintf (STREAM, "\t.section %s,\"ax\",@progbits\n", (NAME)); \
else if ((DECL) && DECL_READONLY_SECTION (DECL, RELOC)) \
fprintf (STREAM, "\t.section %s,\"a\"\n", (NAME)); \
else \
fprintf (STREAM, "\t.section %s,\"aw\"\n", (NAME)); \
} while (0)
#define ASM_OUTPUT_SECTION_NAME(STREAM, DECL, NAME, RELOC) \
do \
{ \
if ((DECL) && TREE_CODE (DECL) == FUNCTION_DECL) \
fprintf (STREAM, "\t.section %s,\"ax\",%%progbits\n", NAME); \
else if ((DECL) && DECL_READONLY_SECTION (DECL, RELOC)) \
fprintf (STREAM, "\t.section %s,\"a\"\n", NAME); \
else if (! strncmp (NAME, ".bss", 4)) \
fprintf (STREAM, "\t.section %s,\"aw\",%%nobits\n", NAME); \
else \
fprintf (STREAM, "\t.section %s,\"aw\"\n", NAME); \
} \
while (0)
/* Don't know how to order these. UNALIGNED_WORD_ASM_OP is in
dwarf2.out. */
...
...
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