The md_pre_output_hook creating fixup is asynchronous, causing relocs
may be out of order in .eh_frame. Define GAS_SORT_RELOCS so that reorder
relocs when write_relocs.
Reported-by: Rui Ueyama <rui314@gmail.com>
(cherry picked from commit
7c93730fe50c22129e751d8479e64bc970b75aac)
Here is the type 0, will fill andi insn later. */
#define NOP_OPCODE (0x00)
+#define GAS_SORT_RELOCS 1
+
#define SUB_SEGMENT_ALIGN(SEG, FRCHAIN) 0
#define HANDLE_ALIGN(fragp) loongarch_handle_align (fragp)