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