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
22d46b2e
Commit
22d46b2e
authored
Dec 28, 1994
by
Jeff Law
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Initial revision
From-SVN: r8700
parent
a67f7692
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
46 additions
and
0 deletions
+46
-0
gcc/config/pa/lib2funcs.asm
+46
-0
No files found.
gcc/config/pa/lib2funcs.asm
0 → 100644
View file @
22d46b2e
; Subroutines for calling unbound dynamic functions from within GDB for HPPA.
; Copyright (C) 1994 Free Software Foundation, Inc.
; This file is part of GNU CC.
; GNU CC is free software; you can redistribute it and/or modify
; it under the terms of the GNU General Public License as published by
; the Free Software Foundation; either version 2, or (at your option)
; any later version.
; GNU CC is distributed in the hope that it will be useful,
; but WITHOUT ANY WARRANTY; without even the implied warranty of
; MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
; GNU General Public License for more details.
; You should have received a copy of the GNU General Public License
; along with GNU CC; see the file COPYING. If not, write to
; the Free Software Foundation, 675 Mass Ave, Cambridge, MA 02139, USA.
.
SPACE
$
PRIVATE
$
.
SUBSPA
$
DATA
$
,
QUAD
=
1
,
ALIGN
=
8
,
ACCESS
=
31
.
SUBSPA
$
BSS
$
,
QUAD
=
1
,
ALIGN
=
8
,
ACCESS
=
31
,
ZERO
,
SORT
=
82
.
SPACE
$
TEXT
$
.
SUBSPA
$
LIT
$
,
QUAD
=
0
,
ALIGN
=
8
,
ACCESS
=
44
.
SUBSPA
$
CODE
$
,
QUAD
=
0
,
ALIGN
=
8
,
ACCESS
=
44
,
CODE_ONLY
.
IMPORT
$$
dyncall
,
MILLICODE
; gcc_compiled.:
.
SPACE
$
TEXT
$
.
SUBSPA
$
CODE
$
; Simply call with the address of the desired import stub in %r22 and
; arguments in the normal place (%r26-%r23 and stack slots).
;
.
align
4
.
EXPORT
__gcc_plt_call
,
ENTRY
,
PRIV_LEV
=
3
,
RTNVAL
=
GR
__gcc_plt_call
.
PROC
.
CALLINFO
FRAME
=
64
,
CALLS
,
SAVE_RP
.
ENTRY
stw
%
r2
,
-
8
(
0
,
%
r30
)
bl
$$
dyncall
,
%
r31
copy
%
r31
,
%
r2
ldw
-
8
(
0
,
%
r30
),
%
r2
bv
,
n
0
(
%
r2
)
.
EXIT
.
PROCEND
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