URL
https://opencores.org/ocsvn/open8_urisc/open8_urisc/trunk
Go to most recent revision |
Show entire file |
Details |
Blame |
View Log
Rev 161 |
Rev 166 |
Line 1... |
Line 1... |
/* elfedit.c -- Update the ELF header of an ELF format file
|
/* elfedit.c -- Update the ELF header of an ELF format file
|
Copyright 2010
|
Copyright 2010, 2011, 2012
|
Free Software Foundation, Inc.
|
Free Software Foundation, Inc.
|
|
|
This file is part of GNU Binutils.
|
This file is part of GNU Binutils.
|
|
|
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 17... |
Line 17... |
You should have received a copy of the GNU General Public License
|
You should have received a copy of the GNU General Public License
|
along with this program; if not, write to the Free Software
|
along with this program; if not, write to the Free Software
|
Foundation, Inc., 51 Franklin Street - Fifth Floor, Boston, MA
|
Foundation, Inc., 51 Franklin Street - Fifth Floor, Boston, MA
|
02110-1301, USA. */
|
02110-1301, USA. */
|
|
|
#include "config.h"
|
|
#include "sysdep.h"
|
#include "sysdep.h"
|
#include <assert.h>
|
#include <assert.h>
|
#include <sys/stat.h>
|
|
|
|
#if __GNUC__ >= 2
|
#if __GNUC__ >= 2
|
/* Define BFD64 here, even if our default architecture is 32 bit ELF
|
/* Define BFD64 here, even if our default architecture is 32 bit ELF
|
as this will allow us to read in and parse 64bit and 32bit ELF files.
|
as this will allow us to read in and parse 64bit and 32bit ELF files.
|
Only do this if we believe that the compiler can support a 64 bit
|
Only do this if we believe that the compiler can support a 64 bit
|
© copyright 1999-2024
OpenCores.org, equivalent to Oliscience, all rights reserved. OpenCores®, registered trademark.