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