CVS log for src/usr.sbin/crunch/crunchide/exec_elf32.c
Up to [FreeBSD] / src / usr.sbin / crunch / crunchide
Request diff between arbitrary revisions
Keyword substitution: kv
Default branch: MAIN
Revision 1.19.2.1.2.1: download - view: text, markup, annotated - select for diffs
Fri Nov 11 04:20:22 2011 UTC (2 months, 4 weeks ago) by kensmith
Branches: RELENG_9_0
CVS tags: RELENG_9_0_0_RELEASE
Diff to: previous 1.19.2.1: preferred, colored
Changes since revision 1.19.2.1: +0 -0 lines
SVN rev 227445 on 2011-11-11 04:20:22Z by kensmith Copy stable/9 to releng/9.0 as part of the FreeBSD 9.0-RELEASE release cycle. Approved by: re (implicit)
Revision 1.19.2.1: download - view: text, markup, annotated - select for diffs
Fri Sep 23 00:51:37 2011 UTC (4 months, 2 weeks ago) by kensmith
Branches: RELENG_9
CVS tags: RELENG_9_0_BP
Branch point for: RELENG_9_0
Diff to: previous 1.19: preferred, colored
Changes since revision 1.19: +0 -0 lines
SVN rev 225736 on 2011-09-23 00:51:37Z by kensmith Copy head to stable/9 as part of 9.0-RELEASE release cycle. Approved by: re (implicit)
Revision 1.15.12.1: download - view: text, markup, annotated - select for diffs
Tue Dec 21 17:10:29 2010 UTC (13 months, 2 weeks ago) by kensmith
Branches: RELENG_7_4
CVS tags: RELENG_7_4_0_RELEASE
Diff to: previous 1.15: preferred, colored; next MAIN 1.16: preferred, colored
Changes since revision 1.15: +0 -0 lines
SVN rev 216618 on 2010-12-21 17:10:29Z by kensmith Copy stable/7 to releng/7.4 in preparation for FreeBSD-7.4 release. Approved by: re (implicit)
Revision 1.16.2.1.6.1: download - view: text, markup, annotated - select for diffs
Tue Dec 21 17:09:25 2010 UTC (13 months, 2 weeks ago) by kensmith
Branches: RELENG_8_2
CVS tags: RELENG_8_2_0_RELEASE
Diff to: previous 1.16.2.1: preferred, colored; next MAIN 1.17: preferred, colored
Changes since revision 1.16.2.1: +0 -0 lines
SVN rev 216617 on 2010-12-21 17:09:25Z by kensmith Copy stable/8 to releng/8.2 in preparation for FreeBSD-8.2 release. Approved by: re (implicit)
Revision 1.19: download - view: text, markup, annotated - select for diffs
Thu Aug 12 14:16:57 2010 UTC (17 months, 4 weeks ago) by adrian
Branches: MAIN
CVS tags: RELENG_9_BP, HEAD
Branch point for: RELENG_9
Diff to: previous 1.18: preferred, colored
Changes since revision 1.18: +6 -1 lines
SVN rev 211222 on 2010-08-12 14:16:57Z by adrian Fix crunchide to work on sparc64 and perhaps other 64 bit platforms. I used the wrong type when setting st_name in the symbol table entry struct. It's an Elf64_Word which is defined as an unsigned 32 bit int on both 32 and 64 bit platforms. To make things sensible, define some new macros to use as "word" macros and use those, rather than simply using the explicit 32 bit macros.
Revision 1.18: download - view: text, markup, annotated - select for diffs
Tue Aug 10 09:24:19 2010 UTC (18 months ago) by adrian
Branches: MAIN
Diff to: previous 1.17: preferred, colored
Changes since revision 1.17: +89 -135 lines
SVN rev 211137 on 2010-08-10 09:24:19Z by adrian Port over changes to the crunch symbol hiding method from NetBSD. The older symbol hiding method breaks for MIPS. This implements symbol hiding through renaming to a symbol name which is highly unlikely to clash. The NetBSD code didn't use byte-swapping macros for endian-awareness; so it didn't work when cross-compiling a MIPS world on i386/amd64. This patch includes those (as best as I could figure what they should be) and has been tested to generate valid MIPS crunch binaries both cross- and native- compiled.
Revision 1.17: download - view: text, markup, annotated - select for diffs
Sat Jul 10 22:06:51 2010 UTC (19 months ago) by nwhitehorn
Branches: MAIN
Diff to: previous 1.16: preferred, colored
Changes since revision 1.16: +4 -0 lines
SVN rev 209889 on 2010-07-10 22:06:51Z by nwhitehorn Teach crunchide(1) about PPC ELF64.
Revision 1.16.2.1.4.1: download - view: text, markup, annotated - select for diffs
Mon Jun 14 02:09:06 2010 UTC (19 months, 4 weeks ago) by kensmith
Branches: RELENG_8_1
CVS tags: RELENG_8_1_0_RELEASE
Diff to: previous 1.16.2.1: preferred, colored; next MAIN 1.17: preferred, colored
Changes since revision 1.16.2.1: +0 -0 lines
SVN rev 209145 on 2010-06-14 02:09:06Z by kensmith Copy stable/8 to releng/8.1 in preparation for 8.1-RC1. Approved by: re (implicit)
Revision 1.15.10.1: download - view: text, markup, annotated - select for diffs
Wed Feb 10 00:26:20 2010 UTC (2 years ago) by kensmith
Branches: RELENG_7_3
CVS tags: RELENG_7_3_0_RELEASE
Diff to: previous 1.15: preferred, colored; next MAIN 1.16: preferred, colored
Changes since revision 1.15: +0 -0 lines
SVN rev 203736 on 2010-02-10 00:26:20Z by kensmith Copy stable/7 to releng/7.3 as part of the 7.3-RELEASE process. Approved by: re (implicit)
Revision 1.16.2.1.2.1: download - view: text, markup, annotated - select for diffs
Sun Oct 25 01:10:29 2009 UTC (2 years, 3 months ago) by kensmith
Branches: RELENG_8_0
CVS tags: RELENG_8_0_0_RELEASE
Diff to: previous 1.16.2.1: preferred, colored; next MAIN 1.17: preferred, colored
Changes since revision 1.16.2.1: +0 -0 lines
SVN rev 198460 on 2009-10-25 01:10:29Z by kensmith Copy stable/8 to releng/8.0 as part of 8.0-RELEASE release procedure. Approved by: re (implicit)
Revision 1.16.2.1: download - view: text, markup, annotated - select for diffs
Mon Aug 3 08:13:06 2009 UTC (2 years, 6 months ago) by kensmith
Branches: RELENG_8
CVS tags: RELENG_8_2_BP, RELENG_8_1_BP, RELENG_8_0_BP
Branch point for: RELENG_8_2, RELENG_8_1, RELENG_8_0
Diff to: previous 1.16: preferred, colored; next MAIN 1.17: preferred, colored
Changes since revision 1.16: +0 -0 lines
SVN rev 196045 on 2009-08-03 08:13:06Z by kensmith Copy head to stable/8 as part of 8.0 Release cycle. Approved by: re (Implicit)
Revision 1.15.8.1: download - view: text, markup, annotated - select for diffs
Wed Apr 15 03:14:26 2009 UTC (2 years, 9 months ago) by kensmith
Branches: RELENG_7_2
CVS tags: RELENG_7_2_0_RELEASE
Diff to: previous 1.15: preferred, colored; next MAIN 1.16: preferred, colored
Changes since revision 1.15: +0 -0 lines
SVN rev 191087 on 2009-04-15 03:14:26Z by kensmith Create releng/7.2 from stable/7 in preparation for 7.2-RELEASE. Approved by: re (implicit)
Revision 1.15.6.1: download - view: text, markup, annotated - select for diffs
Tue Nov 25 02:59:29 2008 UTC (3 years, 2 months ago) by kensmith
Branches: RELENG_7_1
CVS tags: RELENG_7_1_0_RELEASE
Diff to: previous 1.15: preferred, colored; next MAIN 1.16: preferred, colored
Changes since revision 1.15: +0 -0 lines
SVN rev 185281 on 2008-11-25 02:59:29Z by kensmith Create releng/7.1 in preparation for moving into RC phase of 7.1 release cycle. Approved by: re (implicit)
Revision 1.14.8.1.8.1: download - view: text, markup, annotated - select for diffs
Thu Oct 2 02:57:24 2008 UTC (3 years, 4 months ago) by kensmith
Branches: RELENG_6_4
CVS tags: RELENG_6_4_0_RELEASE
Diff to: previous 1.14.8.1: preferred, colored; next MAIN 1.15: preferred, colored
Changes since revision 1.14.8.1: +0 -0 lines
SVN rev 183531 on 2008-10-02 02:57:24Z by kensmith Create releng/6.4 from stable/6 in preparation for 6.4-RC1. Approved by: re (implicit)
Revision 1.16: download - view: text, markup, annotated - select for diffs
Wed Sep 3 16:21:28 2008 UTC (3 years, 5 months ago) by obrien
Branches: MAIN
CVS tags: RELENG_8_BP
Branch point for: RELENG_8
Diff to: previous 1.15: preferred, colored
Changes since revision 1.15: +8 -0 lines
SVN rev 182725 on 2008-09-03 16:21:28Z by obrien Introduce crunchide to the ELF e_machine MIPS values.
Revision 1.14.8.1: download - view: text, markup, annotated - select for diffs
Fri Dec 30 22:13:59 2005 UTC (6 years, 1 month ago) by marcel
Branches: RELENG_6
CVS tags: RELENG_6_4_BP, RELENG_6_3_BP, RELENG_6_3_0_RELEASE, RELENG_6_3, RELENG_6_2_BP, RELENG_6_2_0_RELEASE, RELENG_6_2, RELENG_6_1_BP, RELENG_6_1_0_RELEASE, RELENG_6_1
Branch point for: RELENG_6_4
Diff to: previous 1.14: preferred, colored; next MAIN 1.15: preferred, colored
Changes since revision 1.14: +4 -4 lines
MFC standardization of the ELF types and update of the ELF constants: lib/libc/gen/nlist.c:1.19 libexec/rtld-elf/rtld.c:1.108 libexec/rtld-elf/rtld.h:1.36 libexec/rtld-elf/alpha/reloc.c:1.21 libexec/rtld-elf/amd64/reloc.c:1.16 libexec/rtld-elf/ia64/reloc.c:1.16 libexec/rtld-elf/sparc64/reloc.c:1.11 share/man/man5/elf.5:1.32-1.33 sys/alpha/alpha/elf_machdep.c:1.20 sys/amd64/amd64/elf_machdep.c:1.24 sys/boot/common/bootstrap.h:1.42 sys/boot/common/load_elf.c:1.33 sys/boot/common/load_elf_obj.c:1.2 sys/boot/common/reloc_elf.c:1.2 sys/ia64/ia64/elf_machdep.c:1.21 sys/kern/link_elf.c:1.87 sys/kern/link_elf_obj.c:1.90 sys/sparc64/sparc64/elf_machdep.c:1.20 sys/sys/elf32.h:1.9-1.10 sys/sys/elf64.h:1.11-1.13 sys/sys/elf_common.h:1.16 sys/sys/elf_generic.h:1.7 sys/sys/imgact_elf.h:1.28 sys/sys/linker.h:1.40 usr.bin/elf2aout/elf2aout.c:1.10 usr.bin/elfdump/elfdump.c:1.13 usr.sbin/crunch/crunchide/exec_elf32.c:1.15 usr.sbin/kldxref/ef.c:1.9 usr.sbin/kldxref/ef.h:1.6 usr.sbin/kldxref/ef_amd64.c:1.3 usr.sbin/kldxref/ef_i386.c:1.3 usr.sbin/kldxref/ef_obj.c:1.4 usr.sbin/kldxref/ef_powerpc.c:1.3 usr.sbin/kldxref/ef_sparc64.c:1.4-1.5
Revision 1.15: download - view: text, markup, annotated - select for diffs
Sun Dec 18 04:52:37 2005 UTC (6 years, 1 month ago) by marcel
Branches: MAIN
CVS tags: RELENG_7_BP, RELENG_7_4_BP, RELENG_7_3_BP, RELENG_7_2_BP, RELENG_7_1_BP, RELENG_7_0_BP, RELENG_7_0_0_RELEASE, RELENG_7_0, RELENG_7
Branch point for: RELENG_7_4, RELENG_7_3, RELENG_7_2, RELENG_7_1
Diff to: previous 1.14: preferred, colored
Changes since revision 1.14: +4 -4 lines
Make our ELF64 type definitions match standards. In particular this means: o Remove Elf64_Quarter, o Redefine Elf64_Half to be 16-bit, o Redefine Elf64_Word to be 32-bit, o Add Elf64_Xword and Elf64_Sxword for 64-bit entities, o Use Elf_Size in MI code to abstract the difference between Elf32_Word and Elf64_Word. o Add Elf_Ssize as the signed counterpart of Elf_Size. MFC after: 2 weeks
Revision 1.14: download - view: text, markup, annotated - select for diffs
Sun Jun 6 16:01:36 2004 UTC (7 years, 8 months ago) by cognet
Branches: MAIN
CVS tags: RELENG_6_BP, RELENG_6_0_BP, RELENG_6_0_0_RELEASE, RELENG_6_0, RELENG_5_BP, RELENG_5_5_BP, RELENG_5_5_0_RELEASE, RELENG_5_5, RELENG_5_4_BP, RELENG_5_4_0_RELEASE, RELENG_5_4, RELENG_5_3_BP, RELENG_5_3_0_RELEASE, RELENG_5_3, RELENG_5
Branch point for: RELENG_6
Diff to: previous 1.13: preferred, colored
Changes since revision 1.13: +4 -0 lines
Tell crunchide to deal with arm elf binaries as well. Rescue can now be built for arm.
Revision 1.13: download - view: text, markup, annotated - select for diffs
Fri Aug 8 15:44:17 2003 UTC (8 years, 6 months ago) by ru
Branches: MAIN
CVS tags: RELENG_5_2_BP, RELENG_5_2_1_RELEASE, RELENG_5_2_0_RELEASE, RELENG_5_2
Diff to: previous 1.12: preferred, colored
Changes since revision 1.12: +16 -16 lines
Fix a bug that caused i386 to produce broken binaries for big-endian 64-bit platforms. (size_t is 32bit on i386, but Elf_Shdr.sh_size is 64bit on SPARC64.)
Revision 1.12: download - view: text, markup, annotated - select for diffs
Tue Jul 22 00:19:40 2003 UTC (8 years, 6 months ago) by obrien
Branches: MAIN
Diff to: previous 1.11: preferred, colored
Changes since revision 1.11: +4 -0 lines
Teach crunchide(1) about PowerPC ELF. PR: 54526 Submitted by: Stefan Farfeleder <stefan@fafoe.narf.at>
Revision 1.11: download - view: text, markup, annotated - select for diffs
Tue Jun 3 01:37:32 2003 UTC (8 years, 8 months ago) by peter
Branches: MAIN
Diff to: previous 1.10: preferred, colored
Changes since revision 1.10: +4 -0 lines
Add AMD64 support.
Revision 1.10: download - view: text, markup, annotated - select for diffs
Sat Mar 29 03:03:42 2003 UTC (8 years, 10 months ago) by obrien
Branches: MAIN
CVS tags: RELENG_5_1_BP, RELENG_5_1_0_RELEASE, RELENG_5_1
Diff to: previous 1.9: preferred, colored
Changes since revision 1.9: +1 -1 lines
Back out the totally unapproved backout of my commits.
Revision 1.9: download - view: text, markup, annotated - select for diffs
Thu Mar 13 11:47:31 2003 UTC (8 years, 11 months ago) by ru
Branches: MAIN
Diff to: previous 1.8: preferred, colored
Changes since revision 1.8: +10 -16 lines
Complete the endianness support -- sparc64 can now do i386. Tested on: sparc64 -> i386, i386 -> sparc64 Debugged by: elfdump(1)
Revision 1.8: download - view: text, markup, annotated - select for diffs
Wed Jan 29 08:37:26 2003 UTC (9 years ago) by ru
Branches: MAIN
Diff to: previous 1.7: preferred, colored
Changes since revision 1.7: +1 -1 lines
Part 1/3 of unbreaking cross releases: Back out the removal of custom version of endian.h system header. On recent systems, it just falls back to <sys/endian.h>. But on older systems like 5.0-DP1 or 4-STABLE, this private version may be necessary, as crunchide(1) is a cross-tool for "make release". Spotted by: kris, markm
Revision 1.7: download - view: text, markup, annotated - select for diffs
Mon Dec 30 10:04:46 2002 UTC (9 years, 1 month ago) by obrien
Branches: MAIN
Diff to: previous 1.6: preferred, colored
Changes since revision 1.6: +2 -3 lines
Use <sys/endian.h> rather than a private verison. Tested on: sparc64, Athlon[32]
Revision 1.6: download - view: text, markup, annotated - select for diffs
Wed Nov 13 11:50:40 2002 UTC (9 years, 2 months ago) by ru
Branches: MAIN
CVS tags: RELENG_5_0_BP, RELENG_5_0_0_RELEASE, RELENG_5_0
Diff to: previous 1.5: preferred, colored
Changes since revision 1.5: +6 -0 lines
Bootstrapping aid for 4.0-RELEASE.
Revision 1.1.6.2: download - view: text, markup, annotated - select for diffs
Thu Jul 25 09:33:17 2002 UTC (9 years, 6 months ago) by ru
Branches: RELENG_4
CVS tags: RELENG_4_9_BP, RELENG_4_9_0_RELEASE, RELENG_4_9, RELENG_4_8_BP, RELENG_4_8_0_RELEASE, RELENG_4_8, RELENG_4_7_BP, RELENG_4_7_0_RELEASE, RELENG_4_7, RELENG_4_11_BP, RELENG_4_11_0_RELEASE, RELENG_4_11, RELENG_4_10_BP, RELENG_4_10_0_RELEASE, RELENG_4_10
Diff to: previous 1.1.6.1: preferred, colored; branchpoint 1.1: preferred, colored; next MAIN 1.2: preferred, colored
Changes since revision 1.1.6.1: +7 -1 lines
MFC: cross-release support. Assorted fixes: - Changed the way the `catpages' dist is built (all MD catpages were missing before). - Perl manpages now end up in the `manpage' dist. - Clean up the `dict' dist generation script. - Diff reduction to -CURRENT.
Revision 1.5: download - view: text, markup, annotated - select for diffs
Fri May 24 06:24:40 2002 UTC (9 years, 8 months ago) by ru
Branches: MAIN
Diff to: previous 1.4: preferred, colored
Changes since revision 1.4: +55 -40 lines
Handle endianness. This completes cross-support for sparc64.
Revision 1.4: download - view: text, markup, annotated - select for diffs
Tue May 21 15:36:29 2002 UTC (9 years, 8 months ago) by ru
Branches: MAIN
Diff to: previous 1.3: preferred, colored
Changes since revision 1.3: +2 -0 lines
Added support for ia64 and sparc64.
Revision 1.3: download - view: text, markup, annotated - select for diffs
Tue Apr 30 09:34:53 2002 UTC (9 years, 9 months ago) by ru
Branches: MAIN
Diff to: previous 1.2: preferred, colored
Changes since revision 1.2: +7 -1 lines
Make crunchide(1) a cross-tool; needed for cross-arch "make release". Note that a.out is only supported for the non-cross i386 case.
Revision 1.1.6.1: download - view: text, markup, annotated - select for diffs
Wed Jul 11 23:59:12 2001 UTC (10 years, 7 months ago) by obrien
Branches: RELENG_4
CVS tags: RELENG_4_6_BP, RELENG_4_6_2_RELEASE, RELENG_4_6_1_RELEASE, RELENG_4_6_0_RELEASE, RELENG_4_6, RELENG_4_5_BP, RELENG_4_5_0_RELEASE, RELENG_4_5, RELENG_4_4_BP, RELENG_4_4_0_RELEASE, RELENG_4_4
Diff to: previous 1.1: preferred, colored
Changes since revision 1.1: +5 -3 lines
MFC: * Most of existing include/elf.h is in elf-hints.h.
elf.h is now a compatibility header with Solaris/SVR4.
* Consumers of elf.h now use the minimalist elf header possible.
This change is motivated by Binutils 2.11 and too much clashing over
our base elf headers and the Binutils elf headers.
Revision 1.2: download - view: text, markup, annotated - select for diffs
Wed May 2 23:56:20 2001 UTC (10 years, 9 months ago) by obrien
Branches: MAIN
Diff to: previous 1.1: preferred, colored
Changes since revision 1.1: +5 -3 lines
* include/elf.h has been repo copied to include/elf-hints.h, and it no longer includes machine/elf.h. * consumers of elf.h now use the minimalist elf header possible. This change is motivated by Binutils 2.11.0 and too much clashing over our base elf headers and the Binutils elf headers.
Revision 1.1: download - view: text, markup, annotated - select for diffs
Mon Sep 14 11:35:32 1998 UTC (13 years, 4 months ago) by jkh
Branches: MAIN
CVS tags: RELENG_4_BP, RELENG_4_3_BP, RELENG_4_3_0_RELEASE, RELENG_4_3, RELENG_4_2_0_RELEASE, RELENG_4_1_1_RELEASE, RELENG_4_1_0_RELEASE, RELENG_4_0_0_RELEASE, RELENG_3_BP, RELENG_3_5_0_RELEASE, RELENG_3_4_0_RELEASE, RELENG_3_3_0_RELEASE, RELENG_3_2_PAO_BP, RELENG_3_2_PAO, RELENG_3_2_0_RELEASE, RELENG_3_1_0_RELEASE, RELENG_3_0_0_RELEASE, RELENG_3, PRE_SMPNG
Branch point for: RELENG_4
Teach crunch about an elf/a.out world. Submitted by: jhay
