aboutsummaryrefslogtreecommitdiffstats
path: root/src/undo.c
AgeCommit message (Collapse)Author
2021-02-04Add SPDX license headers to all source filesHEADmasterMeh Mbeh Ida Delphine
Added SPDX headers in all source files except src/makecrc.c since it is not copyrighted. Skipped Makefile.am as well. Also cleared redundant license text. [YOCTO #13529] Signed-off-by: Meh Mbeh Ida Delphine <idadelm@gmail.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2018-10-12Support copy relocations in .data.rel.roKyle Russell
binutils-2.28 (17026142ef35b62ac88bfe517b4160614902cb28) adds support for copying read-only dynamic symbols into .data.rel.ro instead of .bss since .bss is technically writable. This causes prelink to error out on any binary containing COPY relocations in .data.rel.ro. Read-only variables defined in shared libraries should be copied directly into the space allocated for them in .data.rel.ro by the linker. To achieve this, we determine whether either of the two sections containing copy relocations is .data.rel.ro. If so, we relocate the symbol memory directly into the existing section instead of constructing a new .(s)dynbss section once prelink_build_conflicts() returns. Fixes cxx1.sh, cxx2.sh, and cxx3.sh on Fedora 28 (which uses binutils-2.29). Signed-off-by: Kyle Russell <bkylerussell@gmail.com> DCO for Kyle added per email on YP list. Added ChangeLog entry. Signed-off-by: Mark Hatle <mark.hatle@windriver.com>
2015-10-28Upstream prelink project appears abandoned, take over the projectMark Hatle
The upstream project appears to be dead now. So switch to a more git friendly directory, no reason to maintain the SVN trunk any longer. 2015-10-22 Mark Hatle <mark.hatle@windriver.com> * Upstream project appears to have been abandoned * Update the project to remove the SVN like 'trunk' dir * Adjust the AUTHORS file * Move the README.cross to replace README and update it * Move the previous ChangeLog to ChangeLog.1 * Move the current ChangeLog.cross to ChangeLog Signed-off-by: Mark Hatle <mark.hatle@windriver.com>
2006-07-21Move code into trunk subdirectory.drow
git-svn-id: http://sourceware.org/svn/prelink@134 94c539fb-cf18-0410-b60f-edeeb537fa16
2006-07-1820050207jakub
git-svn-id: http://sourceware.org/svn/prelink@123 94c539fb-cf18-0410-b60f-edeeb537fa16
2006-07-1820040931jakub
git-svn-id: http://sourceware.org/svn/prelink@118 94c539fb-cf18-0410-b60f-edeeb537fa16
2006-07-1820031028jakub
git-svn-id: http://sourceware.org/svn/prelink@100 94c539fb-cf18-0410-b60f-edeeb537fa16
2006-07-1820031006jakub
git-svn-id: http://sourceware.org/svn/prelink@95 94c539fb-cf18-0410-b60f-edeeb537fa16
2006-07-1820030630jakub
git-svn-id: http://sourceware.org/svn/prelink@87 94c539fb-cf18-0410-b60f-edeeb537fa16
2006-07-1820030626jakub
git-svn-id: http://sourceware.org/svn/prelink@85 94c539fb-cf18-0410-b60f-edeeb537fa16
2006-07-1820021213jakub
git-svn-id: http://sourceware.org/svn/prelink@64 94c539fb-cf18-0410-b60f-edeeb537fa16
2006-07-1820021206jakub
git-svn-id: http://sourceware.org/svn/prelink@63 94c539fb-cf18-0410-b60f-edeeb537fa16
2006-07-1820021204jakub
git-svn-id: http://sourceware.org/svn/prelink@62 94c539fb-cf18-0410-b60f-edeeb537fa16
2006-07-1820020617jakub
git-svn-id: http://sourceware.org/svn/prelink@51 94c539fb-cf18-0410-b60f-edeeb537fa16
2006-07-1820020616jakub
git-svn-id: http://sourceware.org/svn/prelink@50 94c539fb-cf18-0410-b60f-edeeb537fa16
2006-07-1820020612jakub
git-svn-id: http://sourceware.org/svn/prelink@47 94c539fb-cf18-0410-b60f-edeeb537fa16
2006-07-1820020611jakub
git-svn-id: http://sourceware.org/svn/prelink@46 94c539fb-cf18-0410-b60f-edeeb537fa16
2006-07-1820020610jakub
git-svn-id: http://sourceware.org/svn/prelink@45 94c539fb-cf18-0410-b60f-edeeb537fa16
2006-07-1820020609jakub
git-svn-id: http://sourceware.org/svn/prelink@44 94c539fb-cf18-0410-b60f-edeeb537fa16
2006-07-1820020524jakub
git-svn-id: http://sourceware.org/svn/prelink@43 94c539fb-cf18-0410-b60f-edeeb537fa16
2006-07-1820011007jakub
git-svn-id: http://sourceware.org/svn/prelink@35 94c539fb-cf18-0410-b60f-edeeb537fa16
2006-07-1820011003jakub
git-svn-id: http://sourceware.org/svn/prelink@34 94c539fb-cf18-0410-b60f-edeeb537fa16
2006-07-1820010827jakub
git-svn-id: http://sourceware.org/svn/prelink@18 94c539fb-cf18-0410-b60f-edeeb537fa16
2006-07-1820010724jakub
git-svn-id: http://sourceware.org/svn/prelink@17 94c539fb-cf18-0410-b60f-edeeb537fa16
2006-07-1820010717jakub
git-svn-id: http://sourceware.org/svn/prelink@15 94c539fb-cf18-0410-b60f-edeeb537fa16