summaryrefslogtreecommitdiff
path: root/bfd/hosts/x86-64linux.h
Commit message (Collapse)AuthorAgeFilesLines
* Add Linux/x86_64 core support to i[3-7]86-*-linuxH.J. Lu2012-10-301-33/+76
| | | | | | | | | | | | | | | | | | | | | | | | | * configure.in: Set CORE_HEADER to hosts/x86-64linux.h for 'i[3-7]86-*-linux-*' if x86_64-*linux is enabled. * configure: Regenerated. * elf64-x86-64.c (elf_x86_64_write_core_note): Replace type 'prpsinfo_t' and 'prstatus_t' with 'prpsinfo64_t' and 'prstatus64_t' respectively. * hosts/x86-64linux.h (a8_uint64_t): New. (user_regsx32_struct): Renamed to ... (user_regs64_struct): This. Replace uint64_t with a8_uint64_t. (elf_gregx32_t): Renamed to ... (elf_greg64_t): This. Replace uint64_t with a8_uint64_t. (ELF_NGREGX32): Removed. (ELF_NGREG64): New. (elf_gregx32_t): Removed. (elf_greg64_t): New. (struct prstatus64_timeval): New. (elf_prstatusx32): Replace elf_gregsetx32_t with elf_gregset64_t. (elf_prstatus64): New. (elf_prpsinfo64): New. (prstatus64_t, prpsinfo64_t): New typedef.
* Suport x32 gcore.H.J. Lu2011-06-161-59/+51
| | | | | | | | | | | | | | | | | | | | | | | | 2011-06-16 H.J. Lu <hongjiu.lu@intel.com> * elf64-x86-64.c: Include <stdarg.h> and CORE_HEADER if CORE_HEADER is defined. (elf_x86_64_write_core_note): New. (elf_backend_write_core_note): Likewise. * hosts/x86-64linux.h (uint64_t): New. (user_regsx32_struct): Likewise. (elf_gregx32_t): Likewise. (ELF_NGREGX32): Likewise. (elf_gregsetx32_t): Likewise. (elf_prstatusx32): Likewise. (prstatusx32_t): Likewise. (user_fpregs32_struct): Removed. (user_fpxregs32_struct): Likewise. (user32): Likewise. (elf_fpregset32_t): Likewise. (elf_fpxregset32_t): Likewise. (prgregset32_t): Likewise. (prfpregset32_t): Likewise.
* bfd/Jan Kratochvil2011-05-121-0/+2
| | | | | | | | | | | | * config.in: Regenerated. * configure: Regenerated. * configure.in: New tests for HAVE_PRPSINFO_T_PR_PID, HAVE_PRPSINFO32_T_PR_PID, HAVE_PSINFO_T_PR_PID and HAVE_PSINFO32_T_PR_PID. * elf.c (elfcore_grok_psinfo): Protect reading psinfo.pr_pid by HAVE_PRPSINFO_T_PR_PID, HAVE_PRPSINFO32_T_PR_PID, HAVE_PSINFO_T_PR_PID and HAVE_PSINFO32_T_PR_PID. * hosts/x86-64linux.h (HAVE_PRPSINFO32_T_PR_PID): New redefinition.
* Replace __pid_t with pid_t.H.J. Lu2011-04-091-5/+6
| | | | | | | | 2011-04-09 H.J. Lu <hongjiu.lu@intel.com> PR binutils/12657 * hosts/x86-64linux.h (elf_prstatus32): Replace __pid_t with pid_t.
* Undefine HAVE_PRPSINFO32_T/HAVE_PRSTATUS32_T before define.H.J. Lu2010-04-101-0/+3
| | | | | | | | 2010-04-10 H.J. Lu <hongjiu.lu@intel.com> * hosts/x86-64linux.h (HAVE_PRPSINFO32_T): Undefine before define. (HAVE_PRSTATUS32_T): Likewise.
* Support 32bit core note sections on Linux/x86-64.H.J. Lu2010-04-101-0/+192
2010-04-10 H.J. Lu <hongjiu.lu@intel.com> PR corefiles/11467 * configure.in (CORE_HEADER): New. Set to hosts/x86-64linux.h for x86_64-*-linux*. * config.in: Regenerated. * configure: Likewise. * elf.c: Include CORE_HEADER if it is defined. 2010-04-10 H.J. Lu <hongjiu.lu@intel.com> Jan Kratochvil <jan.kratochvil@redhat.com> * hosts/x86-64linux.h: New.