The attached patch has been checked in to binutils by Jim Wilson. It fixes a problem with the ia64 vDSO so that gdb can backtrace from system calls. I need this to check in an ia64/libunwind patch that fixes backtracing through syscalls. I didn't know if one could just check in upstream bfd patches without approval so I will ask. May I commit this? Without the patch, the bfd_from_remote_memory call sets a bogus address for loadbase and symbol_file_add_from_memory fails. See http://sourceware.org/ml/binutils/2005-05/msg00725.html for the patch and references to the discussion 2005-05-31 James E Wilson * elfcode.h (NAME(bfd_elf,bfd_from_remote_memory)): Check for program header PF_R flag on PT_LOAD segments.