m68kaux.h 1.2 KB

123456789101112131415161718192021222324252627282930313233343536
  1. /* Copyright (C) 2007-2015 Free Software Foundation, Inc.
  2. This file is part of BFD, the Binary File Descriptor library.
  3. This program is free software; you can redistribute it and/or modify
  4. it under the terms of the GNU General Public License as published by
  5. the Free Software Foundation; either version 3 of the License, or
  6. (at your option) any later version.
  7. This program is distributed in the hope that it will be useful,
  8. but WITHOUT ANY WARRANTY; without even the implied warranty of
  9. MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
  10. GNU General Public License for more details.
  11. You should have received a copy of the GNU General Public License
  12. along with this program; if not, write to the Free Software
  13. Foundation, Inc., 51 Franklin Street - Fifth Floor, Boston,
  14. MA 02110-1301, USA. */
  15. /* Definitions for an Apple Macintosh running A/UX 3.x. */
  16. #include <sys/param.h>
  17. #include <sys/page.h>
  18. /* Definitions used by trad-core.c. */
  19. #define NBPG NBPP
  20. #define HOST_DATA_START_ADDR u.u_exdata.ux_datorg
  21. #define HOST_TEXT_START_ADDR u.u_exdata.ux_txtorg
  22. #define HOST_STACK_END_ADDR 0x100000000
  23. #define UPAGES USIZE
  24. #define TRAD_UNIX_CORE_FILE_FAILING_SIGNAL(abfd) \
  25. (abfd->tdata.trad_core_data->u.u_arg[0])