Fix test for sections with different VMA<->LMA relationships so that it only applies...
[binutils-gdb.git] / gas / NEWS
blobcb58ca8fb8d40b7b34a23452ec0b37bdb6049570
1 -*- text -*-
3 * Support the NF feature in Intel APX.
5 * Remove KEYLOCKER and SHA promotions from EVEX MAP4.
7 * References to FB and dollar labels, when supported, are no longer permitted
8   in a radix other than 10.  (Note that definitions of such labels were already
9   thus restricted, except that leading zeroes were permitted.)
11 * Remove support for RISC-V privileged spec 1.9.1, but linker can still
12   recognize it in case of linking old objects.
14 * Add support for RISC-V Zcmp extension with version 1.0.
16 * The base register operand in D(X,B) and D(L,B) may be explicitly omitted
17   in assembly on s390. It can now be coded as D(X,) or D(L,) instead of D(X,0)
18   D(X,%r0), D(L,0), and D(L,%r0).
20 * Warn when a register name type does not match the operand type on s390.
21   Add support for s390-specific option "warn-regtype-mismatch=[strict|relaxed|
22   no]" to override the register name type check behavior. The default
23   is "relaxed", which allows floating-point and vector register names to be
24   used interchangeably.
26 * Add support for 'armv9.5-a' for -march in Arm GAS.
28 Changes in 2.42:
30 * Add support for AMD znver5 processor.
32 * Add support for the AArch64 Reliability, Availability and Serviceability
33   extension v2 (RASv2).
35 * Add support for the AArch64 128-bit Atomic Instructions (LSE128).
37 * Add support for the AArch64 Guarded Control Stack (GCS).
39 * Add support for the AArch64 Check Feature Status Extension (CHK).
41 * Add support for the AArch64 Enhanced Speculation Restriction Instructions
42   (SPECRES2).
44 * Add support for the AArch64 Load-Acquire RCpc instructions version 3 (LRCPC3).
46 * Add support for the AArch64 Translation Hardening Extension (THE).
48 * Add support for the AArch64 Instruction Trace Extension (ITE).
50 * Add support for the AArch64 Translation Hardening Extension (THE).
52 * Add support for the AArch64 128-bit page table descriptors (D128).
54 * Add support for the AArch64 XS memory attribute (XS).
56 * Add support for '+fcma', '+jscvt', '+frintts', '+flagm2', '+rcpc2' and
57   '+wfxt' flags to enable existing AArch64 instructions.
59 * Add support for 'armv8.9-a' and 'armv9.4-a' for -march in AArch64 GAS.
61 * Add support for 'armv8.9-a' and 'armv9.4-a' for -march in Arm GAS.
63 * Add support for Cortex-A520, Cortex-A720, Cortex-X3 and Cortex-X4 for
64   AArch64.
66 * Experimental support in GAS to synthesize CFI for ABI-conformant,
67   hand-written asm using the new command line option --scfi=experimental on
68   x86-64.  Only System V AMD64 ABI is supported.
70 * Initial support for Intel APX: 32 GPRs, NDD, PUSH2/POP2 and PUSHP/POPP.
72 * Add support for Intel USER_MSR instructions.
74 * Add support for Intel AVX10.1.
76 * Add support for Intel PBNDKB instructions.
78 * Add support for Intel SM4 instructions.
80 * Add support for Intel SM3 instructions.
82 * Add support for Intel SHA512 instructions.
84 * Add support for Intel AVX-VNNI-INT16 instructions.
86 * On RISC-V macro instructions expanding to AUIPC and a load, store, or branch
87   no longer accept x0 as an intermediate and/or destination register.
89 * Add support for RISC-V T-Head extensions (XTheadVector, XTheadZvlsseg
90   and XTheadZvamo) from version 2.3.0 of the T-Head ISA manual.
92 * Add support for RISC-V CORE-V extensions (XCVmac, XCValu) with version 1.0.
94 * Add support for RISC-V SiFive VCIX extension (XSfVcp) with version 1.0.
96 * The BPF assembler now uses semi-colon (;) to separate statements, and
97   therefore they cannot longer be used to begin line comments. This matches the
98   behavior of the clang/LLVM BPF assembler.
100 * The BPF assembler now allows using both hash (#) and double slash (//) to
101   begin line comments.
103 * Add support for LoongArch v1.10 new instructions: estimated reciprocal
104   instructions, sub-word atomic instructions, atomic CAS instructions,
105   16-byte store-conditional instruction, load-linked instructions with
106   acquire semantics, and store-conditional instructions with release
107   semantics.
109 * The %call36 relocation operator, along with the pseudo-instructions
110   call36 and tail36, are now usable with the LoongArch "medium" code
111   model, allowing text sections up to 128 GiB.
113 * TLS descriptors (TLSDESC) are now supported on LoongArch. This includes
114   the following new relocation operators: %desc_pc_hi20, %desc_pc_lo12,
115   %desc_ld, and %desc_call, and the la.tls.desc pseudo-instruction.
117 * TLS LE relaxation is now supported on LoongArch. New relocation
118   operators %le_hi20_r, %le_lo12r, and %le_add_r are now available.
120 * Add support for LoongArch branch relaxation: a conditional branch with
121   destination out of its immediate operand range, but still within
122   a "b"'s range, is now assembled as an inverted branch and a "b". This
123   works around the unreliable branch offset estimation of the compiler
124   when .align directive is encoded into a long NOP sequence with an
125   R_LARCH_RELAX by the assembler.
127 * Symbol or label names in LoongArch assembly can now be spelled with
128   double-quotes.
130 Changes in 2.41:
132 * Add support for the KVX instruction set.
134 * Add support for Intel FRED instructions.
136 * Add support for Intel LKGS instructions.
138 * Add support for Intel AMX-COMPLEX instructions.
140 * Add SME2 support to the AArch64 port.
142 * A new .insn directive is recognized by x86 gas.
144 * Add support for LoongArch LSX instructions.
146 * Add support for LoongArch LASX instructions.
148 * Add support for LoongArch LVZ instructions.
150 * Add support for LoongArch LBT instructions.
152 * Initial LoongArch support for linker relaxation has been added.
154 * Deprecate the LoongArch register aliases $v0, $v1, $x, $fv0 and $fv1.
156 Changes in 2.40:
158 * Add support for Intel RAO-INT instructions.
160 * Add support for Intel AVX-NE-CONVERT instructions.
162 * Add support for Intel MSRLIST instructions.
164 * Add support for Intel WRMSRNS instructions.
166 * Add support for Intel CMPccXADD instructions.
168 * Add support for Intel AVX-VNNI-INT8 instructions.
170 * Add support for Intel AVX-IFMA instructions.
172 * Add support for Intel PREFETCHI instructions.
174 * Add support for Intel AMX-FP16 instructions.
176 * gas now supports --compress-debug-sections=zstd to compress
177   debug sections with zstd.
179 * Add --enable-default-compressed-debug-sections-algorithm={zlib,zstd}
180   that selects the default compression algorithm
181   for --enable-compressed-debug-sections.
183 * Add support for various T-Head extensions (XTheadBa, XTheadBb, XTheadBs,
184   XTheadCmo, XTheadCondMov, XTheadFMemIdx, XTheadFmv, XTheadInt, XTheadMemIdx,
185   XTheadMemPair, XTheadMac, and XTheadSync) from version 2.0 of the T-Head
186   ISA manual, which are implemented in the Allwinner D1.
188 * Add support for the RISC-V Zawrs extension, version 1.0-rc4.
190 * Add support for Cortex-X1C for Arm.
192 * New command line option --gsframe to generate SFrame unwind information
193   on x86_64 and aarch64 targets.
195 Changes in 2.39:
197 * Remove (rudimentary) support for the x86-64 sub-architectures Intel L1OM and
198   Intel K1OM.
200 * Add support for the RISC-V Zicbop, Zicbom, and Zicboz extensions, version
201   1.0-fd39d01.
203 * Add support for the RISC-V Zfh extension, version 1.0.
205 * Add support for the Zhinx extension, version 1.0.0-rc.
207 * Add support for the RISC-V H extension.
209 * Add support for the RISC-V Zfhmin extension, version 1.0, and Zhinxmin
210   extension, version 1.0.0-rc.
212 Changes in 2.38:
214 * Add support for AArch64 system registers that were missing in previous
215   releases.
217 * Add support for the LoongArch instruction set.
219 * Add a command-line option, -muse-unaligned-vector-move, for x86 target
220   to encode aligned vector move as unaligned vector move.
222 * Add support for Cortex-R52+ for Arm.
224 * Add support for Cortex-A510, Cortex-A710, Cortex-X2 for AArch64.
226 * Add support for Cortex-A710 for Arm.
228 * Add support for Scalable Matrix Extension (SME) for AArch64.
230 * The --multibyte-handling=[allow|warn|warn-sym-only] option tells the
231   assembler what to when it encoutners multibyte characters in the input.  The
232   default is to allow them.  Setting the option to "warn" will generate a
233   warning message whenever any multibyte character is encountered.  Using the
234   option to "warn-sym-only" will make the assembler generate a warning whenever a
235   symbol is defined containing multibyte characters.  (References to undefined
236   symbols will not generate warnings).
238 * Outputs of .ds.x directive and .tfloat directive with hex input from
239   x86 assembler have been reduced from 12 bytes to 10 bytes to match the
240   output of .tfloat directive.
242 * Add support for 'armv8.8-a', 'armv9-a', 'armv9.1-a', 'armv9.2-a' and
243   'armv9.3-a' for -march in AArch64 GAS.
245 * Add support for 'armv8.7-a', 'armv8.8-a', 'armv9-a', 'armv9.1-a',
246   'armv9.2-a' and 'armv9.3-a' for -march in Arm GAS.
248 * Add support for Intel AVX512_FP16 instructions.
250 * Add support for the RISC-V scalar crypto extension, version 1.0.0.
252 * Add support for the RISC-V vector extension, version 1.0.
254 * Add support for the Z{f,d,q}inx extensions, version 1.0.0-rc.
256 * Add support for the RISC-V svinval extension, version 1.0.
258 * Add support for the RISC-V hypervisor extension, as defined by Privileged
259   Specification 1.12.
261 Changes in 2.37:
263 * arm-symbianelf support removed.
265 * Add support for Realm Management Extension (RME) for AArch64.
267 * Add support for the Zba, Zbb, Zbc, and Zbs subsets of the RISC-V
268   bit manipulation extension, version 0.93.
270 Changes in 2.36:
272 * Add support for Intel AVX VNNI instructions.
274 * Add support for Intel HRESET instruction.
276 * Add support for Intel UINTR instructions.
278 * Support non-absolute segment values for i386 lcall and ljmp.
280 * When setting the link order attribute of ELF sections, it is now possible to
281   use a numeric section index instead of symbol name.
283 * Add support for Cortex-A78, Cortex-A78AE, Cortex-A78C and Cortex-X1 for
284   AArch64 and ARM.
285   Add support for Cortex-R82, Neoverse V1, and Neoverse N2 for ARM.
287 * Add support for ETMv4 (Embedded Trace Macrocell), ETE (Embedded Trace
288   Extension), TRBE (Trace Buffer Extension)and BRBE (Branch Record Buffer
289   Extension) system registers for AArch64.
291 * Add support for Armv8-R and Armv8.7-A AArch64.
293 * Add support for DSB memory nXS barrier, WFET and WFIT instruction for Armv8.7
294   AArch64.
296 * Add support for +flagm feature for -march in Armv8.4 AArch64.
298 * Add support for +ls64 feature for -march in Armv8.7 AArch64. Add atomic
299   64-byte load/store instructions for this feature.
301 * Add support for +pauth (Pointer Authentication) feature for -march in
302   AArch64.
304 * Add support for Intel TDX instructions.
306 * Add support for Intel Key Locker instructions.
308 * Added a .nop directive to generate a single no-op instruction in a target
309   neutral manner.  This instruction does have an effect on DWARF line number
310   generation, if that is active.
312 * Removed --reduce-memory-overheads and --hash-size as gas now
313   uses hash tables that can be expand and shrink automatically.
315 * Add {disp16} pseudo prefix to x86 assembler.
317 * Add support for Intel AMX instructions.
319 * Configure with --enable-x86-used-note by default for Linux/x86.
321 * Add support for the SHF_GNU_RETAIN flag, which can be applied to
322   sections using the 'R' flag in the .section directive.
323   SHF_GNU_RETAIN specifies that the section should not be garbage
324   collected by the linker.  It requires the GNU or FreeBSD ELF OSABIs.
326 * Add support for the RISC-V Zihintpause extension.
328 Changes in 2.35:
330 * X86 NaCl target support is removed.
332 * Extend .symver directive to update visibility of the original symbol
333   and assign one original symbol to different versioned symbols.
335 * Add support for Intel SERIALIZE and TSXLDTRK instructions.
337 * Add -mlfence-after-load=, -mlfence-before-indirect-branch= and
338   -mlfence-before-ret= options to x86 assembler to help mitigate
339   CVE-2020-0551.
341 * Add --gdwarf-5 option to the assembler to generate DWARF 5 debug output
342   (if such output is being generated).  Added the ability to generate
343   version 5 .debug_line sections.
345 * Add -mbig-obj support to i386 MingW targets.
347 * Add support for the -mriscv-isa-version argument, to select the version of
348   the RISC-V ISA specification used when assembling.
350 * Remove support for the RISC-V privileged specification, version 1.9.
352 Changes in 2.34:
354 * Add -malign-branch-boundary=NUM, -malign-branch=TYPE[+TYPE...],
355   -malign-branch-prefix-size=NUM and -mbranches-within-32B-boundaries
356   options to x86 assembler to align branches within a fixed boundary
357   with segment prefixes or NOPs.
359 * Add support for Zilog eZ80 and Zilog Z180 CPUs.
361 * Add support for z80-elf target.
363 * Add support for relocation of each byte or word of multibyte value to Z80
364   targets (just use right shift to 0, 8, 16, or 24 bits or AND operation
365   with 0xff/0xffff mask): ld a, label >> 16 \ ld hl, label & 0xffff
367 * Add SDCC support for Z80 targets.
369 Changes in 2.33:
371 * Add support for the Arm Scalable Vector Extension version 2 (SVE2)
372   instructions.
374 * Add support for the Arm Transactional Memory Extension (TME)
375   instructions.
377 * Add support for the Armv8.1-M Mainline and M-profile Vector Extension (MVE)
378   instructions.
380 * For MIPS, Add -m[no-]fix-loongson3-llsc option to fix (or not) Loongson3
381   LLSC Errata.  Add a --enable-mips-fix-loongson3-llsc=[yes|no] configure
382   time option to set the default behavior. Set the default if the configure
383   option is not used to "no".
385 * Add support for the Arm Cortex-A76AE, Cortex-A77 and Cortex-M35P
386   processors.
388 * Add support for the AArch64 Cortex-A34, Cortex-A65, Cortex-A65AE,
389   Cortex-A76AE, and Cortex-A77 processors.
391 * Add .float16 directive for both Arm and AArch64 to allow encoding of 16-bit
392   floating point literals.  Add .float16_format directive and
393   -mfp16-format=[ieee|alternative] option for Arm to control the format of the
394   encoding.
396 * Add --gdwarf-cie-version command line flag.  This allows control over which
397   version of DWARF CIE the assembler creates.
399 Changes in 2.32:
401 * Add -mvexwig=[0|1] option to x86 assembler to control encoding of
402   VEX.W-ignored (WIG) VEX instructions.
404 * Add -mx86-used-note=[yes|no] option to generate (or not) x86 GNU property
405   notes.  Add a --enable-x86-used-note configure time option to set the
406   default behavior.  Set the default if the configure option is not used
407   to "no".
409 * Add support for the MIPS Loongson EXTensions R2 (EXT2) instructions.
411 * Add support for the MIPS Loongson EXTensions (EXT) instructions.
413 * Add support for the MIPS Loongson Content Address Memory (CAM) ASE.
415 * Add support for the C-SKY processor series.
417 * Add support for the MIPS Loongson MultiMedia extensions Instructions (MMI)
418   ASE.
420 Changes in 2.31:
422 * The ADR and ADRL pseudo-instructions supported by the ARM assembler
423   now only set the bottom bit of the address of thumb function symbols
424   if the -mthumb-interwork command line option is active.
426 * Add support for the MIPS Global INValidate (GINV) ASE.
428 * Add support for the MIPS Cyclic Redudancy Check (CRC) ASE.
430 * Add support for the Freescale S12Z architecture.
432 * Add --generate-missing-build-notes=[yes|no] option to create (or not) GNU
433   Build Attribute notes if none are present in the input sources.  Add a
434   --enable-generate-build-notes=[yes|no] configure time option to set the
435   default behaviour.  Set the default if the configure option is not used
436   to "no".
438 * Remove -mold-gcc command-line option for x86 targets.
440 * Add -O[2|s] command-line options to x86 assembler to enable alternate
441   shorter instruction encoding.
443 * Add support for .nops directive.  It is currently supported only for
444   x86 targets.
446 * Add support for the .insn directive on RISC-V targets.
448 Changes in 2.30:
450 * Add support for loaction views in DWARF debug line information.
452 Changes in 2.29:
454 * Add support for ELF SHF_GNU_MBIND.
456 * Add support for the WebAssembly file format and wasm32 ELF conversion.
458 * PowerPC gas now checks that the correct register class is used in
459   instructions.  For instance, "addi %f4,%cr3,%r31" warns three times
460   that the registers are invalid.
462 * Add support for the Texas Instruments PRU processor.
464 * Support for the ARMv8-R architecture and Cortex-R52 processor has been
465   added to the ARM port.
467 Changes in 2.28:
469 * Add support for the RISC-V architecture.
471 * Add support for the ARM Cortex-M23 and Cortex-M33 processors.
473 Changes in 2.27:
475 * Default to --enable-compressed-debug-sections=gas for Linux/x86 targets.
477 * Add --no-pad-sections to stop the assembler from padding the end of output
478   sections up to their alignment boundary.
480 * Support for the ARMv8-M architecture has been added to the ARM port.  Support
481   for the ARMv8-M Security and DSP Extensions has also been added to the ARM
482   port.
484 * ARC backend accepts .extInstruction, .extCondCode, .extAuxRegister, and
485   .extCoreRegister pseudo-ops that allow an user to define custom
486   instructions, conditional codes, auxiliary and core registers.
488 * Add a configure option --enable-elf-stt-common to decide whether ELF
489   assembler should generate common symbols with the STT_COMMON type by
490   default.  Default to no.
492 * New command-line option --elf-stt-common= for ELF targets to control
493   whether to generate common symbols with the STT_COMMON type.
495 * Add ability to set section flags and types via numeric values for ELF
496   based targets.
498 * Add a configure option --enable-x86-relax-relocations to decide whether
499   x86 assembler should generate relax relocations by default.  Default to
500   yes, except for x86 Solaris targets older than Solaris 12.
502 * New command-line option -mrelax-relocations= for x86 target to control
503   whether to generate relax relocations.
505 * New command-line option -mfence-as-lock-add=yes for x86 target to encode
506   lfence, mfence and sfence as "lock addl $0x0, (%[re]sp)".
508 * Add assembly-time relaxation option for ARC cpus.
510 * Add --with-cpu=TYPE configure option for ARC gas.  This allows the default
511   cpu type to be adjusted at configure time.
513 Changes in 2.26:
515 * Add a configure option --enable-compressed-debug-sections={all,gas} to
516   decide whether DWARF debug sections should be compressed by default.
518 * Add support for the ARC EM/HS, and ARC600/700 architectures.  Remove
519   assembler support for Argonaut RISC architectures.
521 * Symbol and label names can now be enclosed in double quotes (") which allows
522   them to contain characters that are not part of valid symbol names in high
523   level languages.
525 * Added the correctly spelled -march=armv6kz, for ARMv6KZ support.  The
526   previous spelling, -march=armv6zk, is still accepted.
528 * Support for the ARMv8.1 architecture has been added to the Aarch64 port.
529   Support for the individual ARMv8.1 Adv.SIMD, LOR and PAN architecture
530   extensions has also been added to the Aarch64 port.
532 * Support for the ARMv8.1 architecture has been added to the ARM port.  Support
533   for the individual ARMv8.1 Adv.SIMD and PAN architecture extensions has also
534   been added to the ARM port.
536 * Extend --compress-debug-sections option to support
537   --compress-debug-sections=[none|zlib|zlib-gnu|zlib-gabi] for ELF
538   targets.
540 * --compress-debug-sections is turned on for Linux/x86 by default.
542 Changes in 2.25:
544 * Add support for the AVR Tiny microcontrollers.
546 * Replace support for openrisc and or32 with support for or1k.
548 * Enhanced the ARM port to accept the assembler output from the CodeComposer
549   Studio tool.  Support is enabled via the new command-line option -mccs.
551 * Add support for the Andes NDS32.
553 Changes in 2.24:
555 * Add support for the Texas Instruments MSP430X processor.
557 * Add -gdwarf-sections command-line option to enable per-code-section
558   generation of DWARF .debug_line sections.
560 * Add support for Altera Nios II.
562 * Add support for the Imagination Technologies Meta processor.
564 * Add support for the v850e3v5.
566 * Remove assembler support for MIPS ECOFF targets.
568 Changes in 2.23:
570 * Add support for the 64-bit ARM architecture: AArch64.
572 * Add support for S12X processor.
574 * Add support for the VLE extension to the PowerPC architecture.
576 * Add support for the Freescale XGATE architecture.
578 * Add support for .bundle_align_mode, .bundle_lock, and .bundle_unlock
579   directives.  These are currently available only for x86 and ARM targets.
581 * Add support for the Renesas RL78 architecture.
583 * Add support for the Adapteva EPIPHANY architecture.
585 * For x86, allow 'rep bsf', 'rep bsr', and 'rep ret' syntax.
587 Changes in 2.22:
589 * Add support for the Tilera TILEPro and TILE-Gx architectures.
591 Changes in 2.21:
593 * Gas no longer requires doubling of ampersands in macros.
595 * Add support for the TMS320C6000 (TI C6X) processor family.
597 * GAS now understands an extended syntax in the .section directive flags
598   for COFF targets that allows the section's alignment to be specified.  This
599   feature has also been backported to the 2.20 release series, starting with
600   2.20.1.
602 * Add support for the Renesas RX processor.
604 * New command-line option, --compress-debug-sections, which requests
605   compression of DWARF debug information sections in the relocatable output
606   file.  Compressed debug sections are supported by readelf, objdump, and
607   gold, but not currently by Gnu ld.
609 Changes in 2.20:
611 * Added support for v850e2 and v850e2v3.
613 * GNU/Linux targets now supports "gnu_unique_object" as a value in the .type
614   pseudo op.  It marks the symbol as being globally unique in the entire
615   process.
617 * ARM assembler now supports .inst[.nw] pseudo-ops to insert opcodes specified
618   in binary rather than text.
620 * Add support for common symbol alignment to PE formats.
622 * Add support for the new discriminator column in the DWARF line table,
623   with a discriminator operand for the .loc directive.
625 * Add support for Sunplus score architecture.
627 * The .type pseudo-op now accepts a type of STT_GNU_IFUNC which can be used to
628   indicate that if the symbol is the target of a relocation, its value should
629   not be use.  Instead the function should be invoked and its result used as
630   the value.
632 * Add support for Lattice Mico32 (lm32) architecture.
634 * Add support for Xilinx MicroBlaze architecture.
636 Changes in 2.19:
638 * New pseudo op .cfi_val_encoded_addr, to record constant addresses in unwind
639   tables without runtime relocation.
641 * New command-line option, -h-tick-hex, for sh, m32c, and h8/300 targets, which
642   adds compatibility with H'00 style hex constants.
644 * New command-line option, -msse-check=[none|error|warning], for x86
645   targets.
647 * New sub-option added to the assembler's -a command-line switch to
648   generate a listing output.  The 'g' sub-option will insert into the listing
649   various information about the assembly, such as assembler version, the
650   command-line options used, and a time stamp.
652 * New command-line option -msse2avx for x86 target to encode SSE
653   instructions with VEX prefix.
655 * Add Intel XSAVE, EPT, MOVBE, AES, PCLMUL, AVX/FMA support for x86 target.
657 * New command-line options, -march=CPU[,+EXTENSION...], -mtune=CPU,
658   -mmnemonic=[att|intel], -msyntax=[att|intel], -mindex-reg,
659   -mnaked-reg and -mold-gcc, for x86 targets.
661 * Support for generating wide character strings has been added via the new
662   pseudo ops: .string16, .string32 and .string64.
664 * Support for SSE5 has been added to the i386 port.
666 Changes in 2.18:
668 * The GAS sources are now released under the GPLv3.
670 * Support for the National Semiconductor CR16 target has been added.
672 * Added gas .reloc pseudo.  This is a low-level interface for creating
673   relocations.
675 * Add support for x86_64 PE+ target.
677 * Add support for Score target.
679 Changes in 2.17:
681 * Support for the Infineon XC16X has been added by KPIT Cummins Infosystems.
683 * Support for ms2 architecture has been added.
685 * Support for the Z80 processor family has been added.
687 * Add support for the "@<file>" syntax to the command line, so that extra
688   switches can be read from <file>.
690 * The SH target supports a new command-line switch --enable-reg-prefix which,
691   if enabled, will allow register names to be optionally prefixed with a $
692   character.  This allows register names to be distinguished from label names.
694 * Macros with a variable number of arguments are now supported. See the
695   documentation for how this works.
697 * Added --reduce-memory-overheads switch to reduce the size of the hash
698   tables used, at the expense of longer assembly times, and
699   --hash-size=<NUMBER> to set the size of the hash tables used by gas.
701 * Macro names and macro parameter names can now be any identifier that would
702   also be legal as a symbol elsewhere. For macro parameter names, this is
703   known to cause problems in certain sources when the respective target uses
704   characters inconsistently, and thus macro parameter references may no longer
705   be recognized as such (see the documentation for details).
707 * Support the .f_floating, .d_floating, .g_floating and .h_floating directives
708   for the VAX target in order to be more compatible with the VAX MACRO
709   assembler.
711 * New command-line option -mtune=[itanium1|itanium2] for IA64 targets.
713 Changes in 2.16:
715 * Redefinition of macros now results in an error.
717 * New command-line option -mhint.b=[ok|warning|error] for IA64 targets.
719 * New command-line option -munwind-check=[warning|error] for IA64
720   targets.
722 * The IA64 port now uses automatic dependency violation removal as its default
723   mode.
725 * Port to MAXQ processor contributed by HCL Tech.
727 * Added support for generating unwind tables for ARM ELF targets.
729 * Add a -g command-line option to generate debug information in the target's
730   preferred debug format.
732 * Support for the crx-elf target added.
734 * Support for the sh-symbianelf target added.
736 * Added a pseudo-op (.secrel32) to generate 32 bit section relative relocations
737   on pe[i]-i386; required for this target's DWARF 2 support.
739 * Support for Motorola MCF521x/5249/547x/548x added.
741 * Support for ColdFire EMAC instructions added and Motorola syntax for MAC/EMAC
742   instrucitons.
744 * New command-line option -mno-shared for MIPS ELF targets.
746 * New command-line option --alternate and pseudo-ops .altmacro and .noaltmacro
747   added to enter (and leave) alternate macro syntax mode.
749 Changes in 2.15:
751 * The MIPS -membedded-pic option (Embedded-PIC code generation) is
752   deprecated and will be removed in a future release.
754 * Added PIC m32r Linux (ELF) and support to M32R assembler.
756 * Added support for ARM V6.
758 * Added support for sh4a and variants.
760 * Support for Renesas M32R2 added.
762 * Limited support for Mapping Symbols as specified in the ARM ELF
763   specification has been added to the arm assembler.
765 * On ARM architectures, added a new gas directive ".unreq" that undoes
766   definitions created by ".req".
768 * Support for Motorola ColdFire MCF528x added.
770 * Added --gstabs+ switch to enable the generation of STABS debug format
771   information with GNU extensions.
773 * Added support for MIPS64 Release 2.
775 * Added support for v850e1.
777 * Added -n switch for x86 assembler.  By default, x86 GAS replaces
778   multiple nop instructions used for alignment within code sections
779   with multi-byte nop instructions such as leal 0(%esi,1),%esi.  This
780   switch disables the optimization.
782 * Removed -n option from MIPS assembler.  It was not useful, and confused the
783   existing -non_shared option.
785 Changes in 2.14:
787 * Added support for MIPS32 Release 2.
789 * Added support for Xtensa architecture.
791 * Support for Intel's iWMMXt processor (an ARM variant) added.
793 * An assembler test generator has been contributed and an example file that
794   uses it (gas/testsuite/gas/all/test-gen.c and test-exmaple.c).
796 * Support for SH2E added.
798 * GASP has now been removed.
800 * Support for Texas Instruments TMS320C4x and TMS320C3x series of
801   DSP's contributed by Michael Hayes and Svein E. Seldal.
803 * Support for the Ubicom IP2xxx microcontroller added.
805 Changes in 2.13:
807 * Support for the Fujitsu FRV architecture added by Red Hat. Models for FR400
808   and FR500 included.
810 * Support for DLX processor added.
812 * GASP has now been deprecated and will be removed in a future release.  Use
813   the macro facilities in GAS instead.
815 * GASP now correctly parses floating point numbers. Unless the base is
816   explicitly specified, they are interpreted as decimal numbers regardless of
817   the currently specified base.
819 Changes in 2.12:
821 * Support for Don Knuth's MMIX, by Hans-Peter Nilsson.
823 * Support for the OpenRISC 32-bit embedded processor by OpenCores.
825 * The ARM assembler now accepts -march=..., -mcpu=... and -mfpu=... for
826   specifying the target instruction set.  The old method of specifying the
827   target processor has been deprecated, but is still accepted for
828   compatibility.
830 * Support for the VFP floating-point instruction set has been added to
831   the ARM assembler.
833 * New psuedo op: .incbin to include a set of binary data at a given point
834   in the assembly.  Contributed by Anders Norlander.
836 * The MIPS assembler now accepts -march/-mtune. -mcpu has been deprecated
837   but still works for compatability.
839 * The MIPS assembler no longer issues a warning by default when it
840   generates a nop instruction from a macro. The new command-line option
841   -n will turn on the warning.
843 Changes in 2.11:
845 * Support for PDP-11 and 2.11BSD a.out format, by Lars Brinkhoff.
847 * x86 gas now supports the full Pentium4 instruction set.
849 * Support for AMD x86-64 architecture, by Jan Hubicka, SuSE Labs.
851 * Support for Motorola 68HC11 and 68HC12.
853 * Support for Texas Instruments TMS320C54x (tic54x).
855 * Support for IA-64.
857 * Support for i860, by Jason Eckhardt.
859 * Support for CRIS (Axis Communications ETRAX series).
861 * x86 gas has a new .arch pseudo op to specify the target CPU architecture.
863 * x86 gas -q command-line option quietens warnings about register size changes
864   due to suffix, indirect jmp/call without `*', stand-alone prefixes, and
865   translating various deprecated floating point instructions.
867 Changes in 2.10:
869 * Support for the ARM msr instruction was changed to only allow an immediate
870   operand when altering the flags field.
872 * Support for ATMEL AVR.
874 * Support for IBM 370 ELF.  Somewhat experimental.
876 * Support for numbers with suffixes.
878 * Added support for breaking to the end of repeat loops.
880 * Added support for parallel instruction syntax (DOUBLEBAR_PARALLEL).
882 * New .elseif pseudo-op added.
884 * New --fatal-warnings option.
886 * picoJava architecture support added.
888 * Motorola MCore 210 processor support added.
890 * A new pseudo-op .intel_syntax has been implemented to allow gas to parse i386
891   assembly programs with intel syntax.
893 * New pseudo-ops .func,.endfunc to aid in debugging user-written assembler code.
895 * Added -gdwarf2 option to generate DWARF 2 debugging information.
897 * Full 16-bit mode support for i386.
899 * Greatly improved instruction operand checking for i386.  This change will
900   produce errors or warnings on incorrect assembly code that previous versions
901   of gas accepted.  If you get unexpected messages from code that worked with
902   older versions of gas, please double check the code before reporting a bug.
904 * Weak symbol support added for COFF targets.
906 * Mitsubishi D30V support added.
908 * Texas Instruments c80 (tms320c80) support added.
910 * i960 ELF support added.
912 * ARM ELF support added.
914 Changes in 2.9:
916 * Texas Instruments c30 (tms320c30) support added.
918 * The assembler now optimizes the exception frame information generated by egcs
919   and gcc 2.8.  The new --traditional-format option disables this optimization.
921 * Added --gstabs option to generate stabs debugging information.
923 * The -a option takes a new suboption, m (e.g., -alm) to expand macros in a
924   listing.
926 * Added -MD option to print dependencies.
928 Changes in 2.8:
930 * BeOS support added.
932 * MIPS16 support added.
934 * Motorola ColdFire 5200 support added (configure for m68k and use -m5200).
936 * Alpha/VMS support added.
938 * m68k options --base-size-default-16, --base-size-default-32,
939   --disp-size-default-16, and --disp-size-default-32 added.
941 * The alignment directives now take an optional third argument, which is the
942   maximum number of bytes to skip.  If doing the alignment would require
943   skipping more than the given number of bytes, the alignment is not done at
944   all.
946 * The ELF assembler has a new pseudo-op, .symver, used for symbol versioning.
948 * The -a option takes a new suboption, c (e.g., -alc), to skip false
949   conditionals in listings.
951 * Added new pseudo-op, .equiv; it's like .equ, except that it is an error if
952   the symbol is already defined.
954 Changes in 2.7:
956 * The PowerPC assembler now allows the use of symbolic register names (r0,
957   etc.) if -mregnames is used.  Symbolic names preceded by a '%' (%r0, etc.)
958   can be used any time.  PowerPC 860 move to/from SPR instructions have been
959   added.
961 * Alpha Linux (ELF) support added.
963 * PowerPC ELF support added.
965 * m68k Linux (ELF) support added.
967 * i960 Hx/Jx support added.
969 * i386/PowerPC gnu-win32 support added.
971 * SCO ELF support added.  For OpenServer 5 targets (i386-unknown-sco3.2v5) the
972   default is to build COFF-only support.  To get a set of tools that generate
973   ELF (they'll understand both COFF and ELF), you must configure with
974   target=i386-unknown-sco3.2v5elf.
976 * m88k-motorola-sysv3* support added.
978 Changes in 2.6:
980 * Gas now directly supports macros, without requiring GASP.
982 * Gas now has an MRI assembler compatibility mode.  Use -M or --mri to select
983   MRI mode.  The pseudo-op ``.mri 1'' will switch into the MRI mode until the
984   ``.mri 0'' is seen; this can be convenient for inline assembler code.
986 * Added --defsym SYM=VALUE option.
988 * Added -mips4 support to MIPS assembler.
990 * Added PIC support to Solaris and SPARC SunOS 4 assembler.
992 Changes in 2.4:
994 * Converted this directory to use an autoconf-generated configure script.
996 * ARM support, from Richard Earnshaw.
998 * Updated VMS support, from Pat Rankin, including considerably improved
999   debugging support.
1001 * Support for the control registers in the 68060.
1003 * Handles (ignores) a new directive ".this_GCC_requires_the_GNU_assembler", to
1004   provide for possible future gcc changes, for targets where gas provides some
1005   features not available in the native assembler.  If the native assembler is
1006   used, it should become obvious pretty quickly what the problem is.
1008 * Usage message is available with "--help".
1010 * The GNU Assembler Preprocessor (gasp) is included.  (Actually, it was in 2.3
1011   also, but didn't get into the NEWS file.)
1013 * Weak symbol support for a.out.
1015 * A bug in the listing code which could cause an infinite loop has been fixed.
1016   Bugs in listings when generating a COFF object file have also been fixed.
1018 * Initial i386-svr4 PIC implementation from Eric Youngdale, based on code by
1019   Paul Kranenburg.
1021 * Improved Alpha support.  Immediate constants can have a much larger range
1022   now. Support for the 21164 has been contributed by Digital.
1024 * Updated ns32k (pc532-mach, netbsd532) support from Ian Dall.
1026 Changes in 2.3:
1028 * Mach i386 support, by David Mackenzie and Ken Raeburn.
1030 * RS/6000 and PowerPC support by Ian Taylor.
1032 * VMS command scripts (make-gas.com, config-gas.com) have been worked on a bit,
1033   based on mail received from various people.  The `-h#' option should work
1034   again too.
1036 * HP-PA work, by Jeff Law.  Note, for the PA, gas-2.3 has been designed to work
1037   with gdb-4.12 and gcc-2.6.  As gcc-2.6 has not been released yet, a special
1038   version of gcc-2.5.8 has been patched to work with gas-2.3.  You can retrieve
1039   this special version of gcc-2.5.8 via anonymous ftp from jaguar.cs.utah.edu
1040   in the "dist" directory.
1042 * Vax support in gas fixed for BSD, so it builds and seems to run a couple
1043   simple tests okay.  I haven't put it through extensive testing.  (GNU make is
1044   currently required for BSD 4.3 builds.)
1046 * Support for the DEC Alpha, running OSF/1 (ECOFF format).  The gas support is
1047   based on code donated by CMU, which used an a.out-based format.  I'm afraid
1048   the alpha-a.out support is pretty badly mangled, and much of it removed;
1049   making it work will require rewriting it as BFD support for the format anyways.
1051 * Irix 5 support.
1053 * The test suites have been fixed up a bit, so that they should work with a
1054   couple different versions of expect and dejagnu.
1056 * Symbols' values are now handled internally as expressions, permitting more
1057   flexibility in evaluating them in some cases.  Some details of relocation
1058   handling have also changed, and simple constant pool management has been
1059   added, to make the Alpha port easier.
1061 * New option "--statistics" for printing out program run times.  This is
1062   intended to be used with the gcc "-Q" option, which prints out times spent in
1063   various phases of compilation.  (You should be able to get all of them
1064   printed out with "gcc -Q -Wa,--statistics", I think.)
1066 Changes in 2.2:
1068 * RS/6000 AIX and MIPS SGI Irix 5 support has been added.
1070 * Configurations that are still in development (and therefore are convenient to
1071   have listed in configure.in) still get rejected without a minor change to
1072   gas/Makefile.in, so people not doing development work shouldn't get the
1073   impression that support for such configurations is actually believed to be
1074   reliable.
1076 * The program name (usually "as") is printed when a fatal error message is
1077   displayed.  This should prevent some confusion about the source of occasional
1078   messages about "internal errors".
1080 * ELF support is falling into place.  Support for the 386 should be working.
1081   Support for SPARC Solaris is in.  HPPA support from Utah is being integrated.
1083 * Symbol values are maintained as expressions instead of being immediately
1084   boiled down to add-symbol, sub-symbol, and constant.  This permits slightly
1085   more complex calculations involving symbols whose values are not alreadey
1086   known.
1088 * DBX-style debugging info ("stabs") is now supported for COFF formats.
1089   If any stabs directives are seen in the source, GAS will create two new
1090   sections: a ".stab" and a ".stabstr" section.  The format of the .stab
1091   section is nearly identical to the a.out symbol format, and .stabstr is
1092   its string table.  For this to be useful, you must have configured GCC
1093   to generate stabs (by defining DBX_DEBUGGING_INFO), and must have a GDB
1094   that can use the stab sections (4.11 or later).
1096 * LynxOS, on i386 and m68k platforms, is now supported.  SPARC LynxOS
1097   support is in progress.
1099 Changes in 2.1:
1101 * Several small fixes for i386-aix (PS/2) support from Minh Tran-Le have been
1102   incorporated, but not well tested yet.
1104 * Altered the opcode table split for m68k; it should require less VM to compile
1105   with gcc now.
1107 * Some minor adjustments to add (Convergent Technologies') Miniframe support,
1108   suggested by Ronald Cole.
1110 * HPPA support (running OSF only, not HPUX) has been contributed by Utah.  This
1111   includes improved ELF support, which I've started adapting for SPARC Solaris
1112   2.x.  Integration isn't completely, so it probably won't work.
1114 * HP9000/300 support, donated by HP, has been merged in.
1116 * Ian Taylor has finished the MIPS ECOFF (Ultrix, Irix) support.
1118 * Better error messages for unsupported configurations (e.g., hppa-hpux).
1120 * Test suite framework is starting to become reasonable.
1122 Changes in 2.0:
1124 * Mostly bug fixes.
1126 * Some more merging of BFD and ELF code, but ELF still doesn't work.
1128 Changes in 1.94:
1130 * BFD merge is partly done.  Adventurous souls may try giving configure the
1131   "--with-bfd-assembler" option.  Currently, ELF format requires it, a.out
1132   format accepts it; SPARC CPU accepts it.  It's the default only for OS "elf"
1133   or "solaris".  (ELF isn't really supported yet.  It needs work.  I've got
1134   some code from Utah for HP-PA ELF, and from DG for m88k ELF, but they're not
1135   fully merged yet.)
1137 * The 68K opcode table has been split in half.  It should now compile under gcc
1138   without consuming ridiculous amounts of memory.
1140 * A couple data structures have been reduced in size.  This should result in
1141   saving a little bit of space at runtime.
1143 * Support for MIPS, from OSF and Ralph Campbell, has been merged in.  The OSF
1144   code provided ROSE format support, which I haven't merged in yet.  (I can
1145   make it available, if anyone wants to try it out.)  Ralph's code, for BSD
1146   4.4, supports a.out format.  We don't have ECOFF support in just yet; it's
1147   coming.
1149 * Support for the Hitachi H8/500 has been added.
1151 * VMS host and target support should be working now, thanks chiefly to Eric
1152   Youngdale.
1154 Changes in 1.93.01:
1156 * For m68k, support for more processors has been added: 68040, CPU32, 68851.
1158 * For i386, .align is now power-of-two; was number-of-bytes.
1160 * For m68k, "%" is now accepted before register names.  For COFF format, which
1161   doesn't use underscore prefixes for C labels, it is required, so variable "a0"
1162   can be distinguished from the register.
1164 * Last public release was 1.38.  Lots of configuration changes since then, lots
1165   of new CPUs and formats, lots of bugs fixed.
1168 Copyright (C) 2012-2024 Free Software Foundation, Inc.
1170 Copying and distribution of this file, with or without modification,
1171 are permitted in any medium without royalty provided the copyright
1172 notice and this notice are preserved.
1174 Local variables:
1175 fill-column: 79
1176 End: