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