Mention -mfence-as-lock-add=yes for x86 assembler
[external/binutils.git] / gas / NEWS
1 -*- text -*-
2
3 * New command line option -mfence-as-lock-add=yes for x86 target to encode
4   lfence, mfence and sfence as "lock addl $0x0, (%[re]sp)".
5
6 Changes in 2.26:
7
8 * Add a configure option --enable-compressed-debug-sections={all,gas} to
9   decide whether DWARF debug sections should be compressed by default.
10
11 * Add support for the ARC EM/HS, and ARC600/700 architectures.  Remove
12   assembler support for Argonaut RISC architectures.
13
14 * Symbol and label names can now be enclosed in double quotes (") which allows
15   them to contain characters that are not part of valid symbol names in high
16   level languages.
17
18 * Added the correctly spelled -march=armv6kz, for ARMv6KZ support.  The
19   previous spelling, -march=armv6zk, is still accepted.
20
21 * Support for the ARMv8.1 architecture has been added to the Aarch64 port.
22   Support for the individual ARMv8.1 Adv.SIMD, LOR and PAN architecture
23   extensions has also been added to the Aarch64 port.
24
25 * Support for the ARMv8.1 architecture has been added to the ARM port.  Support
26   for the individual ARMv8.1 Adv.SIMD and PAN architecture extensions has also
27   been added to the ARM port.
28
29 * Extend --compress-debug-sections option to support
30   --compress-debug-sections=[none|zlib|zlib-gnu|zlib-gabi] for ELF
31   targets.
32
33 * --compress-debug-sections is turned on for Linux/x86 by default.
34
35 Changes in 2.25:
36
37 * Add support for the AVR Tiny microcontrollers.
38
39 * Replace support for openrisc and or32 with support for or1k.
40
41 * Enhanced the ARM port to accept the assembler output from the CodeComposer
42   Studio tool.  Support is enabled via the new command line option -mccs.
43
44 * Add support for the Andes NDS32.
45
46 Changes in 2.24:
47
48 * Add support for the Texas Instruments MSP430X processor.
49
50 * Add -gdwarf-sections command line option to enable per-code-section
51   generation of DWARF .debug_line sections.
52
53 * Add support for Altera Nios II.
54
55 * Add support for the Imagination Technologies Meta processor.
56
57 * Add support for the v850e3v5.
58
59 * Remove assembler support for MIPS ECOFF targets.
60
61 Changes in 2.23:
62
63 * Add support for the 64-bit ARM architecture: AArch64.
64
65 * Add support for S12X processor.
66
67 * Add support for the VLE extension to the PowerPC architecture.
68
69 * Add support for the Freescale XGATE architecture.
70
71 * Add support for .bundle_align_mode, .bundle_lock, and .bundle_unlock
72   directives.  These are currently available only for x86 and ARM targets.
73
74 * Add support for the Renesas RL78 architecture.
75
76 * Add support for the Adapteva EPIPHANY architecture.
77
78 * For x86, allow 'rep bsf', 'rep bsr', and 'rep ret' syntax.
79
80 Changes in 2.22:
81
82 * Add support for the Tilera TILEPro and TILE-Gx architectures.
83
84 Changes in 2.21:
85
86 * Gas no longer requires doubling of ampersands in macros.
87
88 * Add support for the TMS320C6000 (TI C6X) processor family.
89
90 * GAS now understands an extended syntax in the .section directive flags
91   for COFF targets that allows the section's alignment to be specified.  This
92   feature has also been backported to the 2.20 release series, starting with
93   2.20.1.
94
95 * Add support for the Renesas RX processor.
96
97 * New command line option, --compress-debug-sections, which requests
98   compression of DWARF debug information sections in the relocatable output
99   file.  Compressed debug sections are supported by readelf, objdump, and
100   gold, but not currently by Gnu ld.
101
102 Changes in 2.20:
103
104 * Added support for v850e2 and v850e2v3.
105
106 * GNU/Linux targets now supports "gnu_unique_object" as a value in the .type
107   pseudo op.  It marks the symbol as being globally unique in the entire
108   process.
109
110 * ARM assembler now supports .inst[.nw] pseudo-ops to insert opcodes specified
111   in binary rather than text.
112
113 * Add support for common symbol alignment to PE formats.
114
115 * Add support for the new discriminator column in the DWARF line table,
116   with a discriminator operand for the .loc directive.
117
118 * Add support for Sunplus score architecture.
119
120 * The .type pseudo-op now accepts a type of STT_GNU_IFUNC which can be used to
121   indicate that if the symbol is the target of a relocation, its value should
122   not be use.  Instead the function should be invoked and its result used as
123   the value.
124
125 * Add support for Lattice Mico32 (lm32) architecture.
126
127 * Add support for Xilinx MicroBlaze architecture.
128
129 Changes in 2.19:
130
131 * New pseudo op .cfi_val_encoded_addr, to record constant addresses in unwind
132   tables without runtime relocation.
133
134 * New command line option, -h-tick-hex, for sh, m32c, and h8/300 targets, which
135   adds compatibility with H'00 style hex constants.
136
137 * New command line option, -msse-check=[none|error|warning], for x86
138   targets.
139
140 * New sub-option added to the assembler's -a command line switch to
141   generate a listing output.  The 'g' sub-option will insert into the listing
142   various information about the assembly, such as assembler version, the
143   command line options used, and a time stamp.
144
145 * New command line option -msse2avx for x86 target to encode SSE
146   instructions with VEX prefix.
147
148 * Add Intel XSAVE, EPT, MOVBE, AES, PCLMUL, AVX/FMA support for x86 target.
149
150 * New command line options, -march=CPU[,+EXTENSION...], -mtune=CPU,
151   -mmnemonic=[att|intel], -msyntax=[att|intel], -mindex-reg,
152   -mnaked-reg and -mold-gcc, for x86 targets.
153
154 * Support for generating wide character strings has been added via the new
155   pseudo ops: .string16, .string32 and .string64.
156
157 * Support for SSE5 has been added to the i386 port.
158
159 Changes in 2.18:
160
161 * The GAS sources are now released under the GPLv3.
162
163 * Support for the National Semiconductor CR16 target has been added.
164
165 * Added gas .reloc pseudo.  This is a low-level interface for creating
166   relocations.
167
168 * Add support for x86_64 PE+ target.
169
170 * Add support for Score target.
171
172 Changes in 2.17:
173
174 * Support for the Infineon XC16X has been added by KPIT Cummins Infosystems.
175
176 * Support for ms2 architecture has been added.
177
178 * Support for the Z80 processor family has been added.
179
180 * Add support for the "@<file>" syntax to the command line, so that extra
181   switches can be read from <file>.
182
183 * The SH target supports a new command line switch --enable-reg-prefix which,
184   if enabled, will allow register names to be optionally prefixed with a $
185   character.  This allows register names to be distinguished from label names.
186
187 * Macros with a variable number of arguments are now supported. See the
188   documentation for how this works.
189
190 * Added --reduce-memory-overheads switch to reduce the size of the hash
191   tables used, at the expense of longer assembly times, and
192   --hash-size=<NUMBER> to set the size of the hash tables used by gas.
193
194 * Macro names and macro parameter names can now be any identifier that would
195   also be legal as a symbol elsewhere. For macro parameter names, this is
196   known to cause problems in certain sources when the respective target uses
197   characters inconsistently, and thus macro parameter references may no longer
198   be recognized as such (see the documentation for details).
199
200 * Support the .f_floating, .d_floating, .g_floating and .h_floating directives
201   for the VAX target in order to be more compatible with the VAX MACRO
202   assembler.
203
204 * New command line option -mtune=[itanium1|itanium2] for IA64 targets.
205
206 Changes in 2.16:
207
208 * Redefinition of macros now results in an error.
209
210 * New command line option -mhint.b=[ok|warning|error] for IA64 targets.
211
212 * New command line option -munwind-check=[warning|error] for IA64
213   targets.
214
215 * The IA64 port now uses automatic dependency violation removal as its default
216   mode.
217
218 * Port to MAXQ processor contributed by HCL Tech.
219
220 * Added support for generating unwind tables for ARM ELF targets.
221
222 * Add a -g command line option to generate debug information in the target's
223   preferred debug format.
224
225 * Support for the crx-elf target added.
226
227 * Support for the sh-symbianelf target added.
228
229 * Added a pseudo-op (.secrel32) to generate 32 bit section relative relocations
230   on pe[i]-i386; required for this target's DWARF 2 support.
231
232 * Support for Motorola MCF521x/5249/547x/548x added.
233
234 * Support for ColdFire EMAC instructions added and Motorola syntax for MAC/EMAC
235   instrucitons.
236
237 * New command line option -mno-shared for MIPS ELF targets.
238
239 * New command line option --alternate and pseudo-ops .altmacro and .noaltmacro
240   added to enter (and leave) alternate macro syntax mode.
241
242 Changes in 2.15:
243
244 * The MIPS -membedded-pic option (Embedded-PIC code generation) is
245   deprecated and will be removed in a future release.
246
247 * Added PIC m32r Linux (ELF) and support to M32R assembler.
248
249 * Added support for ARM V6.
250
251 * Added support for sh4a and variants.
252
253 * Support for Renesas M32R2 added.
254
255 * Limited support for Mapping Symbols as specified in the ARM ELF
256   specification has been added to the arm assembler.
257
258 * On ARM architectures, added a new gas directive ".unreq" that undoes
259   definitions created by ".req".
260
261 * Support for Motorola ColdFire MCF528x added.
262
263 * Added --gstabs+ switch to enable the generation of STABS debug format
264   information with GNU extensions.
265
266 * Added support for MIPS64 Release 2.
267
268 * Added support for v850e1.
269
270 * Added -n switch for x86 assembler.  By default, x86 GAS replaces
271   multiple nop instructions used for alignment within code sections
272   with multi-byte nop instructions such as leal 0(%esi,1),%esi.  This
273   switch disables the optimization.
274
275 * Removed -n option from MIPS assembler.  It was not useful, and confused the
276   existing -non_shared option.
277
278 Changes in 2.14:
279
280 * Added support for MIPS32 Release 2.
281
282 * Added support for Xtensa architecture.
283
284 * Support for Intel's iWMMXt processor (an ARM variant) added.
285
286 * An assembler test generator has been contributed and an example file that
287   uses it (gas/testsuite/gas/all/test-gen.c and test-exmaple.c).
288
289 * Support for SH2E added.
290
291 * GASP has now been removed.
292
293 * Support for Texas Instruments TMS320C4x and TMS320C3x series of
294   DSP's contributed by Michael Hayes and Svein E. Seldal.
295
296 * Support for the Ubicom IP2xxx microcontroller added.
297
298 Changes in 2.13:
299
300 * Support for the Fujitsu FRV architecture added by Red Hat. Models for FR400
301   and FR500 included.
302
303 * Support for DLX processor added.
304
305 * GASP has now been deprecated and will be removed in a future release.  Use
306   the macro facilities in GAS instead.
307
308 * GASP now correctly parses floating point numbers. Unless the base is
309   explicitly specified, they are interpreted as decimal numbers regardless of
310   the currently specified base.
311
312 Changes in 2.12:
313
314 * Support for Don Knuth's MMIX, by Hans-Peter Nilsson.
315
316 * Support for the OpenRISC 32-bit embedded processor by OpenCores.
317
318 * The ARM assembler now accepts -march=..., -mcpu=... and -mfpu=... for
319   specifying the target instruction set.  The old method of specifying the
320   target processor has been deprecated, but is still accepted for
321   compatibility.
322
323 * Support for the VFP floating-point instruction set has been added to
324   the ARM assembler.
325
326 * New psuedo op: .incbin to include a set of binary data at a given point
327   in the assembly.  Contributed by Anders Norlander.
328
329 * The MIPS assembler now accepts -march/-mtune. -mcpu has been deprecated
330   but still works for compatability.
331
332 * The MIPS assembler no longer issues a warning by default when it
333   generates a nop instruction from a macro. The new command line option
334   -n will turn on the warning.
335
336 Changes in 2.11:
337
338 * Support for PDP-11 and 2.11BSD a.out format, by Lars Brinkhoff.
339
340 * x86 gas now supports the full Pentium4 instruction set.
341
342 * Support for AMD x86-64 architecture, by Jan Hubicka, SuSE Labs.
343
344 * Support for Motorola 68HC11 and 68HC12.
345
346 * Support for Texas Instruments TMS320C54x (tic54x).
347
348 * Support for IA-64.
349
350 * Support for i860, by Jason Eckhardt.
351
352 * Support for CRIS (Axis Communications ETRAX series).
353
354 * x86 gas has a new .arch pseudo op to specify the target CPU architecture.
355
356 * x86 gas -q command line option quietens warnings about register size changes
357   due to suffix, indirect jmp/call without `*', stand-alone prefixes, and
358   translating various deprecated floating point instructions.
359
360 Changes in 2.10:
361
362 * Support for the ARM msr instruction was changed to only allow an immediate
363   operand when altering the flags field.
364
365 * Support for ATMEL AVR.
366
367 * Support for IBM 370 ELF.  Somewhat experimental.
368
369 * Support for numbers with suffixes.
370
371 * Added support for breaking to the end of repeat loops.
372
373 * Added support for parallel instruction syntax (DOUBLEBAR_PARALLEL).
374
375 * New .elseif pseudo-op added.
376
377 * New --fatal-warnings option.
378
379 * picoJava architecture support added.
380
381 * Motorola MCore 210 processor support added.
382
383 * A new pseudo-op .intel_syntax has been implemented to allow gas to parse i386
384   assembly programs with intel syntax.
385
386 * New pseudo-ops .func,.endfunc to aid in debugging user-written assembler code.
387
388 * Added -gdwarf2 option to generate DWARF 2 debugging information.
389
390 * Full 16-bit mode support for i386.
391
392 * Greatly improved instruction operand checking for i386.  This change will
393   produce errors or warnings on incorrect assembly code that previous versions
394   of gas accepted.  If you get unexpected messages from code that worked with
395   older versions of gas, please double check the code before reporting a bug.
396
397 * Weak symbol support added for COFF targets.
398
399 * Mitsubishi D30V support added.
400
401 * Texas Instruments c80 (tms320c80) support added.
402
403 * i960 ELF support added.
404
405 * ARM ELF support added.
406
407 Changes in 2.9:
408
409 * Texas Instruments c30 (tms320c30) support added.
410
411 * The assembler now optimizes the exception frame information generated by egcs
412   and gcc 2.8.  The new --traditional-format option disables this optimization.
413
414 * Added --gstabs option to generate stabs debugging information.
415
416 * The -a option takes a new suboption, m (e.g., -alm) to expand macros in a
417   listing.
418
419 * Added -MD option to print dependencies.
420
421 Changes in 2.8:
422
423 * BeOS support added.
424
425 * MIPS16 support added.
426
427 * Motorola ColdFire 5200 support added (configure for m68k and use -m5200).
428
429 * Alpha/VMS support added.
430
431 * m68k options --base-size-default-16, --base-size-default-32,
432   --disp-size-default-16, and --disp-size-default-32 added.
433
434 * The alignment directives now take an optional third argument, which is the
435   maximum number of bytes to skip.  If doing the alignment would require
436   skipping more than the given number of bytes, the alignment is not done at
437   all.
438
439 * The ELF assembler has a new pseudo-op, .symver, used for symbol versioning.
440
441 * The -a option takes a new suboption, c (e.g., -alc), to skip false
442   conditionals in listings.
443
444 * Added new pseudo-op, .equiv; it's like .equ, except that it is an error if
445   the symbol is already defined.
446
447 Changes in 2.7:
448
449 * The PowerPC assembler now allows the use of symbolic register names (r0,
450   etc.) if -mregnames is used.  Symbolic names preceded by a '%' (%r0, etc.)
451   can be used any time.  PowerPC 860 move to/from SPR instructions have been
452   added.
453
454 * Alpha Linux (ELF) support added.
455
456 * PowerPC ELF support added.
457
458 * m68k Linux (ELF) support added.
459
460 * i960 Hx/Jx support added.
461
462 * i386/PowerPC gnu-win32 support added.
463
464 * SCO ELF support added.  For OpenServer 5 targets (i386-unknown-sco3.2v5) the
465   default is to build COFF-only support.  To get a set of tools that generate
466   ELF (they'll understand both COFF and ELF), you must configure with
467   target=i386-unknown-sco3.2v5elf.
468
469 * m88k-motorola-sysv3* support added.
470
471 Changes in 2.6:
472
473 * Gas now directly supports macros, without requiring GASP.
474
475 * Gas now has an MRI assembler compatibility mode.  Use -M or --mri to select
476   MRI mode.  The pseudo-op ``.mri 1'' will switch into the MRI mode until the
477   ``.mri 0'' is seen; this can be convenient for inline assembler code.
478
479 * Added --defsym SYM=VALUE option.
480
481 * Added -mips4 support to MIPS assembler.
482
483 * Added PIC support to Solaris and SPARC SunOS 4 assembler.
484
485 Changes in 2.4:
486
487 * Converted this directory to use an autoconf-generated configure script.
488
489 * ARM support, from Richard Earnshaw.
490
491 * Updated VMS support, from Pat Rankin, including considerably improved
492   debugging support.
493
494 * Support for the control registers in the 68060.
495
496 * Handles (ignores) a new directive ".this_GCC_requires_the_GNU_assembler", to
497   provide for possible future gcc changes, for targets where gas provides some
498   features not available in the native assembler.  If the native assembler is
499   used, it should become obvious pretty quickly what the problem is.
500
501 * Usage message is available with "--help".
502
503 * The GNU Assembler Preprocessor (gasp) is included.  (Actually, it was in 2.3
504   also, but didn't get into the NEWS file.)
505
506 * Weak symbol support for a.out.
507
508 * A bug in the listing code which could cause an infinite loop has been fixed.
509   Bugs in listings when generating a COFF object file have also been fixed.
510
511 * Initial i386-svr4 PIC implementation from Eric Youngdale, based on code by
512   Paul Kranenburg.
513
514 * Improved Alpha support.  Immediate constants can have a much larger range
515   now. Support for the 21164 has been contributed by Digital.
516
517 * Updated ns32k (pc532-mach, netbsd532) support from Ian Dall.
518
519 Changes in 2.3:
520
521 * Mach i386 support, by David Mackenzie and Ken Raeburn.
522
523 * RS/6000 and PowerPC support by Ian Taylor.
524
525 * VMS command scripts (make-gas.com, config-gas.com) have been worked on a bit,
526   based on mail received from various people.  The `-h#' option should work
527   again too.
528
529 * HP-PA work, by Jeff Law.  Note, for the PA, gas-2.3 has been designed to work
530   with gdb-4.12 and gcc-2.6.  As gcc-2.6 has not been released yet, a special
531   version of gcc-2.5.8 has been patched to work with gas-2.3.  You can retrieve
532   this special version of gcc-2.5.8 via anonymous ftp from jaguar.cs.utah.edu
533   in the "dist" directory.
534
535 * Vax support in gas fixed for BSD, so it builds and seems to run a couple
536   simple tests okay.  I haven't put it through extensive testing.  (GNU make is
537   currently required for BSD 4.3 builds.)
538
539 * Support for the DEC Alpha, running OSF/1 (ECOFF format).  The gas support is
540   based on code donated by CMU, which used an a.out-based format.  I'm afraid
541   the alpha-a.out support is pretty badly mangled, and much of it removed;
542   making it work will require rewriting it as BFD support for the format anyways.
543
544 * Irix 5 support.
545
546 * The test suites have been fixed up a bit, so that they should work with a
547   couple different versions of expect and dejagnu.
548
549 * Symbols' values are now handled internally as expressions, permitting more
550   flexibility in evaluating them in some cases.  Some details of relocation
551   handling have also changed, and simple constant pool management has been
552   added, to make the Alpha port easier.
553
554 * New option "--statistics" for printing out program run times.  This is
555   intended to be used with the gcc "-Q" option, which prints out times spent in
556   various phases of compilation.  (You should be able to get all of them
557   printed out with "gcc -Q -Wa,--statistics", I think.)
558
559 Changes in 2.2:
560
561 * RS/6000 AIX and MIPS SGI Irix 5 support has been added.
562
563 * Configurations that are still in development (and therefore are convenient to
564   have listed in configure.in) still get rejected without a minor change to
565   gas/Makefile.in, so people not doing development work shouldn't get the
566   impression that support for such configurations is actually believed to be
567   reliable.
568
569 * The program name (usually "as") is printed when a fatal error message is
570   displayed.  This should prevent some confusion about the source of occasional
571   messages about "internal errors".
572
573 * ELF support is falling into place.  Support for the 386 should be working.
574   Support for SPARC Solaris is in.  HPPA support from Utah is being integrated.
575
576 * Symbol values are maintained as expressions instead of being immediately
577   boiled down to add-symbol, sub-symbol, and constant.  This permits slightly
578   more complex calculations involving symbols whose values are not alreadey
579   known.
580
581 * DBX-style debugging info ("stabs") is now supported for COFF formats.
582   If any stabs directives are seen in the source, GAS will create two new
583   sections: a ".stab" and a ".stabstr" section.  The format of the .stab
584   section is nearly identical to the a.out symbol format, and .stabstr is
585   its string table.  For this to be useful, you must have configured GCC
586   to generate stabs (by defining DBX_DEBUGGING_INFO), and must have a GDB
587   that can use the stab sections (4.11 or later).
588
589 * LynxOS, on i386 and m68k platforms, is now supported.  SPARC LynxOS
590   support is in progress.
591
592 Changes in 2.1:
593
594 * Several small fixes for i386-aix (PS/2) support from Minh Tran-Le have been
595   incorporated, but not well tested yet.
596
597 * Altered the opcode table split for m68k; it should require less VM to compile
598   with gcc now.
599
600 * Some minor adjustments to add (Convergent Technologies') Miniframe support,
601   suggested by Ronald Cole.
602
603 * HPPA support (running OSF only, not HPUX) has been contributed by Utah.  This
604   includes improved ELF support, which I've started adapting for SPARC Solaris
605   2.x.  Integration isn't completely, so it probably won't work.
606
607 * HP9000/300 support, donated by HP, has been merged in.
608
609 * Ian Taylor has finished the MIPS ECOFF (Ultrix, Irix) support.
610
611 * Better error messages for unsupported configurations (e.g., hppa-hpux).
612
613 * Test suite framework is starting to become reasonable.
614
615 Changes in 2.0:
616
617 * Mostly bug fixes.
618
619 * Some more merging of BFD and ELF code, but ELF still doesn't work.
620
621 Changes in 1.94:
622
623 * BFD merge is partly done.  Adventurous souls may try giving configure the
624   "--with-bfd-assembler" option.  Currently, ELF format requires it, a.out
625   format accepts it; SPARC CPU accepts it.  It's the default only for OS "elf"
626   or "solaris".  (ELF isn't really supported yet.  It needs work.  I've got
627   some code from Utah for HP-PA ELF, and from DG for m88k ELF, but they're not
628   fully merged yet.)
629
630 * The 68K opcode table has been split in half.  It should now compile under gcc
631   without consuming ridiculous amounts of memory.
632
633 * A couple data structures have been reduced in size.  This should result in
634   saving a little bit of space at runtime.
635
636 * Support for MIPS, from OSF and Ralph Campbell, has been merged in.  The OSF
637   code provided ROSE format support, which I haven't merged in yet.  (I can
638   make it available, if anyone wants to try it out.)  Ralph's code, for BSD
639   4.4, supports a.out format.  We don't have ECOFF support in just yet; it's
640   coming.
641
642 * Support for the Hitachi H8/500 has been added.
643
644 * VMS host and target support should be working now, thanks chiefly to Eric
645   Youngdale.
646
647 Changes in 1.93.01:
648
649 * For m68k, support for more processors has been added: 68040, CPU32, 68851.
650
651 * For i386, .align is now power-of-two; was number-of-bytes.
652
653 * For m68k, "%" is now accepted before register names.  For COFF format, which
654   doesn't use underscore prefixes for C labels, it is required, so variable "a0"
655   can be distinguished from the register.
656
657 * Last public release was 1.38.  Lots of configuration changes since then, lots
658   of new CPUs and formats, lots of bugs fixed.
659
660 \f
661 Copyright (C) 2012-2016 Free Software Foundation, Inc.
662
663 Copying and distribution of this file, with or without modification,
664 are permitted in any medium without royalty provided the copyright
665 notice and this notice are preserved.
666
667 Local variables:
668 fill-column: 79
669 End: