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