aboutsummaryrefslogtreecommitdiff
path: root/gas
diff options
context:
space:
mode:
authorliuzhensong <liuzhensong@loongson.cn>2022-08-04 14:49:40 +0800
committerliuzhensong <liuzhensong@loongson.cn>2022-09-20 20:30:51 +0800
commit13d4a5f7b6c37607106cca0833e03075983bcc3b (patch)
tree149ce054531af33b391ee76ef9f78d6d5b52ceb2 /gas
parent1588d98babe46881783a40d70d8b8baa91c156b8 (diff)
downloadgdb-13d4a5f7b6c37607106cca0833e03075983bcc3b.zip
gdb-13d4a5f7b6c37607106cca0833e03075983bcc3b.tar.gz
gdb-13d4a5f7b6c37607106cca0833e03075983bcc3b.tar.bz2
LoongArch: Set macro SUB_SEGMENT_ALIGN to 0.
Diffstat (limited to 'gas')
-rw-r--r--gas/config/tc-loongarch.h2
1 files changed, 2 insertions, 0 deletions
diff --git a/gas/config/tc-loongarch.h b/gas/config/tc-loongarch.h
index f05926d..7d416b0 100644
--- a/gas/config/tc-loongarch.h
+++ b/gas/config/tc-loongarch.h
@@ -73,6 +73,8 @@ extern void tc_loongarch_parse_to_dw2regnum (expressionS *);
Here is the type 0, will fill andi insn later. */
#define NOP_OPCODE (0x00)
+#define SUB_SEGMENT_ALIGN(SEG, FRCHAIN) 0
+
#define HANDLE_ALIGN(fragp) loongarch_handle_align (fragp)
extern void loongarch_handle_align (struct frag *);
#define MAX_MEM_FOR_RS_ALIGN_CODE (3 + 4)