aboutsummaryrefslogtreecommitdiff
path: root/gnu/usr.bin/ld
Commit message (Collapse)AuthorAgeFilesLines
* BANG! BANG! BANG! Put these bits out of their misery.David E. O'Brien2002-09-1718-12596/+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
* can not -> cannot.Ruslan Ermilov2002-08-132-2/+2
| | | | Notes: svn path=/head/; revision=101810
* mdoc(7) police: s/BSD/.Bx/ where appropriate.Ruslan Ermilov2001-08-142-2/+4
| | | | Notes: svn path=/head/; revision=81622
* mdoc(7) police: s/NetBSD/.Nx/ where appropriate.Ruslan Ermilov2001-08-132-2/+4
| | | | Notes: svn path=/head/; revision=81590
* Spell "FreeBSD" with "F" and "BSD" in uppercase.Ruslan Ermilov2001-08-131-1/+2
| | | | Notes: svn path=/head/; revision=81588
* mdoc(7) police:Ruslan Ermilov2001-08-072-4/+4
| | | | | | | | | | Avoid using parenthesis enclosure macros (.Pq and .Po/.Pc) with plain text. Not only this slows down the mdoc(7) processing significantly, but it also has an undesired (in this case) effect of disabling hyphenation within the entire enclosed block. Notes: svn path=/head/; revision=81251
* mdoc(7) police: removed HISTORY info from the .Os call.Ruslan Ermilov2001-07-102-2/+2
| | | | Notes: svn path=/head/; revision=79528
* MAN[1-9] -> MAN.Ruslan Ermilov2001-03-271-1/+1
| | | | Notes: svn path=/head/; revision=74861
* mdoc(7) police: split punctuation characters + misc fixes.Ruslan Ermilov2001-02-012-37/+31
| | | | Notes: svn path=/head/; revision=71895
* Prepare for mdoc(7)NG.Ruslan Ermilov2000-12-272-0/+2
| | | | Notes: svn path=/head/; revision=70395
* Add these files that were used from contrib/gcc/. They are taken fromDavid E. O'Brien2000-12-263-3/+3115
| | | | | | | | | | GCC 2.7.2.3 as that was the version of GCC in active use before the switch to ELF. The GCC 2.9[67] versions of these files carry more baggage and I'm not sure the are appropriate for this linker. Notes: svn path=/head/; revision=70359
* mdoc(7) police: use the new features of the Nm macro.Ruslan Ermilov2000-11-201-11/+11
| | | | Notes: svn path=/head/; revision=68938
* Use Fx macro wherever possible.Ruslan Ermilov2000-11-141-1/+2
| | | | Notes: svn path=/head/; revision=68716
* Egads! This still refered to contrib/egcs/David E. O'Brien2000-01-031-1/+1
| | | | Notes: svn path=/head/; revision=55334
* $Id$ -> $FreeBSD$Peter Wemm1999-08-2716-16/+16
| | | | Notes: svn path=/head/; revision=50472
* Fixed missing prototype for address_to_line(). One call passes anBruce Evans1999-07-041-1/+2
| | | | | | | | int where an unsigned long is expected. This was fatal on i386's with 64-bit longs. Notes: svn path=/head/; revision=48564
* Look in the new place for GCC bits.David E. O'Brien1999-04-101-2/+2
| | | | Notes: svn path=/head/; revision=45532
* Change i386 in a few paths to ${MACHINE} to support MACHINE=pc98.KATO Takenori1998-09-091-3/+3
| | | | Notes: svn path=/head/; revision=38995
* Install the legacy man file in section 1aout.John Birrell1998-09-071-1/+2
| | | | Notes: svn path=/head/; revision=38896
* Add Xref to ldd(1).Joseph Koshy1998-07-262-2/+4
| | | | | | | PR: 7397 Notes: svn path=/head/; revision=37867
* Fixed printf format errors.Bruce Evans1998-06-304-14/+18
| | | | Notes: svn path=/head/; revision=37314
* Add -DFREEBSD_AOUT to CFLAGS, to ensure that <link.h> gives us the correctPeter Wemm1998-06-121-2/+2
| | | | | | | definitions, even when compiling the a.out ld under elf. Notes: svn path=/head/; revision=36921
* These files were moved elsewhere (sbin/ldconfig, libexec/rtld-aout,Peter Wemm1998-06-0120-5936/+0
| | | | | | | usr.bin/ldd) as they stand alone and are under bsd-style license. Notes: svn path=/head/; revision=36569
* Look for files in their new locations.Peter Wemm1998-06-011-11/+7
| | | | Notes: svn path=/head/; revision=36568
* ELF preparation step 2:Søren Schmidt1998-05-263-6/+11
| | | | | | | | | | | | | | | | | Move a.out libraries to /usr/lib/aout to make space for ELF libs. Make rtld usr /usr/lib/aout as default library path. Make ldconfig reject /usr/lib as an a.out library path. Fix various Makefiles for LIBDIR!=/usr/lib breakage. This will after a make world & reboot give a system that no longer uses /usr/lib/*, infact one could remove all the old libraries there, they are not used anymore. We are getting close to an ELF make world, but I'll let this all settle for a week or two... Notes: svn path=/head/; revision=36397
* 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
* Add ELF support.Doug Rabson1998-05-012-11/+62
| | | | Notes: svn path=/head/; revision=35575
* Implement dladdr.John Polstra1998-02-061-4/+94
| | | | Notes: svn path=/head/; revision=33137
* Removed /etc/ld.so.conf reference from FILES section (people getAlexander Langer1998-01-011-3/+1
| | | | | | | | | | confused when they can't find it), but leave the reference to it as being a standard filename (which doesn't imply that it exists). Discussed with: jkh Notes: svn path=/head/; revision=32147
* Use consistent spelling,Tim Vanderhoek1997-12-251-1/+1
| | | | | | | | | | | writeable -> writable (recall prior debate over this? :-) initialise -> initialize recognise -> recognize Merry Christmas! :) Notes: svn path=/head/; revision=31989
* Make emacs work again. This is a workaround for the fact that theJohn Polstra1997-12-051-18/+33
| | | | | | | | | | | | | | | | | | | | | | | emacs a.out file, self-generated by emacs's "unexec" function in "unexsunos4.c", is invalid. In particular, its "_end" symbol has the wrong value. The dynamic linker was using the value of that symbol to initialize its sbrk break level. The workaround is to peek at the executable's a.out header in memory, and calculate what "_end" should be based on the segment sizes. I will work out a fix for emacs and send it to the FSF. This dynamic linker workaround is still worthwhile, if only to avoid forcing all emacs users to build a new version. Note: xemacs gives a bogus warning at startup, for related reasons. The warning is harmless and can safely be ignored. I will send a patch to the xemacs maintainers to get rid of it, and meanwhile add a patch file to our port. Notes: svn path=/head/; revision=31546
* Get rid of the dynamic linker's internal malloc package, and arrangeJohn Polstra1997-11-294-862/+473
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | things so that it uses the same malloc as is used by the program being executed. This has several advantages, the big one being that you can now debug core dumps from dynamically linked programs and get useful information out of them. Until now, that didn't work. The internal malloc package placed the tables describing the loaded shared libraries in a mapped region of high memory that was not written to core files. Thus the debugger had no way of determining what was loaded where in memory. Now that the dynamic linker uses the application's malloc package (normally, but not necessarily, the system malloc), its tables end up in the regular heap area where they will be included in core dumps. The debugger now works very well indeed, thank you very much. Also ... Bring the program a little closer to conformance with style(9). There is still a long way to go. Add minimal const correctness changes to get rid of compiler warnings caused by the recent const changes in <dlfcn.h> and <link.h>. Improve performance by eliminating redundant calculations of symbols' hash values. Notes: svn path=/head/; revision=31445
* In the "ldd -v" output, display the N_AUX information for eachJohn Polstra1997-11-281-3/+13
| | | | | | | | symbol. It indicates whether the symbol refers to a function or a data object. Notes: svn path=/head/; revision=31442
* 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
* spelling corrections.Wolfram Schneider1997-09-131-3/+3
| | | | | | | | PR: docs/4450 Submitted by: josh@quick.net Notes: svn path=/head/; revision=29329
* Touch up the code that implements "ldd -v".John Polstra1997-09-023-53/+85
| | | | | | | | | | Bring the style of sods.c into better conformance. Add code to print the contents of each datum being relocated. Correct the logic that distinguishes between programs, shared libraries, and object files. Make the entire program "-Wall" clean. Notes: svn path=/head/; revision=29042
* fix a few spelling changesJohn-Mark Gurney1997-08-301-1/+1
| | | | | | | | | | | Submitted by: Josh Gilliam Closes PR's: 4429, 4431-4438 PS: He has agreed to submit all contrib fixes back to the original author. Notes: svn path=/head/; revision=28935
* .Ar -l -> .Fl lSteve Price1997-08-232-4/+4
| | | | | | | | PR: docs/3682 Submitted by: Kazuo Horikawa <k-horik@yk.rim.or.jp> Notes: svn path=/head/; revision=28635
* Add -R (rescan or refresh) option to rescan and rebuild the hintsPeter Wemm1997-08-222-13/+27
| | | | | | | | | | | | | | file based on the previous list of directories stored there which should overcome a weakness of the '-m' switch which can only add libs. This is an ideal way of updating the hints list after adding or removing a shlib since it will remove entries that are gone and doesn't need to have all the directories spelled out each time. (eg: rm -f /usr/lib/libtcl75*; ldconfig -R) This only works for version 2 hints files (which we've been generating for a year or so) which store the path. Notes: svn path=/head/; revision=28559
* - In dlsym(), if the lookup fails using the original symbol, prepend anNate Williams1997-08-191-2/+30
| | | | | | | | | | underscore and try looking it up again. This is a non-issue if we switch to ELF. Reviewed by: sef, jdp Notes: svn path=/head/; revision=28434
* Implement dlsym(RTLD_NEXT, symbol).John Polstra1997-08-021-12/+64
| | | | Notes: svn path=/head/; revision=27838
* Allow ldconfig to accept files (containing directory paths) as well asJordan K. Hubbard1997-07-112-9/+73
| | | | | | | | | directory paths. Reviewed by: jkh & jdp Submitted by: Hans Zuidam <hans@brandinnovators.com> Notes: svn path=/head/; revision=27334
* Configure static linkage in the normal way (default to -static usingBruce Evans1997-06-291-2/+2
| | | | | | | NOSHARED?= yes). Notes: svn path=/head/; revision=27083
* Configure static linkage in the normal way (default to -static usingBruce Evans1997-06-291-4/+6
| | | | | | | | | NOSHARED?= yes). Split long lines. Notes: svn path=/head/; revision=27082
* BYOC - Bring Your Own Calloc(3)Poul-Henning Kamp1997-06-221-1/+14
| | | | | | | Someday I'm going to face the music and dispose of this private malloc copy. Notes: svn path=/head/; revision=26815
* Fix some old typos and misspellings.John Polstra1997-05-312-10/+10
| | | | Notes: svn path=/head/; revision=26296
* Document new -Bforcedynamic flag and -assert pure-text.Doug Rabson1997-05-292-6/+36
| | | | | | | Reviewed by: jdp Notes: svn path=/head/; revision=26275
* Typo fix.Masafumi Max NAKANE1997-05-271-3/+3
| | | | | | | | PR: 3693 Submitted by: Kazuo Horikawa <k-horik@yk.rim.or.jp> Notes: svn path=/head/; revision=26195
* Changes to support the kernel linker:Doug Rabson1997-05-133-8/+22
| | | | | | | | | | | | | | | | | Add a -Bforcedynamic option which generates a dynamic object even if no shared libraries were given in the link. Make RRS in text section warnings conditional on "-assert pure-text" so that I can link non-PIC kernel modules without tons of link errors. Changes to bsd.lib.mk to follow. Fix a couple of bugs exposed by the fact that the kernel is not linked at zero. Reviewed by: jdp Notes: svn path=/head/; revision=25774
* Fix a bug that caused the relocs for linker set members in sharedJohn Polstra1997-04-301-1/+3
| | | | | | | | | | libraries to come out as 1-byte relocations instead of 4-byte relocations. Submitted by: Doug Rabson <dfr@nlsystems.com> Notes: svn path=/head/; revision=25300