aboutsummaryrefslogtreecommitdiff
path: root/gprof
diff options
context:
space:
mode:
authorAlan Modra <amodra@gmail.com>2014-12-04 21:10:40 +1030
committerAlan Modra <amodra@gmail.com>2014-12-04 21:17:54 +1030
commitcbcb23fa01027a7fe1be938d58ef8e7a60b5fb7e (patch)
tree38d9034618f627b69f3305d7fb740e7fd8eb5306 /gprof
parentba715d7fe49c8a59660fbd571b935b29eb7cfbdb (diff)
downloadgdb-cbcb23fa01027a7fe1be938d58ef8e7a60b5fb7e.zip
gdb-cbcb23fa01027a7fe1be938d58ef8e7a60b5fb7e.tar.gz
gdb-cbcb23fa01027a7fe1be938d58ef8e7a60b5fb7e.tar.bz2
PowerPC gold, fix 32-bit branch address arithmetic
Mixing 64-bit and 32-bit types led to the wrong promotions. Keep calculation in same type. Also fix a case where PLTREL25 reloc addend should be ignored. * Powerpc.cc (Target_powerpc::Branch_info::make_stub): Ignore addend of PLTREL24 reloc when not generating a plt stub. Make max_branch_offset an "Address". (Stub_table::can_read_stub): Make max_branch_offset an "Address". (Target_powerpc::Relocate::relocate): Likewise.
Diffstat (limited to 'gprof')
0 files changed, 0 insertions, 0 deletions