mirror of
https://github.com/espressif/binutils-gdb.git
synced 2025-06-18 16:53:50 +08:00
* paread.c: Include <time.h> before libbfd.h.
* paread.c: Define BYTES_IN_WORD before including aout/aout64.h.
This commit is contained in:
@ -1,5 +1,9 @@
|
|||||||
Tue Sep 14 09:12:17 1993 Jim Kingdon (kingdon@cirdan.cygnus.com)
|
Tue Sep 14 09:12:17 1993 Jim Kingdon (kingdon@cirdan.cygnus.com)
|
||||||
|
|
||||||
|
* paread.c: Include <time.h> before libbfd.h.
|
||||||
|
|
||||||
|
* paread.c: Define BYTES_IN_WORD before including aout/aout64.h.
|
||||||
|
|
||||||
* Makefile.in (a29k-tdep.o): Depend on $(defs_h).
|
* Makefile.in (a29k-tdep.o): Depend on $(defs_h).
|
||||||
* config/a29k/tm-a29k.h (SAVED_PC_AFTER_CALL): Use gr122 not lr0
|
* config/a29k/tm-a29k.h (SAVED_PC_AFTER_CALL): Use gr122 not lr0
|
||||||
if this is a transparent procedure.
|
if this is a transparent procedure.
|
||||||
|
@ -20,6 +20,7 @@ Foundation, Inc., 675 Mass Ave, Cambridge, MA 02139, USA. */
|
|||||||
|
|
||||||
#include "defs.h"
|
#include "defs.h"
|
||||||
#include "bfd.h"
|
#include "bfd.h"
|
||||||
|
#include <time.h> /* For time_t in libbfd.h. */
|
||||||
#include "libbfd.h"
|
#include "libbfd.h"
|
||||||
#include "som.h"
|
#include "som.h"
|
||||||
#include <syms.h>
|
#include <syms.h>
|
||||||
@ -33,6 +34,10 @@ Foundation, Inc., 675 Mass Ave, Cambridge, MA 02139, USA. */
|
|||||||
#include <string.h>
|
#include <string.h>
|
||||||
#include "demangle.h"
|
#include "demangle.h"
|
||||||
#include <sys/file.h>
|
#include <sys/file.h>
|
||||||
|
|
||||||
|
/* Size of n_value and n_strx fields in a stab symbol. */
|
||||||
|
#define BYTES_IN_WORD 4
|
||||||
|
|
||||||
#include "aout/aout64.h"
|
#include "aout/aout64.h"
|
||||||
|
|
||||||
/* Various things we might complain about... */
|
/* Various things we might complain about... */
|
||||||
@ -417,6 +422,9 @@ pa_symfile_init (objfile)
|
|||||||
if (!DBX_TEXT_SECT (objfile))
|
if (!DBX_TEXT_SECT (objfile))
|
||||||
error ("Can't find .text section in symbol file");
|
error ("Can't find .text section in symbol file");
|
||||||
|
|
||||||
|
/* FIXME: I suspect this should be external_nlist. The size of host
|
||||||
|
types like long and bfd_vma should not affect how we read the
|
||||||
|
file. */
|
||||||
DBX_SYMBOL_SIZE (objfile) = sizeof (struct internal_nlist);
|
DBX_SYMBOL_SIZE (objfile) = sizeof (struct internal_nlist);
|
||||||
DBX_SYMCOUNT (objfile) = bfd_section_size (sym_bfd, stabsect)
|
DBX_SYMCOUNT (objfile) = bfd_section_size (sym_bfd, stabsect)
|
||||||
/ DBX_SYMBOL_SIZE (objfile);
|
/ DBX_SYMBOL_SIZE (objfile);
|
||||||
|
Reference in New Issue
Block a user