Red Hat Bugzilla – Bug 65800
branch islands created by ld for far-off branches should use brl instruction
Last modified: 2008-05-01 11:38:02 EDT
From Bugzilla Helper:
User-Agent: Mozilla/4.0 (compatible; MSIE 5.01; Windows NT 5.0)
Description of problem:
When creating branch islands for branches whose targets are far off, GNU ld
currently sets up the target address in a branch register and does a branch to
the target address in this branch register. It will be more efficient to use
brl instruction instead.
Version-Release number of selected component (if applicable):
Steps to Reproduce:
The use of BRL in binutils/bfd/elfxx-ia64.c is turned off with
undef USE_BRL .
The current development binutils/bfd sources were recently modified to
use BRL instructions.