diff options
author | obrien <obrien@FreeBSD.org> | 2001-06-26 16:57:43 +0000 |
---|---|---|
committer | obrien <obrien@FreeBSD.org> | 2001-06-26 16:57:43 +0000 |
commit | bc13a0c5958e501561da1e6b4a3ca1fadda52059 (patch) | |
tree | 8f1caef823fb6443d77eaf8250cbaa506e3bdf46 /contrib/binutils/gas/config/tc-arm.h | |
parent | 328e45595b12375b6d16a846069507d25086abdb (diff) | |
download | FreeBSD-src-bc13a0c5958e501561da1e6b4a3ca1fadda52059.zip FreeBSD-src-bc13a0c5958e501561da1e6b4a3ca1fadda52059.tar.gz |
Import of GNU Binutils version 2.11.2.
Diffstat (limited to 'contrib/binutils/gas/config/tc-arm.h')
-rw-r--r-- | contrib/binutils/gas/config/tc-arm.h | 22 |
1 files changed, 21 insertions, 1 deletions
diff --git a/contrib/binutils/gas/config/tc-arm.h b/contrib/binutils/gas/config/tc-arm.h index 0a823dd..8de5704 100644 --- a/contrib/binutils/gas/config/tc-arm.h +++ b/contrib/binutils/gas/config/tc-arm.h @@ -1,5 +1,5 @@ /* This file is tc-arm.h - Copyright (C) 1994, 1995, 1996, 1997, 1998, 1999, 2000 + Copyright 1994, 1995, 1996, 1997, 1998, 1999, 2000, 2001 Free Software Foundation, Inc. Contributed by Richard Earnshaw (rwe@pegasus.esprit.ec.org) Modified by David Taylor (dtaylor@armltd.co.uk) @@ -214,3 +214,23 @@ void armelf_frob_symbol PARAMS ((symbolS *, int *)); #ifdef OBJ_ELF #define DWARF2_LINE_MIN_INSN_LENGTH 2 #endif + +#define MAX_MEM_FOR_RS_ALIGN_CODE 31 + +/* For frags in code sections we need to record whether they contain + ARM code or THUMB code. This is that if they have to be aligned, + they can contain the correct type of no-op instruction. */ +#define TC_FRAG_TYPE int +#define TC_FRAG_INIT(fragp) arm_init_frag (fragp) +extern void arm_init_frag PARAMS ((struct frag *)); + +#define HANDLE_ALIGN(fragp) arm_handle_align (fragp) +extern void arm_handle_align PARAMS ((struct frag *)); + +#define md_do_align(N, FILL, LEN, MAX, LABEL) \ + if (FILL == NULL && (N) != 0 && ! need_pass_2 && subseg_text_p (now_seg)) \ + { \ + arm_frag_align_code (N, MAX); \ + goto LABEL; \ + } +extern void arm_frag_align_code PARAMS ((int, int)); |