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
6070e8e5
Commit
6070e8e5
authored
Feb 21, 2006
by
Geoffrey Keating
Committed by
Geoffrey Keating
Feb 21, 2006
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
* config/i386/darwin.h (DWARF2_FRAME_REG_OUT): New.
From-SVN: r111344
parent
b9bd11ca
Hide whitespace changes
Inline
Side-by-side
Showing
4 changed files
with
47 additions
and
5 deletions
+47
-5
gcc/ChangeLog
+4
-0
gcc/config/i386/darwin.h
+13
-5
gcc/testsuite/ChangeLog
+4
-0
gcc/testsuite/g++.dg/eh/spbp.C
+26
-0
No files found.
gcc/ChangeLog
View file @
6070e8e5
2006-02-21 Geoffrey Keating <geoffk@apple.com>
* config/i386/darwin.h (DWARF2_FRAME_REG_OUT): New.
2006-02-21 Alexandre Oliva <aoliva@redhat.com>
* config/i386/sse.md (vec_extractv2df_1_sse): New.
...
...
gcc/config/i386/darwin.h
View file @
6070e8e5
...
...
@@ -157,8 +157,16 @@ extern void darwin_x86_file_end (void);
register numbers for STABS. Fortunately for 64-bit code the
default and the standard are the same. */
#undef DBX_REGISTER_NUMBER
#define DBX_REGISTER_NUMBER(n) (TARGET_64BIT \
? dbx64_register_map[n] \
: write_symbols == DWARF2_DEBUG \
? svr4_dbx_register_map[n] \
: dbx_register_map[n])
#define DBX_REGISTER_NUMBER(n) \
(TARGET_64BIT ? dbx64_register_map[n] \
: write_symbols == DWARF2_DEBUG ? svr4_dbx_register_map[n] \
: dbx_register_map[n])
/* Unfortunately, the 32-bit EH information also doesn't use the standard
DWARF register numbers. */
#define DWARF2_FRAME_REG_OUT(n, for_eh) \
(! (for_eh) || write_symbols != DWARF2_DEBUG || TARGET_64BIT ? (n) \
: (n) == 5 ? 4 \
: (n) == 4 ? 5 \
: (n) >= 11 && (n) <= 18 ? (n) + 1 \
: (n))
gcc/testsuite/ChangeLog
View file @
6070e8e5
2006
-
02
-
21
Geoffrey
Keating
<
geoffk
@apple
.
com
>
*
g
++
.
dg
/
eh
/
spbp
.
C
:
New
.
2006
-
02
-
21
Jakub
Jelinek
<
jakub
@redhat
.
com
>
PR
middle
-
end
/
26379
gcc/testsuite/g++.dg/eh/spbp.C
0 → 100644
View file @
6070e8e5
/* { dg-do run } */
/* { dg-options "-gdwarf-2" } */
/* This was a bug on x86-darwin, where the register numbering for SP
and BP was swapped (it's easy to do because on that port it's
different for eh_frame and debug_frame). */
#include <stdlib.h>
void
f1
(
int
t
)
{
char
u
[
t
];
throw
1
;
}
int
main
()
{
bool
b
=
true
;
try
{
f1
(
100
);
}
catch
(
int
x
)
{
if
(
b
)
exit
(
0
);
}
abort
();
}
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