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