diff options
author | Trevor Saunders <tbsaunde+binutils@tbsaunde.org> | 2016-06-03 21:43:06 -0400 |
---|---|---|
committer | Trevor Saunders <tbsaunde+binutils@tbsaunde.org> | 2016-06-27 05:57:32 -0400 |
commit | 48afb19489cf39cb7f48e24fe7c567a9cd438b95 (patch) | |
tree | 41f0f295d081e14d9b1716e49d76edea746077ca /bfd | |
parent | e066bf5f74fd776657accf02dececb7df120412f (diff) | |
download | gdb-48afb19489cf39cb7f48e24fe7c567a9cd438b95.zip gdb-48afb19489cf39cb7f48e24fe7c567a9cd438b95.tar.gz gdb-48afb19489cf39cb7f48e24fe7c567a9cd438b95.tar.bz2 |
dlx: move prototype of dlx_set_skip_hi16 to elf/dlx.h
bfd/ChangeLog:
2016-06-27 Trevor Saunders <tbsaunde+binutils@tbsaunde.org>
* elf32-dlx.h: New file.
* elf32-dlx.c: Adjust.
gas/ChangeLog:
2016-06-27 Trevor Saunders <tbsaunde+binutils@tbsaunde.org>
* config/tc-dlx.c: Include bfd/elf32-dlx.h.
* config/tc-dlx.h: Remove prototype of dlx_set_skip_hi16.
Diffstat (limited to 'bfd')
-rw-r--r-- | bfd/elf32-dlx.c | 3 | ||||
-rw-r--r-- | bfd/elf32-dlx.h | 34 |
2 files changed, 35 insertions, 2 deletions
diff --git a/bfd/elf32-dlx.c b/bfd/elf32-dlx.c index b5c7d6e..0dcb706 100644 --- a/bfd/elf32-dlx.c +++ b/bfd/elf32-dlx.c @@ -23,6 +23,7 @@ #include "libbfd.h" #include "elf-bfd.h" #include "elf/dlx.h" +#include "elf32-dlx.h" #define USE_REL 1 @@ -40,8 +41,6 @@ static int skip_dlx_elf_hi16_reloc = 0; -extern int set_dlx_skip_hi16_flag (int); - int set_dlx_skip_hi16_flag (int flag) { diff --git a/bfd/elf32-dlx.h b/bfd/elf32-dlx.h new file mode 100644 index 0000000..f2cdd12 --- /dev/null +++ b/bfd/elf32-dlx.h @@ -0,0 +1,34 @@ +/* DLX specific support for 32-bit ELF + Copyright (C) 2002-2016 Free Software Foundation, Inc. + + This file is part of BFD, the Binary File Descriptor library. + + 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 + the Free Software Foundation; either version 3 of the License, or + (at your option) any later version. + + This program is distributed in the hope that it will be useful, + but WITHOUT ANY WARRANTY; without even the implied warranty of + MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the + GNU General Public License for more details. + + You should have received a copy of the GNU General Public License + along with this program; if not, write to the Free Software + Foundation, Inc., 51 Franklin Street - Fifth Floor, Boston, + MA 02110-1301, USA. */ + +#ifndef _ELF32_DLX_H +#define _ELF32_DLX_H + +#ifdef __cplusplus +extern "C" { +#endif + +extern int set_dlx_skip_hi16_flag (int); + +#ifdef __cplusplus + } +#endif + +#endif /* _ELF32_DLX_H */ |