freebsd-nq/contrib/elftoolchain/elfcopy
Dimitry Andric 1e4896b176 When elftoolchain's objcopy (or strip) is rewriting a file in-place,
make it create the temporary file in the same directory as the source
file by default, instead of always using $TMPDIR or /tmp. If creating
that file fails because the directory is not writable, also fallback to
$TMPDIR or /tmp.

This has also been submitted upstream as:
https://sourceforge.net/p/elftoolchain/tickets/597/

Reported by:	cem
PR:		250872
MFC after:	2 weeks
2020-11-18 18:40:58 +00:00
..
archive.c When elftoolchain's objcopy (or strip) is rewriting a file in-place, 2020-11-18 18:40:58 +00:00
ascii.c
binary.c
elfcopy.1
elfcopy.h When elftoolchain's objcopy (or strip) is rewriting a file in-place, 2020-11-18 18:40:58 +00:00
main.c When elftoolchain's objcopy (or strip) is rewriting a file in-place, 2020-11-18 18:40:58 +00:00
Makefile
mcs.1
os.FreeBSD.mk
pe.c
sections.c objcopy: add new sections also when there is no .shstrtab 2020-03-20 15:50:37 +00:00
segments.c
strip.1
symbols.c