diff options
author | Jakub Jelinek <jakub@redhat.com> | 2004-05-05 13:06:18 +0000 |
---|---|---|
committer | Jakub Jelinek <jakub@redhat.com> | 2004-05-05 13:06:18 +0000 |
commit | 6f079ae3d93abaaf8db9cfda081e506f16e89e15 (patch) | |
tree | 6256418022ac640e4da2eee0f2c4b632f6448c19 /gas/config/tc-s390.h | |
parent | 32b99774f760000a23e301739edbc3d88086a008 (diff) | |
download | gdb-6f079ae3d93abaaf8db9cfda081e506f16e89e15.zip gdb-6f079ae3d93abaaf8db9cfda081e506f16e89e15.tar.gz gdb-6f079ae3d93abaaf8db9cfda081e506f16e89e15.tar.bz2 |
* tc-s390.h (md_do_align, HANDLE_ALIGN): Remove.
(NOP_OPCODE): Define.
(s390_align_code): Remove prototype.
* tc-s390.c (s390_align_code): Remove.
Diffstat (limited to 'gas/config/tc-s390.h')
-rw-r--r-- | gas/config/tc-s390.h | 20 |
1 files changed, 2 insertions, 18 deletions
diff --git a/gas/config/tc-s390.h b/gas/config/tc-s390.h index a416927..fe55e15 100644 --- a/gas/config/tc-s390.h +++ b/gas/config/tc-s390.h @@ -1,5 +1,5 @@ /* tc-s390.h -- Header file for tc-s390.c. - Copyright 2000, 2001, 2002 Free Software Foundation, Inc. + Copyright 2000, 2001, 2002, 2004 Free Software Foundation, Inc. Written by Martin Schwidefsky (schwidefsky@de.ibm.com). This file is part of GAS, the GNU Assembler. @@ -76,23 +76,7 @@ extern int target_big_endian; #define md_number_to_chars number_to_chars_bigendian -#define md_do_align(n, fill, len, max, around) \ -if ((n) && !need_pass_2 && (fill == 0) && \ - (bfd_get_section_flags (stdoutput, now_seg) & SEC_CODE) != 0) { \ - char *p; \ - p = frag_var (rs_align_code, 15, 1, (relax_substateT) max, \ - (symbolS *) 0, (offsetT) (n), (char *) 0); \ - *p = 0x07; \ - goto around; \ -} - -extern void s390_align_code PARAMS ((fragS *, int)); - -#define HANDLE_ALIGN(fragP) \ -if (fragP->fr_type == rs_align_code) \ - s390_align_code (fragP, (fragP->fr_next->fr_address \ - - fragP->fr_address \ - - fragP->fr_fix)); +#define NOP_OPCODE 0x07 /* call md_pcrel_from_section, not md_pcrel_from */ #define MD_PCREL_FROM_SECTION(FIX, SEC) md_pcrel_from_section(FIX, SEC) |