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
2e1ed1e3
Commit
2e1ed1e3
authored
Feb 16, 2002
by
John David Anglin
Committed by
John David Anglin
Feb 16, 2002
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
* pa/t-pa, pa/t-pro, pa/som.h: Revert last patch.
From-SVN: r49811
parent
604c75b2
Hide whitespace changes
Inline
Side-by-side
Showing
4 changed files
with
31 additions
and
1 deletions
+31
-1
gcc/ChangeLog
+4
-0
gcc/config/pa/som.h
+16
-0
gcc/config/pa/t-pa
+5
-1
gcc/config/pa/t-pro
+6
-0
No files found.
gcc/ChangeLog
View file @
2e1ed1e3
2002-02-16 John David Anglin <dave@hiauly1.hia.nrc.ca>
2002-02-16 John David Anglin <dave@hiauly1.hia.nrc.ca>
* pa/t-pa, pa/t-pro, som.h: Revert last patch.
2002-02-16 John David Anglin <dave@hiauly1.hia.nrc.ca>
* pa/t-pa (LIB2FUNCS_EXTRA): Don't build lib2funcs.asm.
* pa/t-pa (LIB2FUNCS_EXTRA): Don't build lib2funcs.asm.
* pa/t-pro (LIB2FUNCS_EXTRA): Likewise.
* pa/t-pro (LIB2FUNCS_EXTRA): Likewise.
* som.h (DO_GLOBAL_DTORS_BODY): Delete define.
* som.h (DO_GLOBAL_DTORS_BODY): Delete define.
...
...
gcc/config/pa/som.h
View file @
2e1ed1e3
...
@@ -351,6 +351,22 @@ readonly_data () \
...
@@ -351,6 +351,22 @@ readonly_data () \
#define ASM_FILE_END(FILE) output_deferred_plabels (FILE)
#define ASM_FILE_END(FILE) output_deferred_plabels (FILE)
/* We want __gcc_plt_call to appear in every program built by
gcc, so we make a reference to it out of __main.
We use the asm statement to fool the optimizer into not
removing the dead (but important) initialization of
REFERENCE. */
#define DO_GLOBAL_DTORS_BODY \
do { \
extern void __gcc_plt_call (); \
void (*reference)() = &__gcc_plt_call; \
func_ptr *p; \
__asm__ ("" : : "r" (reference)); \
for (p = __DTOR_LIST__ + 1; *p; ) \
(*p++) (); \
} while (0)
/* The .align directive in the HP assembler allows up to a 32 alignment. */
/* The .align directive in the HP assembler allows up to a 32 alignment. */
#define MAX_OFILE_ALIGNMENT 32768
#define MAX_OFILE_ALIGNMENT 32768
...
...
gcc/config/pa/t-pa
View file @
2e1ed1e3
T_ADAFLAGS=-mdisable-indexing
T_ADAFLAGS=-mdisable-indexing
LIB2FUNCS_EXTRA=quadlib.c
LIB2FUNCS_EXTRA=lib2funcs.asm quadlib.c
lib2funcs.asm: $(srcdir)/config/pa/lib2funcs.asm
rm -f lib2funcs.asm
cp $(srcdir)/config/pa/lib2funcs.asm .
quadlib.c: $(srcdir)/config/pa/quadlib.c
quadlib.c: $(srcdir)/config/pa/quadlib.c
rm -f quadlib.c
rm -f quadlib.c
...
...
gcc/config/pa/t-pro
View file @
2e1ed1e3
T_ADAFLAGS=-mdisable-indexing
T_ADAFLAGS=-mdisable-indexing
LIB2FUNCS_EXTRA=lib2funcs.asm
# We want fine grained libraries, so use the new code to build the
# We want fine grained libraries, so use the new code to build the
# floating point emulation libraries.
# floating point emulation libraries.
FPBIT = fp-bit.c
FPBIT = fp-bit.c
...
@@ -11,3 +13,7 @@ dp-bit.c: $(srcdir)/config/fp-bit.c
...
@@ -11,3 +13,7 @@ dp-bit.c: $(srcdir)/config/fp-bit.c
fp-bit.c: $(srcdir)/config/fp-bit.c
fp-bit.c: $(srcdir)/config/fp-bit.c
echo '#define FLOAT' > fp-bit.c
echo '#define FLOAT' > fp-bit.c
cat $(srcdir)/config/fp-bit.c >> fp-bit.c
cat $(srcdir)/config/fp-bit.c >> fp-bit.c
lib2funcs.asm: $(srcdir)/config/pa/lib2funcs.asm
rm -f lib2funcs.asm
cp $(srcdir)/config/pa/lib2funcs.asm .
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