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