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