Debian Codegraph @

gas/NEWS

raw
1 -*- text -*-
2
3 Changes in 2.44:
4
5 * Add support for the x86 Intel Diamond Rapids AMX instructions, including
6 AMX-AVX512, AMX-FP8, AMX-MOVRS, AMX-TF32 and AMX-TRANSPOSE.
7
8 * Add support for the x86 Intel MOVRS instructions.
9
10 * Add support for the x86 Zhaoxin PadLock PHE2 and RNG2 instructions.
11
12 * Add support for AArch64 SME and SVE non-widening BFloat16 (SVE_B16B16 and
13 SME_B16B16) instructions.
14
15 * Add support for the x86 Intel AVX10.2 instructions.
16
17 * Add support for the x86 Intel SM4 AVX10.2 instructions.
18
19 * Support for Nios II targets has been dropped, as the architecture has
20 been EOL'ed by Intel.
21
22 * Add support for the x86 Intel MSR_IMM instructions.
23
24 * Add support for the x86 Zhaoxin GMI instructions.
25
26 * On x86 emulation support (for secondary targets) was dropped.
27
28 * Add support for RISC-V standard extensions,
29 Zicfiss v1.0, Zicfilp v1.0, Zcmp v1.0 (cm.mva01s and cm.mvsa01 instructions),
30 Zcmt v1.0, Smrnmi v1.0, S[sm]dbltrp v1.0 and S[sm]ctr v1.0 (replaced the
31 dropped sfence.vm encoding since privileged spec v1.10).
32
33 * Add support for RISC-V vendor extensions,
34 CORE-V, xcvbitmanip v1.0 and xcvsimd v1.0.
35 SiFive, xsfvqmaccdod v1.0, xsfvqmaccqoqv1.0 and xsfvfnrclipxfqf v1.0.
36
37 * Add support for 4 formats of .cfi directives register aliases for LoongArch,
38 for example, .cfi_offset r1,8, .cfi_offset ra,8, .cfi_offset $r1,8,
39 .cfi_offset $ra,8.
40
41 Changes in 2.43:
42
43 * Add support for LoongArch .option for fine-grained control of assembly
44 code options.
45
46 * The MIPS '--trap' command-line option now causes GAS to dynamically
47 track the ISA setting as code is assembled and to emit either trap or
48 breakpoint instructions according to whether the currently selected ISA
49 permits the use of trap instructions or not. Previously the ISA was
50 only checked at startup and GAS bailed out if the initial ISA was
51 incompatible with the '--trap' option.
52
53 * Support CFCMOV feature in Intel APX. Now, APX_F is fully supportted.
54
55 * Support CCMP and CTEST feature in Intel APX.
56
57 * Support zero-upper feature in Intel APX.
58
59 * Add a .base64 directive to the assembler which allows base64 encoded
60 binary data to be provided as strings.
61
62 * Add support for 'armv9.5-a' for -march in AArch64 GAS.
63
64 * In x86 Intel syntax undue mnemonic suffixes are now warned about. This is
65 a first step towards rejecting their use where unjustified.
66
67 * Assembler macros as well as the bodies of .irp / .irpc / .rept can now use
68 the syntax \+ to access the number of times a given macro has been executed.
69 This is similar to the already existing \@ syntax, except that the count is
70 maintained on a per-macro basis.
71
72 * Support the NF feature in Intel APX.
73
74 * Remove KEYLOCKER and SHA promotions from EVEX MAP4.
75
76 * References to FB and dollar labels, when supported, are no longer permitted
77 in a radix other than 10. (Note that definitions of such labels were already
78 thus restricted, except that leading zeroes were permitted.)
79
80 * Remove support for RISC-V privileged spec 1.9.1, but linker can still
81 recognize it in case of linking old objects.
82
83 * Add support for RISC-V Zacas extension with version 1.0.
84
85 * Add support for RISC-V Zcmp extension with version 1.0.
86
87 * Add support for RISC-V Zimop and Zcmop extensions with version 1.0.
88
89 * Add support for RISC-V Zfbfmin extension with version 1.0.
90
91 * Add support for RISC-V Zvfbfmin extension with version 1.0.
92
93 * Add support for RISC-V Zvfbfwma extension with version 1.0.
94
95 * Add support for RISC-V Smcsrind/Sscsrind extension with version 1.0.
96
97 * Add support for RISC-V CORE-V extensions (XCvMem, XCvBi, XCvElw) with
98 version 1.0.
99
100 * Add support for RISC-V SiFive cease extension (XSfCease) with version 1.0.
101
102 * The base register operand in D(X,B) and D(L,B) may be explicitly omitted
103 in assembly on s390. It can now be coded as D(X,) or D(L,) instead of D(X,0)
104 D(X,%r0), D(L,0), and D(L,%r0).
105
106 * Warn when a register name type does not match the operand type on s390.
107 Add support for s390-specific option "warn-regtype-mismatch=[strict|relaxed|
108 no]" to override the register name type check behavior. The default
109 is "relaxed", which allows floating-point and vector register names to be
110 used interchangeably.
111
112 * Add support for 'armv9.5-a' for -march in Arm GAS.
113
114 * Add support for the AArch64 Lookup Table Extension (LUT).
115
116 * Add support for the AArch64 Lookup Table Extension v2 (LUTv2).
117
118 Changes in 2.42:
119
120 * Add support for AMD znver5 processor.
121
122 * Add support for the AArch64 Reliability, Availability and Serviceability
123 extension v2 (RASv2).
124
125 * Add support for the AArch64 128-bit Atomic Instructions (LSE128).
126
127 * Add support for the AArch64 Guarded Control Stack (GCS).
128
129 * Add support for the AArch64 Check Feature Status Extension (CHK).
130
131 * Add support for the AArch64 Enhanced Speculation Restriction Instructions
132 (SPECRES2).
133
134 * Add support for the AArch64 Load-Acquire RCpc instructions version 3 (LRCPC3).
135
136 * Add support for the AArch64 Translation Hardening Extension (THE).
137
138 * Add support for the AArch64 Instruction Trace Extension (ITE).
139
140 * Add support for the AArch64 Translation Hardening Extension (THE).
141
142 * Add support for the AArch64 128-bit page table descriptors (D128).
143
144 * Add support for the AArch64 XS memory attribute (XS).
145
146 * Add support for '+fcma', '+jscvt', '+frintts', '+flagm2', '+rcpc2' and
147 '+wfxt' flags to enable existing AArch64 instructions.
148
149 * Add support for 'armv8.9-a' and 'armv9.4-a' for -march in AArch64 GAS.
150
151 * Add support for 'armv8.9-a' and 'armv9.4-a' for -march in Arm GAS.
152
153 * Add support for Cortex-A520, Cortex-A720, Cortex-X3 and Cortex-X4 for
154 AArch64.
155
156 * Experimental support in GAS to synthesize CFI for ABI-conformant,
157 hand-written asm using the new command line option --scfi=experimental on
158 x86-64. Only System V AMD64 ABI is supported.
159
160 * Initial support for Intel APX: 32 GPRs, NDD, PUSH2/POP2 and PUSHP/POPP.
161
162 * Add support for Intel USER_MSR instructions.
163
164 * Add support for Intel AVX10.1.
165
166 * Add support for Intel PBNDKB instructions.
167
168 * Add support for Intel SM4 instructions.
169
170 * Add support for Intel SM3 instructions.
171
172 * Add support for Intel SHA512 instructions.
173
174 * Add support for Intel AVX-VNNI-INT16 instructions.
175
176 * On RISC-V macro instructions expanding to AUIPC and a load, store, or branch
177 no longer accept x0 as an intermediate and/or destination register.
178
179 * Add support for RISC-V T-Head extensions (XTheadVector, XTheadZvlsseg
180 and XTheadZvamo) from version 2.3.0 of the T-Head ISA manual.
181
182 * Add support for RISC-V CORE-V extensions (XCVmac, XCValu) with version 1.0.
183
184 * Add support for RISC-V SiFive VCIX extension (XSfVcp) with version 1.0.
185
186 * The BPF assembler now uses semi-colon (;) to separate statements, and
187 therefore they cannot longer be used to begin line comments. This matches the
188 behavior of the clang/LLVM BPF assembler.
189
190 * The BPF assembler now allows using both hash (#) and double slash (//) to
191 begin line comments.
192
193 * Add support for LoongArch v1.10 new instructions: estimated reciprocal
194 instructions, sub-word atomic instructions, atomic CAS instructions,
195 16-byte store-conditional instruction, load-linked instructions with
196 acquire semantics, and store-conditional instructions with release
197 semantics.
198
199 * The %call36 relocation operator, along with the pseudo-instructions
200 call36 and tail36, are now usable with the LoongArch "medium" code
201 model, allowing text sections up to 128 GiB.
202
203 * TLS descriptors (TLSDESC) are now supported on LoongArch. This includes
204 the following new relocation operators: %desc_pc_hi20, %desc_pc_lo12,
205 %desc_ld, and %desc_call, and the la.tls.desc pseudo-instruction.
206
207 * TLS LE relaxation is now supported on LoongArch. New relocation
208 operators %le_hi20_r, %le_lo12r, and %le_add_r are now available.
209
210 * Add support for LoongArch branch relaxation: a conditional branch with
211 destination out of its immediate operand range, but still within
212 a "b"'s range, is now assembled as an inverted branch and a "b". This
213 works around the unreliable branch offset estimation of the compiler
214 when .align directive is encoded into a long NOP sequence with an
215 R_LARCH_RELAX by the assembler.
216
217 * Symbol or label names in LoongArch assembly can now be spelled with
218 double-quotes.
219
220 Changes in 2.41:
221
222 * Add support for the KVX instruction set.
223
224 * Add support for Intel FRED instructions.
225
226 * Add support for Intel LKGS instructions.
227
228 * Add support for Intel AMX-COMPLEX instructions.
229
230 * Add SME2 support to the AArch64 port.
231
232 * A new .insn directive is recognized by x86 gas.
233
234 * Add support for LoongArch LSX instructions.
235
236 * Add support for LoongArch LASX instructions.
237
238 * Add support for LoongArch LVZ instructions.
239
240 * Add support for LoongArch LBT instructions.
241
242 * Initial LoongArch support for linker relaxation has been added.
243
244 * Deprecate the LoongArch register aliases $v0, $v1, $x, $fv0 and $fv1.
245
246 Changes in 2.40:
247
248 * Add support for Intel RAO-INT instructions.
249
250 * Add support for Intel AVX-NE-CONVERT instructions.
251
252 * Add support for Intel MSRLIST instructions.
253
254 * Add support for Intel WRMSRNS instructions.
255
256 * Add support for Intel CMPccXADD instructions.
257
258 * Add support for Intel AVX-VNNI-INT8 instructions.
259
260 * Add support for Intel AVX-IFMA instructions.
261
262 * Add support for Intel PREFETCHI instructions.
263
264 * Add support for Intel AMX-FP16 instructions.
265
266 * gas now supports --compress-debug-sections=zstd to compress
267 debug sections with zstd.
268
269 * Add --enable-default-compressed-debug-sections-algorithm={zlib,zstd}
270 that selects the default compression algorithm
271 for --enable-compressed-debug-sections.
272
273 * Add support for various T-Head extensions (XTheadBa, XTheadBb, XTheadBs,
274 XTheadCmo, XTheadCondMov, XTheadFMemIdx, XTheadFmv, XTheadInt, XTheadMemIdx,
275 XTheadMemPair, XTheadMac, and XTheadSync) from version 2.0 of the T-Head
276 ISA manual, which are implemented in the Allwinner D1.
277
278 * Add support for the RISC-V Zawrs extension, version 1.0-rc4.
279
280 * Add support for Cortex-X1C for Arm.
281
282 * New command line option --gsframe to generate SFrame unwind information
283 on x86_64 and aarch64 targets.
284
285 Changes in 2.39:
286
287 * Remove (rudimentary) support for the x86-64 sub-architectures Intel L1OM and
288 Intel K1OM.
289
290 * Add support for the RISC-V Zicbop, Zicbom, and Zicboz extensions, version
291 1.0-fd39d01.
292
293 * Add support for the RISC-V Zfh extension, version 1.0.
294
295 * Add support for the Zhinx extension, version 1.0.0-rc.
296
297 * Add support for the RISC-V H extension.
298
299 * Add support for the RISC-V Zfhmin extension, version 1.0, and Zhinxmin
300 extension, version 1.0.0-rc.
301
302 Changes in 2.38:
303
304 * Add support for AArch64 system registers that were missing in previous
305 releases.
306
307 * Add support for the LoongArch instruction set.
308
309 * Add a command-line option, -muse-unaligned-vector-move, for x86 target
310 to encode aligned vector move as unaligned vector move.
311
312 * Add support for Cortex-R52+ for Arm.
313
314 * Add support for Cortex-A510, Cortex-A710, Cortex-X2 for AArch64.
315
316 * Add support for Cortex-A710 for Arm.
317
318 * Add support for Scalable Matrix Extension (SME) for AArch64.
319
320 * The --multibyte-handling=[allow|warn|warn-sym-only] option tells the
321 assembler what to when it encoutners multibyte characters in the input. The
322 default is to allow them. Setting the option to "warn" will generate a
323 warning message whenever any multibyte character is encountered. Using the
324 option to "warn-sym-only" will make the assembler generate a warning whenever a
325 symbol is defined containing multibyte characters. (References to undefined
326 symbols will not generate warnings).
327
328 * Outputs of .ds.x directive and .tfloat directive with hex input from
329 x86 assembler have been reduced from 12 bytes to 10 bytes to match the
330 output of .tfloat directive.
331
332 * Add support for 'armv8.8-a', 'armv9-a', 'armv9.1-a', 'armv9.2-a' and
333 'armv9.3-a' for -march in AArch64 GAS.
334
335 * Add support for 'armv8.7-a', 'armv8.8-a', 'armv9-a', 'armv9.1-a',
336 'armv9.2-a' and 'armv9.3-a' for -march in Arm GAS.
337
338 * Add support for Intel AVX512_FP16 instructions.
339
340 * Add support for the RISC-V scalar crypto extension, version 1.0.0.
341
342 * Add support for the RISC-V vector extension, version 1.0.
343
344 * Add support for the Z{f,d,q}inx extensions, version 1.0.0-rc.
345
346 * Add support for the RISC-V svinval extension, version 1.0.
347
348 * Add support for the RISC-V hypervisor extension, as defined by Privileged
349 Specification 1.12.
350
351 Changes in 2.37:
352
353 * arm-symbianelf support removed.
354
355 * Add support for Realm Management Extension (RME) for AArch64.
356
357 * Add support for the Zba, Zbb, Zbc, and Zbs subsets of the RISC-V
358 bit manipulation extension, version 0.93.
359
360 Changes in 2.36:
361
362 * Add support for Intel AVX VNNI instructions.
363
364 * Add support for Intel HRESET instruction.
365
366 * Add support for Intel UINTR instructions.
367
368 * Support non-absolute segment values for i386 lcall and ljmp.
369
370 * When setting the link order attribute of ELF sections, it is now possible to
371 use a numeric section index instead of symbol name.
372
373 * Add support for Cortex-A78, Cortex-A78AE, Cortex-A78C and Cortex-X1 for
374 AArch64 and ARM.
375 Add support for Cortex-R82, Neoverse V1, and Neoverse N2 for ARM.
376
377 * Add support for ETMv4 (Embedded Trace Macrocell), ETE (Embedded Trace
378 Extension), TRBE (Trace Buffer Extension)and BRBE (Branch Record Buffer
379 Extension) system registers for AArch64.
380
381 * Add support for Armv8-R and Armv8.7-A AArch64.
382
383 * Add support for DSB memory nXS barrier, WFET and WFIT instruction for Armv8.7
384 AArch64.
385
386 * Add support for +flagm feature for -march in Armv8.4 AArch64.
387
388 * Add support for +ls64 feature for -march in Armv8.7 AArch64. Add atomic
389 64-byte load/store instructions for this feature.
390
391 * Add support for +pauth (Pointer Authentication) feature for -march in
392 AArch64.
393
394 * Add support for Intel TDX instructions.
395
396 * Add support for Intel Key Locker instructions.
397
398 * Added a .nop directive to generate a single no-op instruction in a target
399 neutral manner. This instruction does have an effect on DWARF line number
400 generation, if that is active.
401
402 * Removed --reduce-memory-overheads and --hash-size as gas now
403 uses hash tables that can be expand and shrink automatically.
404
405 * Add {disp16} pseudo prefix to x86 assembler.
406
407 * Add support for Intel AMX instructions.
408
409 * Configure with --enable-x86-used-note by default for Linux/x86.
410
411 * Add support for the SHF_GNU_RETAIN flag, which can be applied to
412 sections using the 'R' flag in the .section directive.
413 SHF_GNU_RETAIN specifies that the section should not be garbage
414 collected by the linker. It requires the GNU or FreeBSD ELF OSABIs.
415
416 * Add support for the RISC-V Zihintpause extension.
417
418 Changes in 2.35:
419
420 * X86 NaCl target support is removed.
421
422 * Extend .symver directive to update visibility of the original symbol
423 and assign one original symbol to different versioned symbols.
424
425 * Add support for Intel SERIALIZE and TSXLDTRK instructions.
426
427 * Add -mlfence-after-load=, -mlfence-before-indirect-branch= and
428 -mlfence-before-ret= options to x86 assembler to help mitigate
429 CVE-2020-0551.
430
431 * Add --gdwarf-5 option to the assembler to generate DWARF 5 debug output
432 (if such output is being generated). Added the ability to generate
433 version 5 .debug_line sections.
434
435 * Add -mbig-obj support to i386 MingW targets.
436
437 * Add support for the -mriscv-isa-version argument, to select the version of
438 the RISC-V ISA specification used when assembling.
439
440 * Remove support for the RISC-V privileged specification, version 1.9.
441
442 Changes in 2.34:
443
444 * Add -malign-branch-boundary=NUM, -malign-branch=TYPE[+TYPE...],
445 -malign-branch-prefix-size=NUM and -mbranches-within-32B-boundaries
446 options to x86 assembler to align branches within a fixed boundary
447 with segment prefixes or NOPs.
448
449 * Add support for Zilog eZ80 and Zilog Z180 CPUs.
450
451 * Add support for z80-elf target.
452
453 * Add support for relocation of each byte or word of multibyte value to Z80
454 targets (just use right shift to 0, 8, 16, or 24 bits or AND operation
455 with 0xff/0xffff mask): ld a, label >> 16 \ ld hl, label & 0xffff
456
457 * Add SDCC support for Z80 targets.
458
459 Changes in 2.33:
460
461 * Add support for the Arm Scalable Vector Extension version 2 (SVE2)
462 instructions.
463
464 * Add support for the Arm Transactional Memory Extension (TME)
465 instructions.
466
467 * Add support for the Armv8.1-M Mainline and M-profile Vector Extension (MVE)
468 instructions.
469
470 * For MIPS, Add -m[no-]fix-loongson3-llsc option to fix (or not) Loongson3
471 LLSC Errata. Add a --enable-mips-fix-loongson3-llsc=[yes|no] configure
472 time option to set the default behavior. Set the default if the configure
473 option is not used to "no".
474
475 * Add support for the Arm Cortex-A76AE, Cortex-A77 and Cortex-M35P
476 processors.
477
478 * Add support for the AArch64 Cortex-A34, Cortex-A65, Cortex-A65AE,
479 Cortex-A76AE, and Cortex-A77 processors.
480
481 * Add .float16 directive for both Arm and AArch64 to allow encoding of 16-bit
482 floating point literals. Add .float16_format directive and
483 -mfp16-format=[ieee|alternative] option for Arm to control the format of the
484 encoding.
485
486 * Add --gdwarf-cie-version command line flag. This allows control over which
487 version of DWARF CIE the assembler creates.
488
489 Changes in 2.32:
490
491 * Add -mvexwig=[0|1] option to x86 assembler to control encoding of
492 VEX.W-ignored (WIG) VEX instructions.
493
494 * Add -mx86-used-note=[yes|no] option to generate (or not) x86 GNU property
495 notes. Add a --enable-x86-used-note configure time option to set the
496 default behavior. Set the default if the configure option is not used
497 to "no".
498
499 * Add support for the MIPS Loongson EXTensions R2 (EXT2) instructions.
500
501 * Add support for the MIPS Loongson EXTensions (EXT) instructions.
502
503 * Add support for the MIPS Loongson Content Address Memory (CAM) ASE.
504
505 * Add support for the C-SKY processor series.
506
507 * Add support for the MIPS Loongson MultiMedia extensions Instructions (MMI)
508 ASE.
509
510 Changes in 2.31:
511
512 * The ADR and ADRL pseudo-instructions supported by the ARM assembler
513 now only set the bottom bit of the address of thumb function symbols
514 if the -mthumb-interwork command line option is active.
515
516 * Add support for the MIPS Global INValidate (GINV) ASE.
517
518 * Add support for the MIPS Cyclic Redudancy Check (CRC) ASE.
519
520 * Add support for the Freescale S12Z architecture.
521
522 * Add --generate-missing-build-notes=[yes|no] option to create (or not) GNU
523 Build Attribute notes if none are present in the input sources. Add a
524 --enable-generate-build-notes=[yes|no] configure time option to set the
525 default behaviour. Set the default if the configure option is not used
526 to "no".
527
528 * Remove -mold-gcc command-line option for x86 targets.
529
530 * Add -O[2|s] command-line options to x86 assembler to enable alternate
531 shorter instruction encoding.
532
533 * Add support for .nops directive. It is currently supported only for
534 x86 targets.
535
536 * Add support for the .insn directive on RISC-V targets.
537
538 Changes in 2.30:
539
540 * Add support for loaction views in DWARF debug line information.
541
542 Changes in 2.29:
543
544 * Add support for ELF SHF_GNU_MBIND.
545
546 * Add support for the WebAssembly file format and wasm32 ELF conversion.
547
548 * PowerPC gas now checks that the correct register class is used in
549 instructions. For instance, "addi %f4,%cr3,%r31" warns three times
550 that the registers are invalid.
551
552 * Add support for the Texas Instruments PRU processor.
553
554 * Support for the ARMv8-R architecture and Cortex-R52 processor has been
555 added to the ARM port.
556
557 Changes in 2.28:
558
559 * Add support for the RISC-V architecture.
560
561 * Add support for the ARM Cortex-M23 and Cortex-M33 processors.
562
563 Changes in 2.27:
564
565 * Default to --enable-compressed-debug-sections=gas for Linux/x86 targets.
566
567 * Add --no-pad-sections to stop the assembler from padding the end of output
568 sections up to their alignment boundary.
569
570 * Support for the ARMv8-M architecture has been added to the ARM port. Support
571 for the ARMv8-M Security and DSP Extensions has also been added to the ARM
572 port.
573
574 * ARC backend accepts .extInstruction, .extCondCode, .extAuxRegister, and
575 .extCoreRegister pseudo-ops that allow an user to define custom
576 instructions, conditional codes, auxiliary and core registers.
577
578 * Add a configure option --enable-elf-stt-common to decide whether ELF
579 assembler should generate common symbols with the STT_COMMON type by
580 default. Default to no.
581
582 * New command-line option --elf-stt-common= for ELF targets to control
583 whether to generate common symbols with the STT_COMMON type.
584
585 * Add ability to set section flags and types via numeric values for ELF
586 based targets.
587
588 * Add a configure option --enable-x86-relax-relocations to decide whether
589 x86 assembler should generate relax relocations by default. Default to
590 yes, except for x86 Solaris targets older than Solaris 12.
591
592 * New command-line option -mrelax-relocations= for x86 target to control
593 whether to generate relax relocations.
594
595 * New command-line option -mfence-as-lock-add=yes for x86 target to encode
596 lfence, mfence and sfence as "lock addl $0x0, (%[re]sp)".
597
598 * Add assembly-time relaxation option for ARC cpus.
599
600 * Add --with-cpu=TYPE configure option for ARC gas. This allows the default
601 cpu type to be adjusted at configure time.
602
603 Changes in 2.26:
604
605 * Add a configure option --enable-compressed-debug-sections={all,gas} to
606 decide whether DWARF debug sections should be compressed by default.
607
608 * Add support for the ARC EM/HS, and ARC600/700 architectures. Remove
609 assembler support for Argonaut RISC architectures.
610
611 * Symbol and label names can now be enclosed in double quotes (") which allows
612 them to contain characters that are not part of valid symbol names in high
613 level languages.
614
615 * Added the correctly spelled -march=armv6kz, for ARMv6KZ support. The
616 previous spelling, -march=armv6zk, is still accepted.
617
618 * Support for the ARMv8.1 architecture has been added to the Aarch64 port.
619 Support for the individual ARMv8.1 Adv.SIMD, LOR and PAN architecture
620 extensions has also been added to the Aarch64 port.
621
622 * Support for the ARMv8.1 architecture has been added to the ARM port. Support
623 for the individual ARMv8.1 Adv.SIMD and PAN architecture extensions has also
624 been added to the ARM port.
625
626 * Extend --compress-debug-sections option to support
627 --compress-debug-sections=[none|zlib|zlib-gnu|zlib-gabi] for ELF
628 targets.
629
630 * --compress-debug-sections is turned on for Linux/x86 by default.
631
632 Changes in 2.25:
633
634 * Add support for the AVR Tiny microcontrollers.
635
636 * Replace support for openrisc and or32 with support for or1k.
637
638 * Enhanced the ARM port to accept the assembler output from the CodeComposer
639 Studio tool. Support is enabled via the new command-line option -mccs.
640
641 * Add support for the Andes NDS32.
642
643 Changes in 2.24:
644
645 * Add support for the Texas Instruments MSP430X processor.
646
647 * Add -gdwarf-sections command-line option to enable per-code-section
648 generation of DWARF .debug_line sections.
649
650 * Add support for Altera Nios II.
651
652 * Add support for the Imagination Technologies Meta processor.
653
654 * Add support for the v850e3v5.
655
656 * Remove assembler support for MIPS ECOFF targets.
657
658 Changes in 2.23:
659
660 * Add support for the 64-bit ARM architecture: AArch64.
661
662 * Add support for S12X processor.
663
664 * Add support for the VLE extension to the PowerPC architecture.
665
666 * Add support for the Freescale XGATE architecture.
667
668 * Add support for .bundle_align_mode, .bundle_lock, and .bundle_unlock
669 directives. These are currently available only for x86 and ARM targets.
670
671 * Add support for the Renesas RL78 architecture.
672
673 * Add support for the Adapteva EPIPHANY architecture.
674
675 * For x86, allow 'rep bsf', 'rep bsr', and 'rep ret' syntax.
676
677 Changes in 2.22:
678
679 * Add support for the Tilera TILEPro and TILE-Gx architectures.
680
681 Changes in 2.21:
682
683 * Gas no longer requires doubling of ampersands in macros.
684
685 * Add support for the TMS320C6000 (TI C6X) processor family.
686
687 * GAS now understands an extended syntax in the .section directive flags
688 for COFF targets that allows the section's alignment to be specified. This
689 feature has also been backported to the 2.20 release series, starting with
690 2.20.1.
691
692 * Add support for the Renesas RX processor.
693
694 * New command-line option, --compress-debug-sections, which requests
695 compression of DWARF debug information sections in the relocatable output
696 file. Compressed debug sections are supported by readelf, objdump, and
697 gold, but not currently by Gnu ld.
698
699 Changes in 2.20:
700
701 * Added support for v850e2 and v850e2v3.
702
703 * GNU/Linux targets now supports "gnu_unique_object" as a value in the .type
704 pseudo op. It marks the symbol as being globally unique in the entire
705 process.
706
707 * ARM assembler now supports .inst[.nw] pseudo-ops to insert opcodes specified
708 in binary rather than text.
709
710 * Add support for common symbol alignment to PE formats.
711
712 * Add support for the new discriminator column in the DWARF line table,
713 with a discriminator operand for the .loc directive.
714
715 * Add support for Sunplus score architecture.
716
717 * The .type pseudo-op now accepts a type of STT_GNU_IFUNC which can be used to
718 indicate that if the symbol is the target of a relocation, its value should
719 not be use. Instead the function should be invoked and its result used as
720 the value.
721
722 * Add support for Lattice Mico32 (lm32) architecture.
723
724 * Add support for Xilinx MicroBlaze architecture.
725
726 Changes in 2.19:
727
728 * New pseudo op .cfi_val_encoded_addr, to record constant addresses in unwind
729 tables without runtime relocation.
730
731 * New command-line option, -h-tick-hex, for sh, m32c, and h8/300 targets, which
732 adds compatibility with H'00 style hex constants.
733
734 * New command-line option, -msse-check=[none|error|warning], for x86
735 targets.
736
737 * New sub-option added to the assembler's -a command-line switch to
738 generate a listing output. The 'g' sub-option will insert into the listing
739 various information about the assembly, such as assembler version, the
740 command-line options used, and a time stamp.
741
742 * New command-line option -msse2avx for x86 target to encode SSE
743 instructions with VEX prefix.
744
745 * Add Intel XSAVE, EPT, MOVBE, AES, PCLMUL, AVX/FMA support for x86 target.
746
747 * New command-line options, -march=CPU[,+EXTENSION...], -mtune=CPU,
748 -mmnemonic=[att|intel], -msyntax=[att|intel], -mindex-reg,
749 -mnaked-reg and -mold-gcc, for x86 targets.
750
751 * Support for generating wide character strings has been added via the new
752 pseudo ops: .string16, .string32 and .string64.
753
754 * Support for SSE5 has been added to the i386 port.
755
756 Changes in 2.18:
757
758 * The GAS sources are now released under the GPLv3.
759
760 * Support for the National Semiconductor CR16 target has been added.
761
762 * Added gas .reloc pseudo. This is a low-level interface for creating
763 relocations.
764
765 * Add support for x86_64 PE+ target.
766
767 * Add support for Score target.
768
769 Changes in 2.17:
770
771 * Support for the Infineon XC16X has been added by KPIT Cummins Infosystems.
772
773 * Support for ms2 architecture has been added.
774
775 * Support for the Z80 processor family has been added.
776
777 * Add support for the "@<file>" syntax to the command line, so that extra
778 switches can be read from <file>.
779
780 * The SH target supports a new command-line switch --enable-reg-prefix which,
781 if enabled, will allow register names to be optionally prefixed with a $
782 character. This allows register names to be distinguished from label names.
783
784 * Macros with a variable number of arguments are now supported. See the
785 documentation for how this works.
786
787 * Added --reduce-memory-overheads switch to reduce the size of the hash
788 tables used, at the expense of longer assembly times, and
789 --hash-size=<NUMBER> to set the size of the hash tables used by gas.
790
791 * Macro names and macro parameter names can now be any identifier that would
792 also be legal as a symbol elsewhere. For macro parameter names, this is
793 known to cause problems in certain sources when the respective target uses
794 characters inconsistently, and thus macro parameter references may no longer
795 be recognized as such (see the documentation for details).
796
797 * Support the .f_floating, .d_floating, .g_floating and .h_floating directives
798 for the VAX target in order to be more compatible with the VAX MACRO
799 assembler.
800
801 * New command-line option -mtune=[itanium1|itanium2] for IA64 targets.
802
803 Changes in 2.16:
804
805 * Redefinition of macros now results in an error.
806
807 * New command-line option -mhint.b=[ok|warning|error] for IA64 targets.
808
809 * New command-line option -munwind-check=[warning|error] for IA64
810 targets.
811
812 * The IA64 port now uses automatic dependency violation removal as its default
813 mode.
814
815 * Port to MAXQ processor contributed by HCL Tech.
816
817 * Added support for generating unwind tables for ARM ELF targets.
818
819 * Add a -g command-line option to generate debug information in the target's
820 preferred debug format.
821
822 * Support for the crx-elf target added.
823
824 * Support for the sh-symbianelf target added.
825
826 * Added a pseudo-op (.secrel32) to generate 32 bit section relative relocations
827 on pe[i]-i386; required for this target's DWARF 2 support.
828
829 * Support for Motorola MCF521x/5249/547x/548x added.
830
831 * Support for ColdFire EMAC instructions added and Motorola syntax for MAC/EMAC
832 instrucitons.
833
834 * New command-line option -mno-shared for MIPS ELF targets.
835
836 * New command-line option --alternate and pseudo-ops .altmacro and .noaltmacro
837 added to enter (and leave) alternate macro syntax mode.
838
839 Changes in 2.15:
840
841 * The MIPS -membedded-pic option (Embedded-PIC code generation) is
842 deprecated and will be removed in a future release.
843
844 * Added PIC m32r Linux (ELF) and support to M32R assembler.
845
846 * Added support for ARM V6.
847
848 * Added support for sh4a and variants.
849
850 * Support for Renesas M32R2 added.
851
852 * Limited support for Mapping Symbols as specified in the ARM ELF
853 specification has been added to the arm assembler.
854
855 * On ARM architectures, added a new gas directive ".unreq" that undoes
856 definitions created by ".req".
857
858 * Support for Motorola ColdFire MCF528x added.
859
860 * Added --gstabs+ switch to enable the generation of STABS debug format
861 information with GNU extensions.
862
863 * Added support for MIPS64 Release 2.
864
865 * Added support for v850e1.
866
867 * Added -n switch for x86 assembler. By default, x86 GAS replaces
868 multiple nop instructions used for alignment within code sections
869 with multi-byte nop instructions such as leal 0(%esi,1),%esi. This
870 switch disables the optimization.
871
872 * Removed -n option from MIPS assembler. It was not useful, and confused the
873 existing -non_shared option.
874
875 Changes in 2.14:
876
877 * Added support for MIPS32 Release 2.
878
879 * Added support for Xtensa architecture.
880
881 * Support for Intel's iWMMXt processor (an ARM variant) added.
882
883 * An assembler test generator has been contributed and an example file that
884 uses it (gas/testsuite/gas/all/test-gen.c and test-exmaple.c).
885
886 * Support for SH2E added.
887
888 * GASP has now been removed.
889
890 * Support for Texas Instruments TMS320C4x and TMS320C3x series of
891 DSP's contributed by Michael Hayes and Svein E. Seldal.
892
893 * Support for the Ubicom IP2xxx microcontroller added.
894
895 Changes in 2.13:
896
897 * Support for the Fujitsu FRV architecture added by Red Hat. Models for FR400
898 and FR500 included.
899
900 * Support for DLX processor added.
901
902 * GASP has now been deprecated and will be removed in a future release. Use
903 the macro facilities in GAS instead.
904
905 * GASP now correctly parses floating point numbers. Unless the base is
906 explicitly specified, they are interpreted as decimal numbers regardless of
907 the currently specified base.
908
909 Changes in 2.12:
910
911 * Support for Don Knuth's MMIX, by Hans-Peter Nilsson.
912
913 * Support for the OpenRISC 32-bit embedded processor by OpenCores.
914
915 * The ARM assembler now accepts -march=..., -mcpu=... and -mfpu=... for
916 specifying the target instruction set. The old method of specifying the
917 target processor has been deprecated, but is still accepted for
918 compatibility.
919
920 * Support for the VFP floating-point instruction set has been added to
921 the ARM assembler.
922
923 * New psuedo op: .incbin to include a set of binary data at a given point
924 in the assembly. Contributed by Anders Norlander.
925
926 * The MIPS assembler now accepts -march/-mtune. -mcpu has been deprecated
927 but still works for compatability.
928
929 * The MIPS assembler no longer issues a warning by default when it
930 generates a nop instruction from a macro. The new command-line option
931 -n will turn on the warning.
932
933 Changes in 2.11:
934
935 * Support for PDP-11 and 2.11BSD a.out format, by Lars Brinkhoff.
936
937 * x86 gas now supports the full Pentium4 instruction set.
938
939 * Support for AMD x86-64 architecture, by Jan Hubicka, SuSE Labs.
940
941 * Support for Motorola 68HC11 and 68HC12.
942
943 * Support for Texas Instruments TMS320C54x (tic54x).
944
945 * Support for IA-64.
946
947 * Support for i860, by Jason Eckhardt.
948
949 * Support for CRIS (Axis Communications ETRAX series).
950
951 * x86 gas has a new .arch pseudo op to specify the target CPU architecture.
952
953 * x86 gas -q command-line option quietens warnings about register size changes
954 due to suffix, indirect jmp/call without `*', stand-alone prefixes, and
955 translating various deprecated floating point instructions.
956
957 Changes in 2.10:
958
959 * Support for the ARM msr instruction was changed to only allow an immediate
960 operand when altering the flags field.
961
962 * Support for ATMEL AVR.
963
964 * Support for IBM 370 ELF. Somewhat experimental.
965
966 * Support for numbers with suffixes.
967
968 * Added support for breaking to the end of repeat loops.
969
970 * Added support for parallel instruction syntax (DOUBLEBAR_PARALLEL).
971
972 * New .elseif pseudo-op added.
973
974 * New --fatal-warnings option.
975
976 * picoJava architecture support added.
977
978 * Motorola MCore 210 processor support added.
979
980 * A new pseudo-op .intel_syntax has been implemented to allow gas to parse i386
981 assembly programs with intel syntax.
982
983 * New pseudo-ops .func,.endfunc to aid in debugging user-written assembler code.
984
985 * Added -gdwarf2 option to generate DWARF 2 debugging information.
986
987 * Full 16-bit mode support for i386.
988
989 * Greatly improved instruction operand checking for i386. This change will
990 produce errors or warnings on incorrect assembly code that previous versions
991 of gas accepted. If you get unexpected messages from code that worked with
992 older versions of gas, please double check the code before reporting a bug.
993
994 * Weak symbol support added for COFF targets.
995
996 * Mitsubishi D30V support added.
997
998 * Texas Instruments c80 (tms320c80) support added.
999
1000 * i960 ELF support added.
1001
1002 * ARM ELF support added.
1003
1004 Changes in 2.9:
1005
1006 * Texas Instruments c30 (tms320c30) support added.
1007
1008 * The assembler now optimizes the exception frame information generated by egcs
1009 and gcc 2.8. The new --traditional-format option disables this optimization.
1010
1011 * Added --gstabs option to generate stabs debugging information.
1012
1013 * The -a option takes a new suboption, m (e.g., -alm) to expand macros in a
1014 listing.
1015
1016 * Added -MD option to print dependencies.
1017
1018 Changes in 2.8:
1019
1020 * BeOS support added.
1021
1022 * MIPS16 support added.
1023
1024 * Motorola ColdFire 5200 support added (configure for m68k and use -m5200).
1025
1026 * Alpha/VMS support added.
1027
1028 * m68k options --base-size-default-16, --base-size-default-32,
1029 --disp-size-default-16, and --disp-size-default-32 added.
1030
1031 * The alignment directives now take an optional third argument, which is the
1032 maximum number of bytes to skip. If doing the alignment would require
1033 skipping more than the given number of bytes, the alignment is not done at
1034 all.
1035
1036 * The ELF assembler has a new pseudo-op, .symver, used for symbol versioning.
1037
1038 * The -a option takes a new suboption, c (e.g., -alc), to skip false
1039 conditionals in listings.
1040
1041 * Added new pseudo-op, .equiv; it's like .equ, except that it is an error if
1042 the symbol is already defined.
1043
1044 Changes in 2.7:
1045
1046 * The PowerPC assembler now allows the use of symbolic register names (r0,
1047 etc.) if -mregnames is used. Symbolic names preceded by a '%' (%r0, etc.)
1048 can be used any time. PowerPC 860 move to/from SPR instructions have been
1049 added.
1050
1051 * Alpha Linux (ELF) support added.
1052
1053 * PowerPC ELF support added.
1054
1055 * m68k Linux (ELF) support added.
1056
1057 * i960 Hx/Jx support added.
1058
1059 * i386/PowerPC gnu-win32 support added.
1060
1061 * SCO ELF support added. For OpenServer 5 targets (i386-unknown-sco3.2v5) the
1062 default is to build COFF-only support. To get a set of tools that generate
1063 ELF (they'll understand both COFF and ELF), you must configure with
1064 target=i386-unknown-sco3.2v5elf.
1065
1066 * m88k-motorola-sysv3* support added.
1067
1068 Changes in 2.6:
1069
1070 * Gas now directly supports macros, without requiring GASP.
1071
1072 * Gas now has an MRI assembler compatibility mode. Use -M or --mri to select
1073 MRI mode. The pseudo-op ``.mri 1'' will switch into the MRI mode until the
1074 ``.mri 0'' is seen; this can be convenient for inline assembler code.
1075
1076 * Added --defsym SYM=VALUE option.
1077
1078 * Added -mips4 support to MIPS assembler.
1079
1080 * Added PIC support to Solaris and SPARC SunOS 4 assembler.
1081
1082 Changes in 2.4:
1083
1084 * Converted this directory to use an autoconf-generated configure script.
1085
1086 * ARM support, from Richard Earnshaw.
1087
1088 * Updated VMS support, from Pat Rankin, including considerably improved
1089 debugging support.
1090
1091 * Support for the control registers in the 68060.
1092
1093 * Handles (ignores) a new directive ".this_GCC_requires_the_GNU_assembler", to
1094 provide for possible future gcc changes, for targets where gas provides some
1095 features not available in the native assembler. If the native assembler is
1096 used, it should become obvious pretty quickly what the problem is.
1097
1098 * Usage message is available with "--help".
1099
1100 * The GNU Assembler Preprocessor (gasp) is included. (Actually, it was in 2.3
1101 also, but didn't get into the NEWS file.)
1102
1103 * Weak symbol support for a.out.
1104
1105 * A bug in the listing code which could cause an infinite loop has been fixed.
1106 Bugs in listings when generating a COFF object file have also been fixed.
1107
1108 * Initial i386-svr4 PIC implementation from Eric Youngdale, based on code by
1109 Paul Kranenburg.
1110
1111 * Improved Alpha support. Immediate constants can have a much larger range
1112 now. Support for the 21164 has been contributed by Digital.
1113
1114 * Updated ns32k (pc532-mach, netbsd532) support from Ian Dall.
1115
1116 Changes in 2.3:
1117
1118 * Mach i386 support, by David Mackenzie and Ken Raeburn.
1119
1120 * RS/6000 and PowerPC support by Ian Taylor.
1121
1122 * VMS command scripts (make-gas.com, config-gas.com) have been worked on a bit,
1123 based on mail received from various people. The `-h#' option should work
1124 again too.
1125
1126 * HP-PA work, by Jeff Law. Note, for the PA, gas-2.3 has been designed to work
1127 with gdb-4.12 and gcc-2.6. As gcc-2.6 has not been released yet, a special
1128 version of gcc-2.5.8 has been patched to work with gas-2.3. You can retrieve
1129 this special version of gcc-2.5.8 via anonymous ftp from jaguar.cs.utah.edu
1130 in the "dist" directory.
1131
1132 * Vax support in gas fixed for BSD, so it builds and seems to run a couple
1133 simple tests okay. I haven't put it through extensive testing. (GNU make is
1134 currently required for BSD 4.3 builds.)
1135
1136 * Support for the DEC Alpha, running OSF/1 (ECOFF format). The gas support is
1137 based on code donated by CMU, which used an a.out-based format. I'm afraid
1138 the alpha-a.out support is pretty badly mangled, and much of it removed;
1139 making it work will require rewriting it as BFD support for the format anyways.
1140
1141 * Irix 5 support.
1142
1143 * The test suites have been fixed up a bit, so that they should work with a
1144 couple different versions of expect and dejagnu.
1145
1146 * Symbols' values are now handled internally as expressions, permitting more
1147 flexibility in evaluating them in some cases. Some details of relocation
1148 handling have also changed, and simple constant pool management has been
1149 added, to make the Alpha port easier.
1150
1151 * New option "--statistics" for printing out program run times. This is
1152 intended to be used with the gcc "-Q" option, which prints out times spent in
1153 various phases of compilation. (You should be able to get all of them
1154 printed out with "gcc -Q -Wa,--statistics", I think.)
1155
1156 Changes in 2.2:
1157
1158 * RS/6000 AIX and MIPS SGI Irix 5 support has been added.
1159
1160 * Configurations that are still in development (and therefore are convenient to
1161 have listed in configure.in) still get rejected without a minor change to
1162 gas/Makefile.in, so people not doing development work shouldn't get the
1163 impression that support for such configurations is actually believed to be
1164 reliable.
1165
1166 * The program name (usually "as") is printed when a fatal error message is
1167 displayed. This should prevent some confusion about the source of occasional
1168 messages about "internal errors".
1169
1170 * ELF support is falling into place. Support for the 386 should be working.
1171 Support for SPARC Solaris is in. HPPA support from Utah is being integrated.
1172
1173 * Symbol values are maintained as expressions instead of being immediately
1174 boiled down to add-symbol, sub-symbol, and constant. This permits slightly
1175 more complex calculations involving symbols whose values are not alreadey
1176 known.
1177
1178 * DBX-style debugging info ("stabs") is now supported for COFF formats.
1179 If any stabs directives are seen in the source, GAS will create two new
1180 sections: a ".stab" and a ".stabstr" section. The format of the .stab
1181 section is nearly identical to the a.out symbol format, and .stabstr is
1182 its string table. For this to be useful, you must have configured GCC
1183 to generate stabs (by defining DBX_DEBUGGING_INFO), and must have a GDB
1184 that can use the stab sections (4.11 or later).
1185
1186 * LynxOS, on i386 and m68k platforms, is now supported. SPARC LynxOS
1187 support is in progress.
1188
1189 Changes in 2.1:
1190
1191 * Several small fixes for i386-aix (PS/2) support from Minh Tran-Le have been
1192 incorporated, but not well tested yet.
1193
1194 * Altered the opcode table split for m68k; it should require less VM to compile
1195 with gcc now.
1196
1197 * Some minor adjustments to add (Convergent Technologies') Miniframe support,
1198 suggested by Ronald Cole.
1199
1200 * HPPA support (running OSF only, not HPUX) has been contributed by Utah. This
1201 includes improved ELF support, which I've started adapting for SPARC Solaris
1202 2.x. Integration isn't completely, so it probably won't work.
1203
1204 * HP9000/300 support, donated by HP, has been merged in.
1205
1206 * Ian Taylor has finished the MIPS ECOFF (Ultrix, Irix) support.
1207
1208 * Better error messages for unsupported configurations (e.g., hppa-hpux).
1209
1210 * Test suite framework is starting to become reasonable.
1211
1212 Changes in 2.0:
1213
1214 * Mostly bug fixes.
1215
1216 * Some more merging of BFD and ELF code, but ELF still doesn't work.
1217
1218 Changes in 1.94:
1219
1220 * BFD merge is partly done. Adventurous souls may try giving configure the
1221 "--with-bfd-assembler" option. Currently, ELF format requires it, a.out
1222 format accepts it; SPARC CPU accepts it. It's the default only for OS "elf"
1223 or "solaris". (ELF isn't really supported yet. It needs work. I've got
1224 some code from Utah for HP-PA ELF, and from DG for m88k ELF, but they're not
1225 fully merged yet.)
1226
1227 * The 68K opcode table has been split in half. It should now compile under gcc
1228 without consuming ridiculous amounts of memory.
1229
1230 * A couple data structures have been reduced in size. This should result in
1231 saving a little bit of space at runtime.
1232
1233 * Support for MIPS, from OSF and Ralph Campbell, has been merged in. The OSF
1234 code provided ROSE format support, which I haven't merged in yet. (I can
1235 make it available, if anyone wants to try it out.) Ralph's code, for BSD
1236 4.4, supports a.out format. We don't have ECOFF support in just yet; it's
1237 coming.
1238
1239 * Support for the Hitachi H8/500 has been added.
1240
1241 * VMS host and target support should be working now, thanks chiefly to Eric
1242 Youngdale.
1243
1244 Changes in 1.93.01:
1245
1246 * For m68k, support for more processors has been added: 68040, CPU32, 68851.
1247
1248 * For i386, .align is now power-of-two; was number-of-bytes.
1249
1250 * For m68k, "%" is now accepted before register names. For COFF format, which
1251 doesn't use underscore prefixes for C labels, it is required, so variable "a0"
1252 can be distinguished from the register.
1253
1254 * Last public release was 1.38. Lots of configuration changes since then, lots
1255 of new CPUs and formats, lots of bugs fixed.
1256
1257
1258 Copyright (C) 2012-2025 Free Software Foundation, Inc.
1259
1260 Copying and distribution of this file, with or without modification,
1261 are permitted in any medium without royalty provided the copyright
1262 notice and this notice are preserved.
1263
1264 Local variables:
1265 fill-column: 79
1266 End: