aboutsummaryrefslogtreecommitdiff
path: root/lib/csu/alpha
Commit message (Collapse)AuthorAgeFilesLines
* Remove alpha left-overs.Ruslan Ermilov2006-08-224-233/+0
| | | | Notes: svn path=/head/; revision=161526
* Back out the call to _init_tls() - something is broken there and itDoug Rabson2004-08-211-2/+0
| | | | | | | prevents all static binaries from running. Notes: svn path=/head/; revision=134110
* Add support for TLS in statically linked programs.Doug Rabson2004-08-151-0/+2
| | | | Notes: svn path=/head/; revision=133754
* make these more useful for lint(1). Minor diff-reductions while I'mMark Murray2003-01-261-0/+1
| | | | | | | about it. Notes: svn path=/head/; revision=109905
* Drop support for COPY, -c has been the default mode of install(1)Ruslan Ermilov2002-07-291-1/+1
| | | | | | | | | for a long time now. Approved by: bde Notes: svn path=/head/; revision=100872
* The main reason for this is to reduce diffs between all the crt1.c's.Mark Murray2002-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 Notes: svn path=/head/; revision=100167
* WARNS=6'ify.David E. O'Brien2002-06-251-7/+5
| | | | | | | Style nits. Notes: svn path=/head/; revision=98817
* Prototype _start.David E. O'Brien2002-06-251-2/+4
| | | | | | | | | Submitted by: markm Mark some _start formal parameters __unused. Notes: svn path=/head/; revision=98816
* Fixed CLEANFILES after bsd.lib.mk sweep.Ruslan Ermilov2002-05-131-0/+2
| | | | Notes: svn path=/head/; revision=96530
* SOBJS are not used here for a long time, and were justRuslan Ermilov2002-05-131-4/+2
| | | | | | | pessimising the `install'. Notes: svn path=/head/; revision=96516
* Major cleanup of bsd.lib.mk.Ruslan Ermilov2002-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. Notes: svn path=/head/; revision=96512
* Revert the last change. The corresponding bsd.lib.mk changes wereRuslan Ermilov2002-05-121-1/+4
| | | | | | | already backed out. Notes: svn path=/head/; revision=96463
* Use the simpler NOMAN rather than NOMAN, NOPIC, NOPROFILE, INTERNALLIB.David E. O'Brien2002-05-111-4/+1
| | | | Notes: svn path=/head/; revision=96411
* Style nit and modernize SCM ID.David E. O'Brien2002-04-131-8/+2
| | | | Notes: svn path=/head/; revision=94613
* Do not use __progname directly (except in [gs]etprogname(3)).Mark Murray2002-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. Notes: svn path=/head/; revision=93399
* Minor WS change to improve readability.David E. O'Brien2002-02-272-6/+6
| | | | Notes: svn path=/head/; revision=91426
* minor style updatingDavid E. O'Brien2001-10-271-5/+3
| | | | Notes: svn path=/head/; revision=85594
* Fix nit in copyright.David E. O'Brien2001-10-261-2/+2
| | | | Notes: svn path=/head/; revision=85524
* Add rcsid's.David E. O'Brien2001-01-043-9/+23
| | | | Notes: svn path=/head/; revision=70659
* Alpha verions of the crt initialization and finalization files requiredDavid E. O'Brien2000-10-303-2/+96
| | | | | | | by the ELF ABI. Notes: svn path=/head/; revision=67926
* * Bring back the guts of crt{i,n}.S. This allows C++ exceptions to workDavid E. O'Brien2000-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. Notes: svn path=/head/; revision=67811
* Use the new machine-independent versions of crtbegin and crtendJohn Polstra2000-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. Notes: svn path=/head/; revision=60811
* Use ${.ALLSRC} in Makefile so that it is a better candidate for copying.David E. O'Brien2000-04-191-1/+1
| | | | | | | Also allows the soruce to live somewhere else. Notes: svn path=/head/; revision=59406
* $Id$ -> $FreeBSD$Peter Wemm1999-08-284-4/+4
| | | | Notes: svn path=/head/; revision=50476
* Enable gcrt1.o.Hidetoshi Shimokawa1999-07-162-2/+25
| | | | Notes: svn path=/head/; revision=48837
* Call do_ctors() and do_dtors() using indirect calls through functionJohn Polstra1999-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. Notes: svn path=/head/; revision=47788
* Remove some left-over stuff from NetBSD that we don't need. ThisJohn Polstra1999-04-242-29/+7
| | | | | | | | eliminates the need to include the dynamic linker's private header file, as well as two other headers from <sys>. Notes: svn path=/head/; revision=45973
* Ugh. I didn't know this Makefile was reaching over into the dynamicJohn Polstra1999-04-091-2/+4
| | | | | | | | linker sources for some of its header files. Add a -I flag to pick up a new directory over there. Notes: svn path=/head/; revision=45506
* Initialize __progname by argv[0] before striping leading path,Hidetoshi Shimokawa1999-01-191-1/+2
| | | | | | | otherwise we always get empty name. Notes: svn path=/head/; revision=42826
* Switch to using ".So" as the extension for PIC object files ratherJohn Polstra1999-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. Notes: svn path=/head/; revision=42450
* Strip the leading path from __progname.Steve Price1999-01-071-3/+7
| | | | | | | Ok'd by: jdp Notes: svn path=/head/; revision=42376
* Remove the bootstrap hack that prevented the use of the rtld.John Birrell1998-08-202-24/+3
| | | | Notes: svn path=/head/; revision=38460
* Force BOOTSTRAP mode all the time while the headers are broken on alphaJohn Birrell1998-05-041-1/+5
| | | | | | | as the result of i386 changes. Notes: svn path=/head/; revision=35664
* Temporary fix for problems that occur if CFLAGS=-g is added toJohn Birrell1998-04-011-1/+2
| | | | | | | | /etc/make.conf. The tools can't handle generating debug code where we fiddle with the ELF segments. Notes: svn path=/head/; revision=34977
* Don't share sources with i386-elf. That was too difficult. 8-(John Birrell1998-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. Notes: svn path=/head/; revision=34487
* Sharing the crt sources with i386-elf wasn't too successful. The crtiJohn Birrell1998-03-113-18/+165
| | | | | | | | | | | | | | | | | | | | | 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. Notes: svn path=/cvs2svn/branches/jb/; revision=34484
* Trash startup sources from NetBSD in favour of jdp's FreeBSD sourceJohn Birrell1998-03-104-415/+19
| | | | | | | | | | | | 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. Notes: svn path=/head/; revision=34454
* Import a sanitized version of jdp's crt1.c from i386-elf. I have removedJohn Birrell1998-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. Notes: svn path=/cvs2svn/branches/jb/; revision=34452
* CSU source for Alpha obtained from NetBSD. The makefile will requireJohn Birrell1998-01-114-0/+419
more work when we get a half-way usable libc (which is next). Notes: svn path=/head/; revision=32417