freebsd-dev/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 Update ELF Tool Chain to upstream r3769 2019-12-05 13:20:15 +00:00
binary.c Update ELF Tool Chain to upstream r3769 2019-12-05 13:20:15 +00:00
elfcopy.1 Update to ELF Tool Chain r3668 2019-01-10 14:35:23 +00:00
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 Update ELF Tool Chain to r3614 2018-04-27 13:59:24 +00:00
mcs.1 Update to ELF Tool Chain r3668 2019-01-10 14:35:23 +00:00
os.FreeBSD.mk Update ELF Tool Chain to upstream r3520 2017-04-17 23:56:48 +00:00
pe.c Update ELF Tool Chain to upstream r3520 2017-04-17 23:56:48 +00:00
sections.c objcopy: add new sections also when there is no .shstrtab 2020-03-20 15:50:37 +00:00
segments.c Update to ELF Tool Chain r3668 2019-01-10 14:35:23 +00:00
strip.1 Merge r3778 and r3779 from ELFToolchain. 2019-07-29 22:07:43 +00:00
symbols.c Update ELF Tool Chain to upstream r3520 2017-04-17 23:56:48 +00:00