The NetBSD Project

CVS log for src/tests/libexec/ld.elf_so/t_ifunc.c

[BACK] Up to [cvs.NetBSD.org] / src / tests / libexec / ld.elf_so

Request diff between arbitrary revisions


Default branch: MAIN


Revision 1.13 / (download) - annotate - [select for diffs], Tue Jun 21 16:24:37 2022 UTC (21 months, 3 weeks ago) by christos
Branch: MAIN
CVS Tags: netbsd-10-base, netbsd-10-0-RELEASE, netbsd-10-0-RC6, netbsd-10-0-RC5, netbsd-10-0-RC4, netbsd-10-0-RC3, netbsd-10-0-RC2, netbsd-10-0-RC1, netbsd-10, HEAD
Changes since 1.12: +2 -2 lines
Diff to previous 1.12 (colored)

sort; it is the same list as in h_ifunc_static.c; perhaps it should be
a HAVE_ something?

Revision 1.12 / (download) - annotate - [select for diffs], Tue Jun 21 06:52:17 2022 UTC (21 months, 3 weeks ago) by skrll
Branch: MAIN
Changes since 1.11: +2 -1 lines
Diff to previous 1.11 (colored)

Support ifunc on aarch64. The tests pass at least.

Revision 1.11 / (download) - annotate - [select for diffs], Tue Jun 21 06:47:38 2022 UTC (21 months, 3 weeks ago) by skrll
Branch: MAIN
Changes since 1.10: +7 -2 lines
Diff to previous 1.10 (colored)

Wrap long #if defined(...) || ... and sort.  NFCI.

Revision 1.10 / (download) - annotate - [select for diffs], Mon Jun 13 19:49:33 2022 UTC (22 months ago) by skrll
Branch: MAIN
Changes since 1.9: +2 -2 lines
Diff to previous 1.9 (colored)

Whitespace

Revision 1.8.2.1 / (download) - annotate - [select for diffs], Mon Apr 13 08:05:29 2020 UTC (4 years ago) by martin
Branch: phil-wifi
Changes since 1.8: +2 -2 lines
Diff to previous 1.8 (colored) next main 1.9 (colored)

Mostly merge changes from HEAD upto 20200411

Revision 1.9 / (download) - annotate - [select for diffs], Tue Jul 9 16:24:01 2019 UTC (4 years, 9 months ago) by maya
Branch: MAIN
CVS Tags: phil-wifi-20200421, phil-wifi-20200411, phil-wifi-20200406, phil-wifi-20191119, netbsd-9-base, netbsd-9-3-RELEASE, netbsd-9-2-RELEASE, netbsd-9-1-RELEASE, netbsd-9-0-RELEASE, netbsd-9-0-RC2, netbsd-9-0-RC1, netbsd-9, is-mlppp-base, is-mlppp, cjep_sun2x-base1, cjep_sun2x-base, cjep_sun2x, cjep_staticlib_x-base1, cjep_staticlib_x-base, cjep_staticlib_x
Changes since 1.8: +2 -2 lines
Diff to previous 1.8 (colored)

return return atf_no_error() instead of 0 for consistency.

suggested by moritzbuhl in https://github.com/NetBSD/src/pull/11/

Revision 1.7.2.1 / (download) - annotate - [select for diffs], Thu Mar 15 09:12:07 2018 UTC (6 years, 1 month ago) by pgoyette
Branch: pgoyette-compat
CVS Tags: pgoyette-compat-merge-20190127
Changes since 1.7: +17 -17 lines
Diff to previous 1.7 (colored) next main 1.8 (colored)

Synch with HEAD

Revision 1.8 / (download) - annotate - [select for diffs], Fri Mar 9 20:15:03 2018 UTC (6 years, 1 month ago) by joerg
Branch: MAIN
CVS Tags: phil-wifi-base, phil-wifi-20190609, pgoyette-compat-20190127, pgoyette-compat-20190118, pgoyette-compat-1226, pgoyette-compat-1126, pgoyette-compat-1020, pgoyette-compat-0930, pgoyette-compat-0906, pgoyette-compat-0728, pgoyette-compat-0625, pgoyette-compat-0521, pgoyette-compat-0502, pgoyette-compat-0422, pgoyette-compat-0415, pgoyette-compat-0407, pgoyette-compat-0330, pgoyette-compat-0322, pgoyette-compat-0315
Branch point for: phil-wifi
Changes since 1.7: +17 -17 lines
Diff to previous 1.7 (colored)

Avoid casting fun by switching ifunc helper functions to return
long long. Dead beef is too useful to switch to a different constant.

Revision 1.7 / (download) - annotate - [select for diffs], Mon Jan 1 06:34:13 2018 UTC (6 years, 3 months ago) by maya
Branch: MAIN
CVS Tags: pgoyette-compat-base
Branch point for: pgoyette-compat
Changes since 1.6: +12 -8 lines
Diff to previous 1.6 (colored)

Build less of the test code if there's no linker ifunc support.

r1.6 changed the code in such a way that it was hitting a BFD assert on
MIPS, causing the builds to fail.

we were hitting the assert at binutils/dist/bfd/elfxx-mips.c:10879

Revision 1.6 / (download) - annotate - [select for diffs], Sat Dec 30 16:53:34 2017 UTC (6 years, 3 months ago) by martin
Branch: MAIN
Changes since 1.5: +12 -4 lines
Diff to previous 1.5 (colored)

Skip all tests on architectures w/o ifunc linker/ld.elf_so support.

Revision 1.5 / (download) - annotate - [select for diffs], Mon Nov 6 21:16:03 2017 UTC (6 years, 5 months ago) by joerg
Branch: MAIN
Changes since 1.4: +28 -1 lines
Diff to previous 1.4 (colored)

init/fini for the main program is handled by crt0.o, so ifunc handling
is skipped right now as it iterates the same list. Don't repeat that
mistake and explicitly take care of it in the dynamic linker.

Revision 1.4 / (download) - annotate - [select for diffs], Sat Aug 12 09:03:28 2017 UTC (6 years, 8 months ago) by joerg
Branch: MAIN
Changes since 1.3: +12 -2 lines
Diff to previous 1.3 (colored)

Add sparc/sparc64 support for irelative relocations.

Revision 1.3 / (download) - annotate - [select for diffs], Thu Aug 10 19:03:27 2017 UTC (6 years, 8 months ago) by joerg
Branch: MAIN
Changes since 1.2: +56 -1 lines
Diff to previous 1.2 (colored)

Add IRELATIVE support for ARM, X86 and PowerPC.

Revision 1.1.2.1 / (download) - annotate - [select for diffs], Mon Mar 20 06:58:00 2017 UTC (7 years ago) by pgoyette
Branch: pgoyette-localcount
Changes since 1.1: +2 -2 lines
Diff to previous 1.1 (colored) next main 1.2 (colored)

Sync with HEAD

Revision 1.2 / (download) - annotate - [select for diffs], Fri Jan 13 21:30:42 2017 UTC (7 years, 3 months ago) by christos
Branch: MAIN
CVS Tags: prg-localcount2-base3, prg-localcount2-base2, prg-localcount2-base1, prg-localcount2-base, prg-localcount2, pgoyette-localcount-20170426, pgoyette-localcount-20170320, perseant-stdc-iso10646-base, perseant-stdc-iso10646, netbsd-8-base, netbsd-8-2-RELEASE, netbsd-8-1-RELEASE, netbsd-8-1-RC1, netbsd-8-0-RELEASE, netbsd-8-0-RC2, netbsd-8-0-RC1, netbsd-8, matt-nb8-mediatek-base, matt-nb8-mediatek, bouyer-socketcan-base1, bouyer-socketcan-base, bouyer-socketcan
Changes since 1.1: +2 -2 lines
Diff to previous 1.1 (colored)

Don't play with "../.." in includes for h_macros.h; deal with it centrally.
Minor fixes.

Revision 1.1 / (download) - annotate - [select for diffs], Mon Aug 25 20:40:53 2014 UTC (9 years, 7 months ago) by joerg
Branch: MAIN
CVS Tags: pgoyette-localcount-base, pgoyette-localcount-20170107, pgoyette-localcount-20161104, pgoyette-localcount-20160806, pgoyette-localcount-20160726, localcount-20160914
Branch point for: pgoyette-localcount

Add basic support for indirect functions. It allows providing a public
function symbol with an implementation choosen at run time.
Refactor calls to functions by address in ld.elf_so to create temporary
function descriptors on the stack, if the address is not leaked outside.

Limitations:
- no support for initialising static storage with function pointers
- no support for unnamed resolver functions

Inspired by FreeBSD's r228435 by kib@freebsd.org.

This form allows you to request diff's between any two revisions of a file. You may select a symbolic revision name using the selection box or you may type in a numeric name using the type-in text box.




CVSweb <webmaster@jp.NetBSD.org>