summaryrefslogtreecommitdiffstats
path: root/lib/csu/alpha
Commit message (Collapse)AuthorAgeFilesLines
* Back out the call to _init_tls() - something is broken there and itdfr2004-08-211-2/+0
| | | | prevents all static binaries from running.
* Add support for TLS in statically linked programs.dfr2004-08-151-0/+2
|
* make these more useful for lint(1). Minor diff-reductions while I'mmarkm2003-01-261-0/+1
| | | | about it.
* Drop support for COPY, -c has been the default mode of install(1)ru2002-07-291-1/+1
| | | | | | for a long time now. Approved by: bde
* The main reason for this is to reduce diffs between all the crt1.c's.markm2002-07-161-9/+11
| | | | | | | | | | | | | | | | | | | Assembler macros are tidied up and made as similar as sanely possible. The macros are translated into C (__inline static) functions for lint. Declaration orders are made the same. Declarations are all ISOfied and tidied up. Comment contents have gratuitous diffs removed. The net result is a bunch of crt1.c's that are 90% the same. It may be possible to now encapsulate the differences in one MD header, and have only one MI crt1.c file (although the macros to do this may be ugly). Helpful comments by: obrien, bde Alpha tested by: des i386-elf tested by: markm
* WARNS=6'ify.obrien2002-06-251-7/+5
| | | | Style nits.
* Prototype _start.obrien2002-06-251-2/+4
| | | | | | Submitted by: markm Mark some _start formal parameters __unused.
* Fixed CLEANFILES after bsd.lib.mk sweep.ru2002-05-131-0/+2
|
* SOBJS are not used here for a long time, and were justru2002-05-131-4/+2
| | | | pessimising the `install'.
* Major cleanup of bsd.lib.mk.ru2002-05-131-4/+0
| | | | | | | Get rid of the INTERNALSTATICLIB knob and just use plain INTERNALLIB. INTERNALLIB now means to build static library only and don't install anything. Added a NOINSTALLLIB knob for libpam/modules. To not build any library at all, just do not set LIB.
* Revert the last change. The corresponding bsd.lib.mk changes wereru2002-05-121-1/+4
| | | | already backed out.
* Use the simpler NOMAN rather than NOMAN, NOPIC, NOPROFILE, INTERNALLIB.obrien2002-05-111-4/+1
|
* Style nit and modernize SCM ID.obrien2002-04-131-8/+2
|
* Do not use __progname directly (except in [gs]etprogname(3)).markm2002-03-292-3/+5
| | | | | | Also, make an internal _getprogname() that is used only inside libc. For libc, getprogname(3) is a weak symbol in case a function of the same name is defined in userland.
* Minor WS change to improve readability.obrien2002-02-272-6/+6
|
* minor style updatingobrien2001-10-271-5/+3
|
* Fix nit in copyright.obrien2001-10-261-2/+2
|
* Add rcsid's.obrien2001-01-043-9/+23
|
* Alpha verions of the crt initialization and finalization files requiredobrien2000-10-303-2/+96
| | | | by the ELF ABI.
* * Bring back the guts of crt{i,n}.S. This allows C++ exceptions to workobrien2000-10-282-4/+5
| | | | | | | | | | | | | | | | | | | when using the egcs and gcc-devel ports, along with GCC built from stock public FSF sources. With out this change, FreeBSD will be removed from the list of systems GCC 3.0 must be evaluated on before release. With the effort some of us put into getting FreeBSD on this list, we should not turn this effort into a waste, else we might not be worth fighting for in the future. (note that Alpha and IA-64 versions of crt{i,n}.S are needed) * Switch from our own crt{begin,in} to those created from GCC's crtstuff.c. This will allow us to switch to DWARF2 exceptions in the future, along with staying in sync with any future GCC requirements. * Break out our ELF branding bits into a seperate file. Currently this is now included by our crt1.c files (since this functionality was part of our native crtbegin.c). Later crtbrand.o will be merged in the creation of crti.o.
* Use the new machine-independent versions of crtbegin and crtendjdp2000-05-233-108/+2
| | | | | | | | from the "common" directory. As a side-effect, this also fixes a bug in the ordering of global constructors and destructors on the Alpha. See revision 1.3 of "../common/crtbegin.c" for details.
* Use ${.ALLSRC} in Makefile so that it is a better candidate for copying.obrien2000-04-191-1/+1
| | | | Also allows the soruce to live somewhere else.
* $Id$ -> $FreeBSD$peter1999-08-284-4/+4
|
* Enable gcrt1.o.simokawa1999-07-162-2/+25
|
* Call do_ctors() and do_dtors() using indirect calls through functionjdp1999-06-061-3/+12
| | | | | | | pointers. The calls are in different sections from the functions being called, and they can potentially be far away. On a very large program, the 21-bit displacement field of the BSR instruction overflowed at link time.
* Remove some left-over stuff from NetBSD that we don't need. Thisjdp1999-04-242-29/+7
| | | | | eliminates the need to include the dynamic linker's private header file, as well as two other headers from <sys>.
* Ugh. I didn't know this Makefile was reaching over into the dynamicjdp1999-04-091-2/+4
| | | | | linker sources for some of its header files. Add a -I flag to pick up a new directory over there.
* Initialize __progname by argv[0] before striping leading path,simokawa1999-01-191-1/+2
| | | | otherwise we always get empty name.
* Switch to using ".So" as the extension for PIC object files ratherjdp1999-01-091-3/+3
| | | | | | | | than ".so". The old extension conflicted with well-established naming conventions for dynamically loadable modules. The "clean" targets continue to remove ".so" files too, to deal with old systems.
* Strip the leading path from __progname.steve1999-01-071-3/+7
| | | | Ok'd by: jdp
* Remove the bootstrap hack that prevented the use of the rtld.jb1998-08-202-24/+3
|
* Force BOOTSTRAP mode all the time while the headers are broken on alphajb1998-05-041-1/+5
| | | | as the result of i386 changes.
* Temporary fix for problems that occur if CFLAGS=-g is added tojb1998-04-011-1/+2
| | | | | /etc/make.conf. The tools can't handle generating debug code where we fiddle with the ELF segments.
* Bring these back from the dead.jb1998-03-112-0/+99
|
* Don't share sources with i386-elf. That was too difficult. 8-(jb1998-03-111-4/+7
| | | | | | | | Add a bootstrap mode so that non-rtld versions of these objects can be built when bootstrapping the system with NetBSD tools, headers and libraries. Once the FreeBSD tools are built, the FreeBSD headers are installed and *then* these objects can be recompiled with the rtld references. Phew.
* This commit was generated by cvs2svn to compensate for changes in r34484,jb1998-03-111-20/+68
|\ | | | | | | which included commits to RCS files with non-trunk default branches.
| * Sharing the crt sources with i386-elf wasn't too successful. The crtijb1998-03-113-108/+120
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | asm code didn't link the way it was supposed to and the calling convention for the entry "function" turned out to be very different. On alpha it's a true function, but on i386 it's a fudge. Blech. So jdp suggested keeping separate sets of source and avoiding lots of #ifdefs. These files are based on his i386-elf code, with crt1.c borrowing code from NetBSD's crt0. The copyright reflects that. Complicating matters, the code turned out to be difficult to bootstrap build using NetBSD tools. To compile against the FreeBSD rtld header requires FreeBSD specific headers, but these can't be installed until the tools are built, and they can't be built without the FreeBSD crt objects. Anal retentive. So I introduced a HAVE_RTLD #define that isn't set during the build process until all the tools are built and the headers installed.
* | Trash startup sources from NetBSD in favour of jdp's FreeBSD sourcejb1998-03-104-419/+23
| | | | | | | | | | | | | | | | | | now that has been committed. The makefile is derived from the i386-elf version, modified to pick up most of the source (except crt1.c) from i386-elf. With minor changes to i386-elf/crt1.c, this directory can be combined with i386-elf to be a single csu/elf directory for all seasons.
* | This commit was generated by cvs2svn to compensate for changes in r34452,jb1998-03-101-0/+63
|\ \ | |/ | | | | which included commits to RCS files with non-trunk default branches.
| * Import a sanitized version of jdp's crt1.c from i386-elf. I have removedjb1998-03-101-0/+63
| | | | | | | | | | | | | | the rtld code pending implementation on the alpha. The csu/i386-elf should be renamed as csu/elf and this directory trashed. Consider this a temporary implementation.
| * This commit was manufactured by cvs2svn to create branch 'jb'.cvs2svn1998-01-112-284/+0
|/
* CSU source for Alpha obtained from NetBSD. The makefile will requirejb1998-01-114-0/+419
more work when we get a half-way usable libc (which is next).
OpenPOWER on IntegriCloud