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

Subversion Repositories openrisc_me

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

Show entire file | Details | Blame | View Log

Rev 157 Rev 225
Line 1... Line 1...
/* BFD back-end for Zilog Z80 COFF binaries.
/* BFD back-end for Zilog Z80 COFF binaries.
   Copyright 2005, 2007 Free Software Foundation, Inc.
   Copyright 2005, 2006, 2007, 2008  Free Software Foundation, Inc.
   Contributed by Arnold Metselaar <arnold_m@operamail.com>
   Contributed by Arnold Metselaar <arnold_m@operamail.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 28... Line 28...
#include "libcoff.h"
#include "libcoff.h"
 
 
#define COFF_DEFAULT_SECTION_ALIGNMENT_POWER 0
#define COFF_DEFAULT_SECTION_ALIGNMENT_POWER 0
 
 
static reloc_howto_type r_imm32 =
static reloc_howto_type r_imm32 =
HOWTO (R_IMM32, 0, 1, 32, FALSE, 0,
HOWTO (R_IMM32, 0, 2, 32, FALSE, 0,
       complain_overflow_dont, 0, "r_imm32", TRUE, 0xffffffff, 0xffffffff,
       complain_overflow_dont, 0, "r_imm32", TRUE, 0xffffffff, 0xffffffff,
       FALSE);
       FALSE);
 
 
static reloc_howto_type r_imm24 =
static reloc_howto_type r_imm24 =
HOWTO (R_IMM24, 0, 1, 24, FALSE, 0,
HOWTO (R_IMM24, 0, 1, 24, FALSE, 0,
Line 268... Line 268...
 
 
#define coff_reloc16_extra_cases    extra_case
#define coff_reloc16_extra_cases    extra_case
#define coff_bfd_reloc_type_lookup  coff_z80_reloc_type_lookup
#define coff_bfd_reloc_type_lookup  coff_z80_reloc_type_lookup
#define coff_bfd_reloc_name_lookup coff_z80_reloc_name_lookup
#define coff_bfd_reloc_name_lookup coff_z80_reloc_name_lookup
 
 
 
#ifndef bfd_pe_print_pdata
 
#define bfd_pe_print_pdata      NULL
 
#endif
 
 
#include "coffcode.h"
#include "coffcode.h"
 
 
#undef  coff_bfd_get_relocated_section_contents
#undef  coff_bfd_get_relocated_section_contents
#define coff_bfd_get_relocated_section_contents \
#define coff_bfd_get_relocated_section_contents \
  bfd_coff_reloc16_get_relocated_section_contents
  bfd_coff_reloc16_get_relocated_section_contents

powered by: WebSVN 2.1.0

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