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