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