Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
P
ppe42-binutils
Project overview
Project overview
Details
Activity
Releases
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Issues
0
Issues
0
List
Boards
Labels
Milestones
Merge Requests
0
Merge Requests
0
Analytics
Analytics
Repository
Value Stream
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Create a new issue
Commits
Issue Boards
Open sidebar
OpenPOWER Firmware
ppe42-binutils
Commits
69f1822f
Commit
69f1822f
authored
Jan 20, 2017
by
Doug Gilbert
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
TEMP fix for SBE to do long jumps on DD1 hardware - will be removed
parent
73faedfe
Changes
1
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
9 additions
and
3 deletions
+9
-3
bfd/elf32-ppc.c
bfd/elf32-ppc.c
+9
-3
No files found.
bfd/elf32-ppc.c
View file @
69f1822f
...
@@ -6628,11 +6628,17 @@ static const int shared_stub_entry[] =
...
@@ -6628,11 +6628,17 @@ static const int shared_stub_entry[] =
0x4e800420
,
/* bctr */
0x4e800420
,
/* bctr */
};
};
// PPE42 does not have r11 or r12 register available for long jumps
// SBE needs long jumps until DD2 hardware is released so this
// temporary fix uses r10. Compiler just restrict use of r10 (-ffixed-r10)
static
const
int
stub_entry
[]
=
static
const
int
stub_entry
[]
=
{
{
0x3d800000
,
/* lis 12,xxx@ha */
0x3d400000
,
/* lis 10,xxx@ha */
0x398c0000
,
/* addi 12,12,xxx@l */
0x394a0000
,
/* add 10,10,xxx@l */
0x7d8903a6
,
/* mtctr 12 */
0x7d4903a6
,
/* mtctr 10 */
//0x3d800000, /* lis 12,xxx@ha */
//0x398c0000, /* addi 12,12,xxx@l */
//0x7d8903a6, /* mtctr 12 */
0x4e800420
,
/* bctr */
0x4e800420
,
/* bctr */
};
};
...
...
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