OpenCores
URL https://opencores.org/ocsvn/openrisc_me/openrisc_me/trunk

Subversion Repositories openrisc_me

[/] [openrisc/] [trunk/] [gnu-src/] [gdb-6.8/] [bfd/] [oasys.c] - Diff between revs 157 and 225

Go to most recent revision | Show entire file | Details | Blame | View Log

Rev 157 Rev 225
Line 1... Line 1...
/* BFD back-end for oasys objects.
/* BFD back-end for oasys objects.
   Copyright 1990, 1991, 1992, 1993, 1994, 1995, 1996, 1998, 1999, 2001,
   Copyright 1990, 1991, 1992, 1993, 1994, 1995, 1996, 1998, 1999, 2001,
   2002, 2003, 2004, 2005, 2006, 2007 Free Software Foundation, Inc.
   2002, 2003, 2004, 2005, 2006, 2007, 2009 Free Software Foundation, Inc.
   Written by Steve Chamberlain of Cygnus Support, <sac@cygnus.com>.
   Written by Steve Chamberlain of Cygnus Support, <sac@cygnus.com>.
 
 
   This file is part of BFD, the Binary File Descriptor library.
   This file is part of BFD, the Binary File Descriptor library.
 
 
   This program is free software; you can redistribute it and/or modify
   This program is free software; you can redistribute it and/or modify
Line 1082... Line 1082...
 
 
static asymbol *
static asymbol *
oasys_make_empty_symbol (bfd *abfd)
oasys_make_empty_symbol (bfd *abfd)
{
{
  bfd_size_type amt = sizeof (oasys_symbol_type);
  bfd_size_type amt = sizeof (oasys_symbol_type);
  oasys_symbol_type *new = bfd_zalloc (abfd, amt);
  oasys_symbol_type *new_symbol_type = bfd_zalloc (abfd, amt);
 
 
  if (!new)
  if (!new_symbol_type)
    return NULL;
    return NULL;
  new->symbol.the_bfd = abfd;
  new_symbol_type->symbol.the_bfd = abfd;
  return &new->symbol;
  return &new_symbol_type->symbol;
}
}
 
 
/* User should have checked the file flags; perhaps we should return
/* User should have checked the file flags; perhaps we should return
   BFD_NO_MORE_SYMBOLS if there are none?  */
   BFD_NO_MORE_SYMBOLS if there are none?  */
 
 
Line 1196... Line 1196...
#define oasys_bfd_gc_sections                      bfd_generic_gc_sections
#define oasys_bfd_gc_sections                      bfd_generic_gc_sections
#define oasys_bfd_merge_sections                   bfd_generic_merge_sections
#define oasys_bfd_merge_sections                   bfd_generic_merge_sections
#define oasys_bfd_is_group_section                 bfd_generic_is_group_section
#define oasys_bfd_is_group_section                 bfd_generic_is_group_section
#define oasys_bfd_discard_group                    bfd_generic_discard_group
#define oasys_bfd_discard_group                    bfd_generic_discard_group
#define oasys_section_already_linked               _bfd_generic_section_already_linked
#define oasys_section_already_linked               _bfd_generic_section_already_linked
 
#define oasys_bfd_define_common_symbol             bfd_generic_define_common_symbol
#define oasys_bfd_link_hash_table_create           _bfd_generic_link_hash_table_create
#define oasys_bfd_link_hash_table_create           _bfd_generic_link_hash_table_create
#define oasys_bfd_link_hash_table_free             _bfd_generic_link_hash_table_free
#define oasys_bfd_link_hash_table_free             _bfd_generic_link_hash_table_free
#define oasys_bfd_link_add_symbols                 _bfd_generic_link_add_symbols
#define oasys_bfd_link_add_symbols                 _bfd_generic_link_add_symbols
#define oasys_bfd_link_just_syms                   _bfd_generic_link_just_syms
#define oasys_bfd_link_just_syms                   _bfd_generic_link_just_syms
#define oasys_bfd_final_link                       _bfd_generic_final_link
#define oasys_bfd_final_link                       _bfd_generic_final_link

powered by: WebSVN 2.1.0

© copyright 1999-2024 OpenCores.org, equivalent to Oliscience, all rights reserved. OpenCores®, registered trademark.