Bug in ia64 trampoline
H. J. Lu
hjl@lucon.org
Tue Mar 4 06:30:00 GMT 2003
More information about the Binutils mailing list
Tue Mar 4 06:30:00 GMT 2003
- Previous message (by thread): profiling API?
- Next message (by thread): [PATCH] Fix bug in ia64 trampoline
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]
While looking at elfNN_ia64_relax_section, I don't see how it can reuse the trampoline without checking r_addend. The relaxation code creates a trampoline and reuse the old relocation by modifying r_info and r_offset irel->r_info = ELFNN_R_INFO (ELFNN_R_SYM (irel->r_info), R_IA64_PCREL60B); irel->r_offset = trampoff + 2; A relocation will be applied at the trampoline with r_addend. When it cherks a trampoline can be reuse, it doesn't check r_addend at all. Did I miss something? H.J.
- Previous message (by thread): profiling API?
- Next message (by thread): [PATCH] Fix bug in ia64 trampoline
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]
More information about the Binutils mailing list