summaryrefslogtreecommitdiff
path: root/lib/csu/alpha
Commit message (Collapse)AuthorAgeFilesLines
* 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-20/+167
| | | | | | | | | | | | | | | | | | | | | 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-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. 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