URL
https://opencores.org/ocsvn/openrisc_2011-10-31/openrisc_2011-10-31/trunk
Show entire file |
Details |
Blame |
View Log
Rev 157 |
Rev 225 |
Line 1... |
Line 1... |
/* BFD back-end for AMD 64 COFF files.
|
/* BFD back-end for AMD 64 COFF files.
|
Copyright 2006, 2007 Free Software Foundation, Inc.
|
Copyright 2006, 2007, 2008, 2009 Free Software Foundation, Inc.
|
|
|
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
|
it under the terms of the GNU General Public License as published by
|
it under the terms of the GNU General Public License as published by
|
Line 22... |
Line 22... |
|
|
#ifndef COFF_WITH_pex64
|
#ifndef COFF_WITH_pex64
|
#define COFF_WITH_pex64
|
#define COFF_WITH_pex64
|
#endif
|
#endif
|
|
|
|
/* Note we have to make sure not to include headers twice.
|
|
Not all headers are wrapped in #ifdef guards, so we define
|
|
PEI_HEADERS to prevent double including here. */
|
|
#ifndef PEI_HEADERS
|
#include "sysdep.h"
|
#include "sysdep.h"
|
#include "bfd.h"
|
#include "bfd.h"
|
#include "libbfd.h"
|
#include "libbfd.h"
|
#include "coff/x86_64.h"
|
#include "coff/x86_64.h"
|
#include "coff/internal.h"
|
#include "coff/internal.h"
|
#include "coff/pe.h"
|
#include "coff/pe.h"
|
#include "libcoff.h"
|
#include "libcoff.h"
|
#include "libiberty.h"
|
#include "libiberty.h"
|
|
#endif
|
|
|
#define BADMAG(x) AMD64BADMAG(x)
|
#define BADMAG(x) AMD64BADMAG(x)
|
|
|
#ifdef COFF_WITH_pex64
|
#ifdef COFF_WITH_pex64
|
# undef AOUTSZ
|
# undef AOUTSZ
|
Line 709... |
Line 714... |
|
|
#define coff_bfd_is_local_label_name coff_amd64_is_local_label_name
|
#define coff_bfd_is_local_label_name coff_amd64_is_local_label_name
|
|
|
#endif /* TARGET_UNDERSCORE */
|
#endif /* TARGET_UNDERSCORE */
|
|
|
|
#ifndef bfd_pe_print_pdata
|
|
#define bfd_pe_print_pdata NULL
|
|
#endif
|
|
|
#include "coffcode.h"
|
#include "coffcode.h"
|
|
|
#ifdef PE
|
#ifdef PE
|
#define amd64coff_object_p pe_bfd_object_p
|
#define amd64coff_object_p pe_bfd_object_p
|
#else
|
#else
|
© copyright 1999-2024
OpenCores.org, equivalent to Oliscience, all rights reserved. OpenCores®, registered trademark.