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