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