aboutsummaryrefslogtreecommitdiff
path: root/gnu/usr.bin/as
Commit message (Collapse)AuthorAgeFilesLines
* Re-axe.Bruce Evans2002-09-171-31/+0
| | | | Notes: svn path=/head/; revision=103474
* Make `as' compile before it is axed. It still uses the archaic BSDBruce Evans2002-09-171-0/+2
| | | | | | | | | | | | | | interface setbuffer(), and emulates setbuffer() on USG systems using a #define of setbuffer() in terms of setvbuf(). The #define is correctly ifdefed in some places but was not correctly ifdefed here -- i.e., BSD was essentially configured as USG here. This became fatal when <stdio.h> was de-__P(())ified without testing. This file gets included before <stdio.h>, so the #define now affects (and breaks) `setbuffer<left parentheses>' in <stdio.h> where it didn't affect `setbuffer<whitespace>'. Notes: svn path=/head/; revision=103473
* Un-axe this so that it can be fixed before it is axed.Bruce Evans2002-09-171-0/+29
| | | | Notes: svn path=/head/; revision=103472
* BANG! BANG! BANG! Put these bits out of their misery.David E. O'Brien2002-09-17179-70041/+0
| | | | | | | | | | | | | Murdered by members of: a.out.die.die.die ELF is the 1 true path now. So make good on the src/Makefile threat that building a.out will not be supported post 4.x. These bits should either resurface as a port, or a new port using the latest Binutils bits. The later will not support our SunOS-style shared a.out libs; but we shouldn't need such support by this point in time. Notes: svn path=/head/; revision=103437
* Implement .previous (swap section back to the last section)Peter Wemm2001-09-043-2/+32
| | | | | | | | | | | This enables: .data .asciz "foo" .previous .. just like on current binutils Notes: svn path=/head/; revision=83036
* Fix the type of the NULL arg to execl()Brian Somers2001-07-091-2/+2
| | | | | | | Idea from: Theo de Raadt <deraadt@openbsd.org> Notes: svn path=/head/; revision=79452
* MAN[1-9] -> MAN.Ruslan Ermilov2001-03-271-1/+1
| | | | Notes: svn path=/head/; revision=74861
* Arange the f* floating point instructions to match binutils 2.9.1.David E. O'Brien1999-11-281-5/+5
| | | | Notes: svn path=/head/; revision=53808
* Add "fild" instruction. GCC 2.95.2 likes to generate this one.David E. O'Brien1999-11-281-0/+1
| | | | | | | Obtained from: contrib/binutils/include/opcode/i386.h Notes: svn path=/head/; revision=53807
* $Revision$ -> $FreeBSD$Peter Wemm1999-09-061-1/+1
| | | | Notes: svn path=/head/; revision=50997
* $Id$ -> $FreeBSD$Peter Wemm1999-08-2770-71/+71
| | | | Notes: svn path=/head/; revision=50472
* Don't build the info pages for the old assembler. Instead, buildJohn Polstra1998-10-033-5003/+1
| | | | | | | and install the info pages for the new assembler and linker. Notes: svn path=/head/; revision=39909
* Install the legacy man file in section 1aout.John Birrell1998-09-071-1/+2
| | | | Notes: svn path=/head/; revision=38896
* MACHINE -> MACHINE_ARCH to allow PC98 to define MACHINE=pc98.John Birrell1998-08-311-10/+10
| | | | | | | Submitted by: Takahashi Yoshihiro <nyan@wyvern.cc.kogakuin.ac.jp> Notes: svn path=/head/; revision=38711
* Fixed printf format errors.Bruce Evans1998-06-303-7/+7
| | | | Notes: svn path=/head/; revision=37313
* ELF preparation step 1:Søren Schmidt1998-05-251-1/+2
| | | | | | | | | | | | | | | | | | Move our old a.out utils to /usr/libexec/aout. Enable binutils and put the utils in /usr/libexec/elf Enable objformat, a little helper program that calls the right utils based on /etc/objformat and $OBJFORMAT. This will enable the ELF generating tools. Remember that this is only step one, the system is still compiled and run in a.out format ONLY. Problem left to solve: The BSD manpages wins over the GNU equivalents as the are installed last. We need to distinguish between the manpages somehow... Notes: svn path=/head/; revision=36374
* Fix the assembler so that it produces object files with the correctJohn Polstra1998-04-102-3/+3
| | | | | | | | | | | | | magic number byte ordering for FreeBSD. This makes "file" describe our object files as "FreeBSD/i386 object" instead of as NetBSD object files. In case this seems drastic and risky, Bruce points out that the "ld -r -x" step that is done on every object file when building libraries fixes the byte ordering in the same way. I have been running with this patch for over a month and have seen no problems. Notes: svn path=/head/; revision=35114
* Fix a bug which clobbered linker set symbols that had forward references.John Polstra1998-04-071-2/+18
| | | | | | | | | | | With -O3, egcs generates such forward references. PR: gnu/6055 Reviewed by: jdp Submitted by: Dmitrij Tejblum <tejblum@arc.hq.cti.ru> in slightly different form Notes: svn path=/head/; revision=35097
* Add support for the AT&T style "fildll" and "fistpll" mnemonics.John Polstra1998-03-291-1/+3
| | | | | | | | | | | | These are equivalent to "fildq" and "fistpq" respectively. This fixes the bad floating point object code that resulted after recent changes in the compiler. Test driven by: "Mike Burgett" <mburgett@awen.com>, Amancio Hasty <hasty@rah.star-gate.com> Notes: svn path=/head/; revision=34935
* Fixed `make -jN' for large N. Just put the generated headers inBruce Evans1998-03-061-4/+2
| | | | | | | | | | ${SRCS} instead of giving inadequate explicit dependencies. There is still a problem after `make depend; make clean'. Then `make' barely works, and `make -jN' is confused by absolute paths in .depend. Notes: svn path=/head/; revision=34098
* Make the ".set" directive copy the aux field when the expressionJohn Polstra1998-01-101-1/+2
| | | | | | | | | | | reduces to a relocatable symbol plus an offset. This preserves the symbol type information (function vs. object). It is important for SVR4-style weak symbols, e.g., "#pragma weak foo=bar". Without this change, the linker complains that the jmpslot entry is not a function. Notes: svn path=/head/; revision=32383
* Many places in the code NULL is used in integer context, wherePoul-Henning Kamp1997-09-181-2/+2
| | | | | | | | | | | | plain 0 should be used. This happens to work because we #define NULL to 0, but is stylistically wrong and can cause problems for people trying to port bits of code to other environments. PR: 2752 Submitted by: Arne Henrik Juul <arnej@imf.unit.no> Notes: svn path=/head/; revision=29574
* Add some Pentium and PentiumPro opcodes and registers.John Dyson1997-07-151-1/+45
| | | | Notes: svn path=/head/; revision=27413
* replace obsolete @ctrl{A} with @kbd{C-A}. Suppress compilation warning.Philippe Charnier1997-05-211-3/+3
| | | | Notes: svn path=/head/; revision=25963
* Set the N_EXT (external) flag for all weak symbols. It makes noJohn Polstra1997-04-291-1/+2
| | | | | | | | | | sense to have a weak symbol that is not externally visible. This fixes many of the "relocation burb" warnings produced when compiling C++ code with "-fpic". Beyond eliminating warnings, it also makes some things work that didn't work before. Notes: svn path=/head/; revision=25262
* Support the ".p2align" directive, which is standard in newer versionsJohn Polstra1997-03-291-1/+2
| | | | | | | | | | | | | | | | of binutils. For all architectures and object file formats, ".p2align n" aligns to the next multiple of 2**n. Thus for FreeBSD, it does exactly the same thing as the traditional ".align". The old ".align" directive has different meanings in different object formats, and even in different variants of a.out. Sometimes is aligns to a multiple of n, and other times it aligns to a multiple of 2**n. ".p2align" is preferable for use in assembly language sources, since it makes them more portable to object formats other than a.out. Notes: svn path=/head/; revision=24355
* Revert $FreeBSD$ to $Id$Peter Wemm1997-02-2270-71/+71
| | | | Notes: svn path=/head/; revision=22996
* Make the long-awaited change from $Id$ to $FreeBSD$Jordan K. Hubbard1997-01-1470-71/+71
| | | | | | | | | | | This will make a number of things easier in the future, as well as (finally!) avoiding the Id-smashing problem which has plagued developers for so long. Boy, I'm glad we're not using sup anymore. This update would have been insane otherwise. Notes: svn path=/head/; revision=21673
* Getting tired of writing same thing.Joshua Peck Macdonald1997-01-111-0/+2
| | | | Notes: svn path=/head/; revision=21512
* Add the PPro %cr4 register to the supported registers in theJohn Dyson1996-11-111-1/+2
| | | | | | | assembler. Notes: svn path=/head/; revision=19652
* Ugly hack alert!Peter Wemm1996-10-031-1/+2
| | | | | | | | | | | | | | | | | | | | | | | libg++'s exception code causes gcc to generate (ahem!) non-conventional assembler code in -fpic mode that gas and ld choke on. Basically, gas and ld require than symbols referenced in the GOT (global offset table) are actually global (as the name implies). It attempted to work around it before, but didn't quite go far enough to prevent a core dump in ld. This hack causes GOT referenced symbols to be forced global. This probably breaks the __EXCEPTION_TABLE__ stuff in pic mode, but heck, it wasn't even possible to compile with a shared library before at all. I'm not 100% sure what the bug is. There's two possibilities: 1: gcc/cp/exception.c has to be fixed to stop doing GOT references to local symbols, or 2: as/ld/symorder/ld.so etc need to be taught about how to keep local symbols around so that they can be dealt with in GOT references. John Polstra's elfkit stuff seems to deal with this fine though, which is why I think it's a "missing feature" in our hacked gas and ld.. Notes: svn path=/head/; revision=18654
* Mostly resync our gas with the NetBSD version to obtain support forPeter Wemm1996-10-0127-257/+286
| | | | | | | | | | | | .weak as gcc and g++ would like to use. This includes changes to other architectures mostly for completeness, I don't expect cross-assemblink would work but I could be wrong. Obtained from: NetBSD Notes: svn path=/head/; revision=18590
* Fix up some compilation warnings.Paul Traina1996-09-221-2/+2
| | | | Notes: svn path=/head/; revision=18453
* [HISTORY] command appeared in Version 1 AT&T UNIXWolfram Schneider1996-08-292-0/+14
| | | | | | | Obtained from: A Quarter Century of UNIX, Peter H. Salus, page 41 Notes: svn path=/head/; revision=17891
* Bring in my changes for removing the pestilent obj links (unless youJordan K. Hubbard1996-06-241-4/+2
| | | | | | | | really want them) from /usr/src. This is the final version of the patches, incorporating the feedback I've received from -current. Notes: svn path=/head/; revision=16663
* ``mv'' -> ``mv -f''Wolfram Schneider1996-05-071-7/+9
| | | | | | | | ``rm'' -> ``rm -f'' so mv/rm may not ask for confirmation if you are not root Notes: svn path=/head/; revision=15679
* Another round of man page cleanups.Mike Pritchard1996-02-122-2/+2
| | | | | | | Down to only about 100 items left to cleanup! :-) Notes: svn path=/head/; revision=14045
* recording cvs-1.6 file deathPeter Wemm1995-12-3028-11780/+0
| | | | Notes: svn path=/cvs2svn/branches/ATT/; revision=13122
* gets() -> fgets()Jordan K. Hubbard1995-12-011-4/+4
| | | | Notes: svn path=/head/; revision=12552
* Stop using gnumalloc.Poul-Henning Kamp1995-09-221-3/+1
| | | | Notes: svn path=/head/; revision=10953
* Remove trailing whitespace.Rodney W. Grimes1995-05-30113-3748/+3748
| | | | Notes: svn path=/head/; revision=8858
* Add the abilitity to compile the Lites code with the native FreeBSD assembler.Nate Williams1995-03-021-2/+5
| | | | | | | | | | (This adds minor support for the .bss directive) Submitted by: Many folks, but I believe Remy Card was the first person to propose this change. Notes: svn path=/head/; revision=6839
* Add doc to SUBDIR listAndrey A. Chernov1995-01-161-1/+3
| | | | Notes: svn path=/head/; revision=5657
* Infopage installationAndrey A. Chernov1995-01-122-186/+4997
| | | | Notes: svn path=/head/; revision=5526
* Updated version of gas which allows for link-time error reporting ifNate Williams1994-12-2327-2198/+3148
| | | | | | | | | | used in conjustion with the new shlib 'ld' source. Note, if you use the new features both gas and ld must be updated. Obtained from: NetBSD Notes: svn path=/head/; revision=5208
* Added "cpuid" opcode.Sean Eric Fagan1994-12-111-1/+4
| | | | Notes: svn path=/head/; revision=5042
* Use gnumalloc to help reduce memory consumption.David Greenman1994-08-291-3/+3
| | | | Notes: svn path=/head/; revision=2392
* Use ${ECHO} instead of `echo' so that `make -s' is fairly quiet.Bruce Evans1994-08-281-5/+5
| | | | Notes: svn path=/head/; revision=2367
* Alignment fix from John Dyson/David GreenmanRodney W. Grimes1994-02-202-4/+7
| | | | Notes: svn path=/head/; revision=1184
* NetBSD -> FreeBSD (This is the FreeBSD version, not the NetBSD version :-)Nate Williams1994-02-141-2/+2
| | | | Notes: svn path=/head/; revision=1160