aboutsummaryrefslogtreecommitdiff
path: root/gnu/usr.bin/as
Commit message (Collapse)AuthorAgeFilesLines
* 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-262/+291
| | | | | | | | | | | | .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-2242/+3192
| | | | | | | | | | 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
* Sync to PK's latest version. I know that this is in /usr/src, the bloodyJordan K. Hubbard1993-12-122-137/+232
| | | | | | | | | | | | patch file had absolute pathnames in it and went and patched /usr/src directly (first time this has happened, I'll watch for it now), so I thought I might as well just commit it and clean up the .orig files and whatnot left behind. Sorry - this is the first time this has happened to me. Very confusing. These files aren't really necessary to us, but should be kept in sync anyway. Notes: svn path=/head/; revision=853
* Sync to PK's latest version. I know that this is in /usr/src, the bloodyJordan K. Hubbard1993-12-122-7/+21
| | | | | | | | | | patch file had absolute pathnames in it and went and patched /usr/src directly (first time this has happened, I'll watch for it now), so I thought I might as well just commit it and clean up the .orig files and whatnot left behind. Sorry - this is the first time this has happened to me. Very confusing. Notes: svn path=/head/; revision=852
* Latest from Paul K. for better checking of PIC code.Jordan K. Hubbard1993-11-308-51/+187
| | | | Notes: svn path=/head/; revision=812
* Brought over NetBSD's gas ready for pk's shared libs.Paul Richards1993-11-03197-8829/+71914
| | | | Notes: svn path=/head/; revision=691
* >From: "J.T. Conklin" <jtc@sun-lamp.cs.berkeley.edu>Rodney W. Grimes1993-09-241-1/+1
| | | | | | | | | | | Date: Fri, 24 Sep 1993 10:19:20 -0700 Fixed bug that was reported (with patch) on gnu.utils.bug. Immediate operands of the pushw instruction were being output as 32 bits, rather than the 16 bits they were supposed to be. Notes: svn path=/head/; revision=503
* Replaced empty manual page with one that has atleast some of the stuffRodney W. Grimes1993-08-172-0/+542
| | | | | | | | | | in it. From: Andreas Schulz <ats@g386bsd.first.gmd.de> I have uploaded the man page from gas 2.1.1 under ~ats/as.1 . Notes: svn path=/head/; revision=296
* Added the new gas directoryNate Williams1993-06-2953-0/+17038
Notes: svn path=/head/; revision=75