forked from bminor/binutils-gdb
-
Notifications
You must be signed in to change notification settings - Fork 3
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Expand large offset for bc and balc (#5)
* Expand balc/bc with long offset close to boundaries Perform expand if: 1) the offset in forward branch is >= 0xff0000 2) the offset in backward branch is <= 0xffff This is controled by an option --fix-nmips-hw113064. It is off by default (--no-fix-nmips-hw113064).
- Loading branch information
Showing
6 changed files
with
161 additions
and
1 deletion.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,18 @@ | ||
.linkrelax | ||
.section .text,"ax",@progbits | ||
.align 1 | ||
.globl __start | ||
.ent __start | ||
__start: | ||
balc foo | ||
.end __start | ||
.size __start, .-__start | ||
|
||
.section .foo,"ax",@progbits | ||
.align 1 | ||
.globl foo | ||
.ent foo | ||
foo: | ||
jrc $ra | ||
.end foo | ||
.size foo, .-foo |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters