From dcdace8a6adf92884ab78abb972908bdf9a0f5a3 Mon Sep 17 00:00:00 2001 From: Roland McGrath Date: Tue, 13 Mar 2012 16:59:54 +0000 Subject: gas/ 2012-03-12 Roland McGrath * config/tc-arm.c (arm_frag_max_var): New function. * config/tc-arm.h: Declare it. (md_frag_max_var): New macro. * config/tc-i386.c (i386_frag_max_var): New function. * config/tc-i386.h: Declare it. (md_frag_max_var): New macro. * doc/as.texinfo (Bundle directives): New node. (Pseudo Ops): Add it to the menu. * NEWS: Mention new feature. * read.c [md_frag_max_var] (HANDLE_BUNDLE): New macro. [HANDLE_BUNDLE] (bundle_align_p2): New variable. [HANDLE_BUNDLE] (bundle_lock_frchain, bundle_lock_frag): New variables. [HANDLE_BUNDLE] (start_bundle, pending_bundle_size, finish_bundle): New functions. (assemble_one): New function if [HANDLE_BUNDLE], #define directly to md_assembly if not. (read_a_source_file): Call assemble_one in place of md_assemble. (read_a_source_file) [HANDLE_BUNDLE]: Check for unterminated .bundle_lock at end of processing. [HANDLE_BUNDLE] (s_bundle_align_mode, s_bundle_lock, s_bundle_unlock): New functions. [HANDLE_BUNDLE] (potable): Add their entries. * read.h: Declare new functions. gas/testsuite/ 2012-03-12 Roland McGrath * gas/i386/bundle-bad.s: New file. * gas/i386/bundle-bad.d: New file. * gas/i386/bundle-bad.l: New file. * gas/i386/i386.exp: Run it. * gas/arm/bundle.s: New file. * gas/arm/bundle.d: New file. * gas/arm/bundle-lock.s: New file. * gas/arm/bundle-lock.d: New file. * gas/i386/bundle.s: New file. * gas/i386/bundle.d: New file. * gas/i386/x86-64-bundle.s: New file. * gas/i386/x86-64-bundle.d: New file. * gas/i386/bundle-lock.s: New file. * gas/i386/bundle-lock.d: New file. * gas/i386/i386.exp: Run them. --- gas/NEWS | 69 +++++++++++++++++++++++++++++++++------------------------------- 1 file changed, 36 insertions(+), 33 deletions(-) (limited to 'gas/NEWS') diff --git a/gas/NEWS b/gas/NEWS index 01bba64869..6e2abffc2d 100644 --- a/gas/NEWS +++ b/gas/NEWS @@ -1,5 +1,8 @@ -*- text -*- +* Add support for .bundle_align_mode, .bundle_lock, and .bundle_unlock + directives. These are currently available only for x86 and ARM targets. + * Add support for the Renesas RL78 architecture. * Add support for the Adapteva EPIPHANY architecture. @@ -48,10 +51,10 @@ Changes in 2.20: indicate that if the symbol is the target of a relocation, its value should not be use. Instead the function should be invoked and its result used as the value. - + * Add support for Lattice Mico32 (lm32) architecture. -* Add support for Xilinx MicroBlaze architecture. +* Add support for Xilinx MicroBlaze architecture. Changes in 2.19: @@ -110,7 +113,7 @@ Changes in 2.17: * The SH target supports a new command line switch --enable-reg-prefix which, if enabled, will allow register names to be optionally prefixed with a $ character. This allows register names to be distinguished from label names. - + * Macros with a variable number of arguments are now supported. See the documentation for how this works. @@ -123,7 +126,7 @@ Changes in 2.17: known to cause problems in certain sources when the respective target uses characters inconsistently, and thus macro parameter references may no longer be recognized as such (see the documentation for details). - + * Support the .f_floating, .d_floating, .g_floating and .h_floating directives for the VAX target in order to be more compatible with the VAX MACRO assembler. @@ -189,7 +192,7 @@ Changes in 2.15: * Added --gstabs+ switch to enable the generation of STABS debug format information with GNU extensions. - + * Added support for MIPS64 Release 2. * Added support for v850e1. @@ -212,14 +215,14 @@ Changes in 2.14: * An assembler test generator has been contributed and an example file that uses it (gas/testsuite/gas/all/test-gen.c and test-exmaple.c). - + * Support for SH2E added. * GASP has now been removed. * Support for Texas Instruments TMS320C4x and TMS320C3x series of DSP's contributed by Michael Hayes and Svein E. Seldal. - + * Support for the Ubicom IP2xxx microcontroller added. Changes in 2.13: @@ -242,8 +245,8 @@ Changes in 2.12: * Support for the OpenRISC 32-bit embedded processor by OpenCores. -* The ARM assembler now accepts -march=..., -mcpu=... and -mfpu=... for - specifying the target instruction set. The old method of specifying the +* The ARM assembler now accepts -march=..., -mcpu=... and -mfpu=... for + specifying the target instruction set. The old method of specifying the target processor has been deprecated, but is still accepted for compatibility. @@ -256,7 +259,7 @@ Changes in 2.12: * The MIPS assembler now accepts -march/-mtune. -mcpu has been deprecated but still works for compatability. -* The MIPS assembler no longer issues a warning by default when it +* The MIPS assembler no longer issues a warning by default when it generates a nop instruction from a macro. The new command line option -n will turn on the warning. @@ -307,7 +310,7 @@ Changes in 2.10: * Motorola MCore 210 processor support added. -* A new pseudo-op .intel_syntax has been implemented to allow gas to parse i386 +* A new pseudo-op .intel_syntax has been implemented to allow gas to parse i386 assembly programs with intel syntax. * New pseudo-ops .func,.endfunc to aid in debugging user-written assembler code. @@ -316,7 +319,7 @@ Changes in 2.10: * Full 16-bit mode support for i386. -* Greatly improved instruction operand checking for i386. This change will +* Greatly improved instruction operand checking for i386. This change will produce errors or warnings on incorrect assembly code that previous versions of gas accepted. If you get unexpected messages from code that worked with older versions of gas, please double check the code before reporting a bug. @@ -335,12 +338,12 @@ Changes in 2.9: * Texas Instruments c30 (tms320c30) support added. -* The assembler now optimizes the exception frame information generated by egcs +* The assembler now optimizes the exception frame information generated by egcs and gcc 2.8. The new --traditional-format option disables this optimization. * Added --gstabs option to generate stabs debugging information. -* The -a option takes a new suboption, m (e.g., -alm) to expand macros in a +* The -a option takes a new suboption, m (e.g., -alm) to expand macros in a listing. * Added -MD option to print dependencies. @@ -390,7 +393,7 @@ Changes in 2.7: * SCO ELF support added. For OpenServer 5 targets (i386-unknown-sco3.2v5) the default is to build COFF-only support. To get a set of tools that generate - ELF (they'll understand both COFF and ELF), you must configure with + ELF (they'll understand both COFF and ELF), you must configure with target=i386-unknown-sco3.2v5elf. * m88k-motorola-sysv3* support added. @@ -421,18 +424,18 @@ Changes in 2.4: * Support for the control registers in the 68060. * Handles (ignores) a new directive ".this_GCC_requires_the_GNU_assembler", to - provide for possible future gcc changes, for targets where gas provides some - features not available in the native assembler. If the native assembler is + provide for possible future gcc changes, for targets where gas provides some + features not available in the native assembler. If the native assembler is used, it should become obvious pretty quickly what the problem is. * Usage message is available with "--help". -* The GNU Assembler Preprocessor (gasp) is included. (Actually, it was in 2.3 +* The GNU Assembler Preprocessor (gasp) is included. (Actually, it was in 2.3 also, but didn't get into the NEWS file.) * Weak symbol support for a.out. -* A bug in the listing code which could cause an infinite loop has been fixed. +* A bug in the listing code which could cause an infinite loop has been fixed. Bugs in listings when generating a COFF object file have also been fixed. * Initial i386-svr4 PIC implementation from Eric Youngdale, based on code by @@ -454,7 +457,7 @@ Changes in 2.3: again too. * HP-PA work, by Jeff Law. Note, for the PA, gas-2.3 has been designed to work - with gdb-4.12 and gcc-2.6. As gcc-2.6 has not been released yet, a special + with gdb-4.12 and gcc-2.6. As gcc-2.6 has not been released yet, a special version of gcc-2.5.8 has been patched to work with gas-2.3. You can retrieve this special version of gcc-2.5.8 via anonymous ftp from jaguar.cs.utah.edu in the "dist" directory. @@ -463,18 +466,18 @@ Changes in 2.3: simple tests okay. I haven't put it through extensive testing. (GNU make is currently required for BSD 4.3 builds.) -* Support for the DEC Alpha, running OSF/1 (ECOFF format). The gas support is +* Support for the DEC Alpha, running OSF/1 (ECOFF format). The gas support is based on code donated by CMU, which used an a.out-based format. I'm afraid the alpha-a.out support is pretty badly mangled, and much of it removed; making it work will require rewriting it as BFD support for the format anyways. * Irix 5 support. -* The test suites have been fixed up a bit, so that they should work with a +* The test suites have been fixed up a bit, so that they should work with a couple different versions of expect and dejagnu. -* Symbols' values are now handled internally as expressions, permitting more - flexibility in evaluating them in some cases. Some details of relocation +* Symbols' values are now handled internally as expressions, permitting more + flexibility in evaluating them in some cases. Some details of relocation handling have also changed, and simple constant pool management has been added, to make the Alpha port easier. @@ -487,17 +490,17 @@ Changes in 2.2: * RS/6000 AIX and MIPS SGI Irix 5 support has been added. -* Configurations that are still in development (and therefore are convenient to - have listed in configure.in) still get rejected without a minor change to +* Configurations that are still in development (and therefore are convenient to + have listed in configure.in) still get rejected without a minor change to gas/Makefile.in, so people not doing development work shouldn't get the impression that support for such configurations is actually believed to be reliable. -* The program name (usually "as") is printed when a fatal error message is +* The program name (usually "as") is printed when a fatal error message is displayed. This should prevent some confusion about the source of occasional messages about "internal errors". -* ELF support is falling into place. Support for the 386 should be working. +* ELF support is falling into place. Support for the 386 should be working. Support for SPARC Solaris is in. HPPA support from Utah is being integrated. * Symbol values are maintained as expressions instead of being immediately @@ -506,22 +509,22 @@ Changes in 2.2: known. * DBX-style debugging info ("stabs") is now supported for COFF formats. - If any stabs directives are seen in the source, GAS will create two new - sections: a ".stab" and a ".stabstr" section. The format of the .stab + If any stabs directives are seen in the source, GAS will create two new + sections: a ".stab" and a ".stabstr" section. The format of the .stab section is nearly identical to the a.out symbol format, and .stabstr is its string table. For this to be useful, you must have configured GCC to generate stabs (by defining DBX_DEBUGGING_INFO), and must have a GDB that can use the stab sections (4.11 or later). -* LynxOS, on i386 and m68k platforms, is now supported. SPARC LynxOS +* LynxOS, on i386 and m68k platforms, is now supported. SPARC LynxOS support is in progress. Changes in 2.1: -* Several small fixes for i386-aix (PS/2) support from Minh Tran-Le have been +* Several small fixes for i386-aix (PS/2) support from Minh Tran-Le have been incorporated, but not well tested yet. -* Altered the opcode table split for m68k; it should require less VM to compile +* Altered the opcode table split for m68k; it should require less VM to compile with gcc now. * Some minor adjustments to add (Convergent Technologies') Miniframe support, -- cgit v1.2.1