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.
This commit is contained in:
parent
e066bf5f74
commit
48afb19489
4 changed files with 37 additions and 3 deletions
|
@ -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)
|
||||
{
|
||||
|
|
34
bfd/elf32-dlx.h
Normal file
34
bfd/elf32-dlx.h
Normal file
|
@ -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 */
|
|
@ -24,6 +24,8 @@
|
|||
#include "safe-ctype.h"
|
||||
#include "tc-dlx.h"
|
||||
#include "opcode/dlx.h"
|
||||
#include "elf/dlx.h"
|
||||
#include "bfd/elf32-dlx.h"
|
||||
|
||||
/* Make it easier to clone this machine desc into another one. */
|
||||
#define machine_opcode dlx_opcode
|
||||
|
|
|
@ -32,7 +32,6 @@
|
|||
#define LEX_DOLLAR 1
|
||||
|
||||
extern void dlx_pop_insert (void);
|
||||
extern int set_dlx_skip_hi16_flag (int);
|
||||
extern int dlx_unrecognized_line (int);
|
||||
extern bfd_boolean md_dlx_fix_adjustable (struct fix *);
|
||||
|
||||
|
|
Loading…
Reference in a new issue