2001-06-11 H.J. Lu <hjl@gnu.org>
[platform/upstream/binutils.git] / gas / NEWS
1 -*- text -*-
2
3 The MIPS assembler no longer issues a warning by default when it
4 generates a nop instruction from a macro. The new command line option
5 -n will turn on the warning.
6
7 Changes in 2.11:
8
9 x86 gas now supports the full Pentium4 instruction set.
10
11 Support for AMD x86-64 architecture, by Jan Hubicka, SuSE Labs.
12
13 Support for Motorola 68HC11 and 68HC12.
14
15 Support for Texas Instruments TMS320C54x (tic54x).
16
17 Support for IA-64.
18
19 Support for i860, by Jason Eckhardt.
20
21 Support for CRIS (Axis Communications ETRAX series).
22
23 x86 gas has a new .arch pseudo op to specify the target CPU architecture.
24
25 x86 gas -q command line option quietens warnings about register size changes
26 due to suffix, indirect jmp/call without `*', stand-alone prefixes, and
27 translating various deprecated floating point instructions.
28
29 Changes in 2.10:
30
31 Support for the ARM msr instruction was changed to only allow an immediate
32 operand when altering the flags field.
33
34 Support for ATMEL AVR.
35
36 Support for IBM 370 ELF.  Somewhat experimental.
37
38 Support for numbers with suffixes.
39
40 Added support for breaking to the end of repeat loops.
41
42 Added support for parallel instruction syntax (DOUBLEBAR_PARALLEL).
43
44 New .elseif pseudo-op added.
45
46 New --fatal-warnings option.
47
48 picoJava architecture support added.
49
50 Motorola MCore 210 processor support added.
51
52 A new pseudo-op .intel_syntax has been implemented to allow gas to parse i386
53 assembly programs with intel syntax.
54
55 New pseudo-ops .func,.endfunc to aid in debugging user-written assembler code.
56
57 Added -gdwarf2 option to generate DWARF 2 debugging information.
58
59 Full 16-bit mode support for i386.
60
61 Greatly improved instruction operand checking for i386.  This change will
62 produce errors or warnings on incorrect assembly code that previous versions of
63 gas accepted.  If you get unexpected messages from code that worked with older
64 versions of gas, please double check the code before reporting a bug.
65
66 Weak symbol support added for COFF targets.
67
68 Mitsubishi D30V support added.
69
70 Texas Instruments c80 (tms320c80) support added.
71
72 i960 ELF support added.
73
74 ARM ELF support added.
75
76 Changes in 2.9:
77
78 Texas Instruments c30 (tms320c30) support added.
79
80 The assembler now optimizes the exception frame information generated by egcs
81 and gcc 2.8.  The new --traditional-format option disables this optimization.
82
83 Added --gstabs option to generate stabs debugging information.
84
85 The -a option takes a new suboption, m (e.g., -alm) to expand macros in a
86 listing.
87
88 Added -MD option to print dependencies.
89
90 Changes in 2.8:
91
92 BeOS support added.
93
94 MIPS16 support added.
95
96 Motorola ColdFire 5200 support added (configure for m68k and use -m5200).
97
98 Alpha/VMS support added.
99
100 m68k options --base-size-default-16, --base-size-default-32,
101 --disp-size-default-16, and --disp-size-default-32 added.
102
103 The alignment directives now take an optional third argument, which is the
104 maximum number of bytes to skip.  If doing the alignment would require skipping
105 more than the given number of bytes, the alignment is not done at all.
106
107 The ELF assembler has a new pseudo-op, .symver, used for symbol versioning.
108
109 The -a option takes a new suboption, c (e.g., -alc), to skip false conditionals
110 in listings.
111
112 Added new pseudo-op, .equiv; it's like .equ, except that it is an error if the
113 symbol is already defined.
114
115 Changes in 2.7:
116
117 The PowerPC assembler now allows the use of symbolic register names (r0, etc.)
118 if -mregnames is used.  Symbolic names preceded by a '%' (%r0, etc.) can be
119 used any time.  PowerPC 860 move to/from SPR instructions have been added.
120
121 Alpha Linux (ELF) support added.
122
123 PowerPC ELF support added.
124
125 m68k Linux (ELF) support added.
126
127 i960 Hx/Jx support added.
128
129 i386/PowerPC gnu-win32 support added.
130
131 SCO ELF support added.  For OpenServer 5 targets (i386-unknown-sco3.2v5) the
132 default is to build COFF-only support.  To get a set of tools that generate ELF
133 (they'll understand both COFF and ELF), you must configure with
134 target=i386-unknown-sco3.2v5elf.
135
136 m88k-motorola-sysv3* support added.
137
138 Changes in 2.6:
139
140 Gas now directly supports macros, without requiring GASP.
141
142 Gas now has an MRI assembler compatibility mode.  Use -M or --mri to select MRI
143 mode.  The pseudo-op ``.mri 1'' will switch into the MRI mode until the ``.mri
144 0'' is seen; this can be convenient for inline assembler code.
145
146 Added --defsym SYM=VALUE option.
147
148 Added -mips4 support to MIPS assembler.
149
150 Added PIC support to Solaris and SPARC SunOS 4 assembler.
151
152 Changes in 2.4:
153
154 Converted this directory to use an autoconf-generated configure script.
155
156 ARM support, from Richard Earnshaw.
157
158 Updated VMS support, from Pat Rankin, including considerably improved debugging
159 support.
160
161 Support for the control registers in the 68060.
162
163 Handles (ignores) a new directive ".this_GCC_requires_the_GNU_assembler", to
164 provide for possible future gcc changes, for targets where gas provides some
165 features not available in the native assembler.  If the native assembler is
166 used, it should become obvious pretty quickly what the problem is.
167
168 Usage message is available with "--help".
169
170 The GNU Assembler Preprocessor (gasp) is included.  (Actually, it was in 2.3
171 also, but didn't get into the NEWS file.)
172
173 Weak symbol support for a.out.
174
175 A bug in the listing code which could cause an infinite loop has been fixed.
176 Bugs in listings when generating a COFF object file have also been fixed.
177
178 Initial i386-svr4 PIC implementation from Eric Youngdale, based on code by Paul
179 Kranenburg.
180
181 Improved Alpha support.  Immediate constants can have a much larger range now.
182 Support for the 21164 has been contributed by Digital.
183
184 Updated ns32k (pc532-mach, netbsd532) support from Ian Dall.
185
186 Changes in 2.3:
187
188 Mach i386 support, by David Mackenzie and Ken Raeburn.
189
190 RS/6000 and PowerPC support by Ian Taylor.
191
192 VMS command scripts (make-gas.com, config-gas.com) have been worked on a bit,
193 based on mail received from various people.  The `-h#' option should work again
194 too.
195
196 HP-PA work, by Jeff Law.  Note, for the PA, gas-2.3 has been designed to work
197 with gdb-4.12 and gcc-2.6.  As gcc-2.6 has not been released yet, a special
198 version of gcc-2.5.8 has been patched to work with gas-2.3.  You can retrieve
199 this special version of gcc-2.5.8 via anonymous ftp from jaguar.cs.utah.edu
200 in the "dist" directory.
201
202 Vax support in gas fixed for BSD, so it builds and seems to run a couple simple
203 tests okay.  I haven't put it through extensive testing.  (GNU make is
204 currently required for BSD 4.3 builds.)
205
206 Support for the DEC Alpha, running OSF/1 (ECOFF format).  The gas support is
207 based on code donated by CMU, which used an a.out-based format.  I'm afraid the
208 alpha-a.out support is pretty badly mangled, and much of it removed; making it
209 work will require rewriting it as BFD support for the format anyways.
210
211 Irix 5 support.
212
213 The test suites have been fixed up a bit, so that they should work with a
214 couple different versions of expect and dejagnu.
215
216 Symbols' values are now handled internally as expressions, permitting more
217 flexibility in evaluating them in some cases.  Some details of relocation
218 handling have also changed, and simple constant pool management has been added,
219 to make the Alpha port easier.
220
221 New option "--statistics" for printing out program run times.  This is intended
222 to be used with the gcc "-Q" option, which prints out times spent in various
223 phases of compilation.  (You should be able to get all of them printed out with
224 "gcc -Q -Wa,--statistics", I think.)
225
226 ----------------------------------------------------------------
227
228 Changes in 2.2:
229
230 RS/6000 AIX and MIPS SGI Irix 5 support has been added.
231
232 Configurations that are still in development (and therefore are convenient to
233 have listed in configure.in) still get rejected without a minor change to
234 gas/Makefile.in, so people not doing development work shouldn't get the
235 impression that support for such configurations is actually believed to be
236 reliable.
237
238 The program name (usually "as") is printed when a fatal error message is
239 displayed.  This should prevent some confusion about the source of occasional
240 messages about "internal errors".
241
242 ELF support is falling into place.  Support for the 386 should be working.
243 Support for SPARC Solaris is in.  HPPA support from Utah is being integrated.
244
245 Symbol values are maintained as expressions instead of being immediately boiled
246 down to add-symbol, sub-symbol, and constant.  This permits slightly more
247 complex calculations involving symbols whose values are not alreadey known.
248
249 DBX-style debugging info ("stabs") is now supported for COFF formats.
250 If any stabs directives are seen in the source, GAS will create two new
251 sections: a ".stab" and a ".stabstr" section.  The format of the .stab
252 section is nearly identical to the a.out symbol format, and .stabstr is
253 its string table.  For this to be useful, you must have configured GCC
254 to generate stabs (by defining DBX_DEBUGGING_INFO), and must have a GDB
255 that can use the stab sections (4.11 or later).
256
257 LynxOS, on i386 and m68k platforms, is now supported.  SPARC LynxOS
258 support is in progress.
259
260 ----------------------------------------------------------------
261
262 Changes in 2.1:
263
264 Several small fixes for i386-aix (PS/2) support from Minh Tran-Le have been
265 incorporated, but not well tested yet.
266
267 Altered the opcode table split for m68k; it should require less VM to compile
268 with gcc now.
269
270 Some minor adjustments to add (Convergent Technologies') Miniframe support,
271 suggested by Ronald Cole.
272
273 HPPA support (running OSF only, not HPUX) has been contributed by Utah.  This
274 includes improved ELF support, which I've started adapting for SPARC Solaris
275 2.x.  Integration isn't completely, so it probably won't work.
276
277 HP9000/300 support, donated by HP, has been merged in.
278
279 Ian Taylor has finished the MIPS ECOFF (Ultrix, Irix) support.
280
281 Better error messages for unsupported configurations (e.g., hppa-hpux).
282
283 Test suite framework is starting to become reasonable.
284
285 ----------------------------------------------------------------
286
287 Changes in 2.0:
288
289 Mostly bug fixes.
290
291 Some more merging of BFD and ELF code, but ELF still doesn't work.
292
293 ----------------------------------------------------------------
294
295 Changes in 1.94:
296
297 BFD merge is partly done.  Adventurous souls may try giving configure the
298 "--with-bfd-assembler" option.  Currently, ELF format requires it, a.out format
299 accepts it; SPARC CPU accepts it.  It's the default only for OS "elf" or
300 "solaris".  (ELF isn't really supported yet.  It needs work.  I've got some
301 code from Utah for HP-PA ELF, and from DG for m88k ELF, but they're not fully
302 merged yet.)
303
304 The 68K opcode table has been split in half.  It should now compile under gcc
305 without consuming ridiculous amounts of memory.
306
307 A couple data structures have been reduced in size.  This should result in
308 saving a little bit of space at runtime.
309
310 Support for MIPS, from OSF and Ralph Campbell, has been merged in.  The OSF
311 code provided ROSE format support, which I haven't merged in yet.  (I can make
312 it available, if anyone wants to try it out.)  Ralph's code, for BSD 4.4,
313 supports a.out format.  We don't have ECOFF support in just yet; it's coming.
314
315 Support for the Hitachi H8/500 has been added.
316
317 VMS host and target support should be working now, thanks chiefly to Eric
318 Youngdale.
319
320 ----------------------------------------------------------------
321
322 Changes in 1.93.01:
323
324 For m68k, support for more processors has been added: 68040, CPU32, 68851.
325
326 For i386, .align is now power-of-two; was number-of-bytes.
327
328 For m68k, "%" is now accepted before register names.  For COFF format, which
329 doesn't use underscore prefixes for C labels, it is required, so variable "a0"
330 can be distinguished from the register.
331
332 Last public release was 1.38.  Lots of configuration changes since then, lots
333 of new CPUs and formats, lots of bugs fixed.
334
335 \f
336 Local variables:
337 fill-column: 79
338 End: