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
a1e27b76
Commit
a1e27b76
authored
Dec 23, 1998
by
Nick Clifton
Committed by
Nick Clifton
Dec 23, 1998
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Enable -fleading-underscore for arm-elf builds.
From-SVN: r24409
parent
5a005d9e
Hide whitespace changes
Inline
Side-by-side
Showing
5 changed files
with
29 additions
and
14 deletions
+29
-14
gcc/ChangeLog
+15
-0
gcc/config/arm/lib1funcs.asm
+9
-9
gcc/config/arm/t-arm-elf
+2
-2
gcc/config/arm/thumb.h
+2
-2
gcc/config/arm/unknown-elf.h
+1
-1
No files found.
gcc/ChangeLog
View file @
a1e27b76
Wed
Dec
23
10
:
27
:
44
1998
Nick
Clifton
<
nickc
@cygnus
.
com
>
*
config
/
arm
/
t
-
arm
-
elf
:
Add
multiplib
option
for
leading
underscores
.
*
config
/
arm
/
thumb
.
h
(
ASM_OUTPUT_LABELREF
)
:
Use
variable
'
user_label_prefix
'
rather
than
macro
USER_LABEL_PREFIX
.
(
thumb_shiftable_const
)
:
Use
macro
'
BASE_REG_CLASS
'
rather
than
variable
'
reload_address_base_reg_class
'
.
[
Note
this
change
is
unrelated
to
the
others
in
this
patch
].
*
config
/
arm
/
unknown
-
elf
.
h
(
USER_LABEL_PREFIX
)
:
Default
to
no
leading
underscore
.
Wed
Dec
23
09
:
51
:
32
1998
Kaveh
R
.
Ghazi
<
ghazi
@caip
.
rutgers
.
edu
>
Wed
Dec
23
09
:
51
:
32
1998
Kaveh
R
.
Ghazi
<
ghazi
@caip
.
rutgers
.
edu
>
*
alias
.
c
(
record_alias_subset
)
:
Remove
ignored
`
&
'
.
*
alias
.
c
(
record_alias_subset
)
:
Remove
ignored
`
&
'
.
...
...
gcc/config/arm/lib1funcs.asm
View file @
a1e27b76
...
@@ -47,6 +47,15 @@ Boston, MA 02111-1307, USA. */
...
@@ -47,6 +47,15 @@ Boston, MA 02111-1307, USA. */
#
error
__USER_LABEL_PREFIX__
not
defined
#
error
__USER_LABEL_PREFIX__
not
defined
#
endif
#
endif
/*
ANSI
concatenation
macros
.
*/
#
define
CONCAT1
(
a
,
b
)
CONCAT2
(
a
,
b
)
#
define
CONCAT2
(
a
,
b
)
a
##
b
/*
Use
the
right
prefix
for
global
labels
.
*/
#
define
SYM
(
x
)
CONCAT1
(
__USER_LABEL_PREFIX__
,
x
)
#
ifdef
__elf__
#
ifdef
__elf__
#
define
__PLT__
(
PLT
)
#
define
__PLT__
(
PLT
)
#
define
TYPE
(
x
)
.
type
SYM
(
x
),
function
#
define
TYPE
(
x
)
.
type
SYM
(
x
),
function
...
@@ -57,15 +66,6 @@ Boston, MA 02111-1307, USA. */
...
@@ -57,15 +66,6 @@ Boston, MA 02111-1307, USA. */
#
define
SIZE
(
x
)
#
define
SIZE
(
x
)
#
endif
#
endif
/*
ANSI
concatenation
macros
.
*/
#
define
CONCAT1
(
a
,
b
)
CONCAT2
(
a
,
b
)
#
define
CONCAT2
(
a
,
b
)
a
##
b
/*
Use
the
right
prefix
for
global
labels
.
*/
#
define
SYM
(
x
)
CONCAT1
(
__USER_LABEL_PREFIX__
,
x
)
#
ifdef
L_udivsi3
#
ifdef
L_udivsi3
dividend
.
req
r0
dividend
.
req
r0
...
...
gcc/config/arm/t-arm-elf
View file @
a1e27b76
...
@@ -23,8 +23,8 @@ dp-bit.c: $(srcdir)/config/fp-bit.c
...
@@ -23,8 +23,8 @@ dp-bit.c: $(srcdir)/config/fp-bit.c
echo '#endif' >> dp-bit.c
echo '#endif' >> dp-bit.c
cat $(srcdir)/config/fp-bit.c >> dp-bit.c
cat $(srcdir)/config/fp-bit.c >> dp-bit.c
MULTILIB_OPTIONS = mlittle-endian/mbig-endian mhard-float/msoft-float mapcs-32/mapcs-26
MULTILIB_OPTIONS = mlittle-endian/mbig-endian mhard-float/msoft-float mapcs-32/mapcs-26
fno-leading-underscore/fleading-underscore
MULTILIB_DIRNAMES = le be fpu soft 32bit 26bit
MULTILIB_DIRNAMES = le be fpu soft 32bit 26bit
elf under
MULTILIB_MATCHES =
MULTILIB_MATCHES =
LIBGCC = stmp-multilib
LIBGCC = stmp-multilib
...
...
gcc/config/arm/thumb.h
View file @
a1e27b76
...
@@ -161,7 +161,7 @@ extern int target_flags;
...
@@ -161,7 +161,7 @@ extern int target_flags;
/* Output a reference to a label. */
/* Output a reference to a label. */
#define ASM_OUTPUT_LABELREF(STREAM,NAME) \
#define ASM_OUTPUT_LABELREF(STREAM,NAME) \
fprintf ((STREAM), "%s%s",
USER_LABEL_PREFIX
, (NAME))
fprintf ((STREAM), "%s%s",
user_label_prefix
, (NAME))
/* This is how to output an assembler line for a numeric constant byte. */
/* This is how to output an assembler line for a numeric constant byte. */
#define ASM_OUTPUT_BYTE(STREAM,VALUE) \
#define ASM_OUTPUT_BYTE(STREAM,VALUE) \
...
@@ -977,7 +977,7 @@ int thumb_shiftable_const ();
...
@@ -977,7 +977,7 @@ int thumb_shiftable_const ();
rtx orig_X = X; \
rtx orig_X = X; \
X = copy_rtx (X); \
X = copy_rtx (X); \
push_reload (orig_X, NULL_RTX, &X, NULL_PTR, \
push_reload (orig_X, NULL_RTX, &X, NULL_PTR, \
reload_address_base_reg_class,
\
BASE_REG_CLASS,
\
Pmode, VOIDmode, 0, 0, OPNUM, TYPE); \
Pmode, VOIDmode, 0, 0, OPNUM, TYPE); \
goto WIN; \
goto WIN; \
} \
} \
...
...
gcc/config/arm/unknown-elf.h
View file @
a1e27b76
...
@@ -40,7 +40,7 @@ Boston, MA 02111-1307, USA. */
...
@@ -40,7 +40,7 @@ Boston, MA 02111-1307, USA. */
#define ENDFILE_SPEC "crtend%O%s"
#define ENDFILE_SPEC "crtend%O%s"
#define USER_LABEL_PREFIX "
_"
/* FIXME: This ought to be "" */
#define USER_LABEL_PREFIX "
"
#define LOCAL_LABEL_PREFIX "."
#define LOCAL_LABEL_PREFIX "."
#define TEXT_SECTION " .text"
#define TEXT_SECTION " .text"
...
...
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