* config/tc-s390.c (s390_force_relocation): Removed.

* config/tc-s390.h: Remove double declaration of
	TC_FORCE_RELOCATION.
This commit is contained in:
Andreas Jaeger 2001-07-23 10:21:22 +00:00
parent e14ec88b39
commit c745b67a33
3 changed files with 9 additions and 17 deletions

View File

@ -1,3 +1,10 @@
2001-07-23 Andreas Jaeger <aj@suse.de>
* config/tc-s390.c (s390_force_relocation): Removed.
* config/tc-s390.h: Remove double declaration of
TC_FORCE_RELOCATION.
2001-07-22 H.J. Lu <hjl@gnu.org>
* config/tc-mips.c (s_mips_end): Remove unused variables.

View File

@ -1895,15 +1895,3 @@ tc_gen_reloc (seg, fixp)
return reloc;
}
int
s390_force_relocation (fixp)
struct fix * fixp;
{
if ( fixp->fx_r_type == BFD_RELOC_VTABLE_INHERIT
|| fixp->fx_r_type == BFD_RELOC_VTABLE_ENTRY)
return 1;
return 0;
}

View File

@ -73,7 +73,7 @@ extern int target_big_endian;
/* We need to be able to make relocations involving the difference of
two symbols. This includes the difference of two symbols when
one of them is undefined (this comes up in PIC code generation).
one of them is undefined (this comes up in PIC code generation).
*/
#define UNDEFINED_DIFFERENCE_OK
@ -101,7 +101,7 @@ if ((n) && !need_pass_2 && (fill == 0) && \
extern void s390_align_code PARAMS ((fragS *, int));
#define HANDLE_ALIGN(fragP) \
if (fragP->fr_type == rs_align_code) \
if (fragP->fr_type == rs_align_code) \
s390_align_code (fragP, (fragP->fr_next->fr_address \
- fragP->fr_address \
- fragP->fr_fix));
@ -117,6 +117,3 @@ extern long md_pcrel_from_section PARAMS ((struct fix *, segT));
extern void s390_md_end PARAMS ((void));
#define md_end() s390_md_end ()
# define TC_FORCE_RELOCATION(fixp) s390_force_relocation (fixp)
extern int s390_force_relocation PARAMS ((struct fix *));