~ubuntu-branches/debian/jessie/gdb/jessie

« back to all changes in this revision

Viewing changes to bfd/elf32-frv.c

  • Committer: Bazaar Package Importer
  • Author(s): Daniel Jacobowitz
  • Date: 2010-03-20 01:21:29 UTC
  • mfrom: (1.3.4 upstream)
  • Revision ID: james.westby@ubuntu.com-20100320012129-t7h25y8zgr8c2369
Tags: 7.1-1
* New upstream release, including:
  - PIE support (Closes: #346409).
  - C++ improvements, including static_cast<> et al, namespace imports,
    and bug fixes in printing virtual base classes.
  - Multi-program debugging.  One GDB can now debug multiple programs
    at the same time.
  - Python scripting improvements, including gdb.parse_and_eval.
  - Updated MIPS Linux signal frame layout (Closes: #570875).
  - No internal error stepping over _dl_debug_state (Closes: #569551).
* Update to Standards-Version: 3.8.4 (no changes required).
* Include more relevant (and smaller) docs in the gdbserver package
  (Closes: #571132).
* Do not duplicate documentation in gdb64, gdb-source, and libgdb-dev.
* Fix crash when switching into TUI mode (Closes: #568489).

Show diffs side-by-side

added added

removed removed

Lines of Context:
1
1
/* FRV-specific support for 32-bit ELF.
2
 
   Copyright 2002, 2003, 2004, 2005, 2006, 2007, 2008, 2009
 
2
   Copyright 2002, 2003, 2004, 2005, 2006, 2007, 2008, 2009, 2010
3
3
   Free Software Foundation, Inc.
4
4
 
5
5
   This file is part of BFD, the Binary File Descriptor library.
882
882
 
883
883
/* Get the FRV ELF linker hash table from a link_info structure.  */
884
884
 
885
 
#define frvfdpic_hash_table(info) \
886
 
  ((struct frvfdpic_elf_link_hash_table *) ((info)->hash))
 
885
#define frvfdpic_hash_table(p) \
 
886
  (elf_hash_table_id ((struct elf_link_hash_table *) ((p)->hash)) \
 
887
  == FRV_ELF_DATA ? ((struct frvfdpic_elf_link_hash_table *) ((p)->hash)) : NULL)
887
888
 
888
889
#define frvfdpic_got_section(info) \
889
890
  (frvfdpic_hash_table (info)->sgot)
1006
1007
 
1007
1008
  if (!_bfd_elf_link_hash_table_init (&ret->elf, abfd,
1008
1009
                                      _bfd_elf_link_hash_newfunc,
1009
 
                                      sizeof (struct elf_link_hash_entry)))
 
1010
                                      sizeof (struct elf_link_hash_entry),
 
1011
                                      FRV_ELF_DATA))
1010
1012
    {
1011
1013
      free (ret);
1012
1014
      return NULL;