Sisyphus repository
Last update: 1 october 2023 | SRPMs: 18631 | Visits: 37426384
en ru br
ALT Linux repos
S:0.4.4-alt3
5.0: 0.3.10-alt1
4.1: 0.3.10-alt1
4.0: 0.3.9-alt1
3.0:
+backports:0.3.6-alt1.M30.1

Group :: System/Base
RPM: prelink

 Main   Changelog   Spec   Patches   Sources   Download   Gear   Bugs and FR  Repocop 

15 june 2017 Ivan Zakharyaschev <imz at altlinux.org> 0.4.4-alt3

  • prelink-tools subpackage separated from the "intruding" cronjob.
     (To be used by rpmrebuild etc.)
  • Moved the RPM macros into %_rpmmacrosdir.

16 february 2011 Dmitry V. Levin <ldv at altlinux.org> 0.4.4-alt2

  • Made /etc/sysconfig/prelink readable for everyone.

7 february 2011 Dmitry V. Levin <ldv at altlinux.org> 0.4.4-alt1

  • Updated to 0.4.4 (20101123).
  • Relocated /var/lib/misc/prelink.* to /var/lib/prelink/.

16 november 2007 Dmitry V. Levin <ldv at altlinux.org> 0.3.10-alt1

  • Updated to 0.3.10 (20061201).
  • Fixed testsuite and reenabled it.
  • Relocated prelink.log to /var/log/prelink/.
  • Build with -D_GNU_SOURCE to get off64_t definition
     which is necessary for libelf-0.130.

18 november 2006 Vitaly Lipatov <lav at altlinux.ru> 0.3.9-alt1

  • restore from orphaned, fix Source URL
  • new version from FC6
  • remove static build, update buildreq
  • disable tests (broken linking)

24 january 2006 Anton D. Kachalov <mouse at altlinux.org> 0.3.6-alt3

  • build shared and static version of prelink (#8856)

18 october 2005 Kachalov Anton <mouse at altlinux.ru> 0.3.6-alt2

  • added RPM-macros

14 october 2005 Kachalov Anton <mouse at altlinux.ru> 0.3.6-alt1

  • first build for Sisyphus

1 september 2005 Jakub Jelinek <jakub at redhat.com> 0.3.6-1

  • remove kernel requires - installed kernel doesn't imply running
     kernel anyway and in FC5 kernels older than 2.4.20 can't be used
     anyway, as LinuxThreads are no longer included
  • don't relocate stabs N_{B,D,}SLINE (reported by Ashley Pittman)

29 july 2005 Jakub Jelinek <jakub at redhat.com> 0.3.5-2

  • on ppc32 handle -mbss-plt .got sections created with -msecure-plt
     capable binutils (#164615)

10 june 2005 Jakub Jelinek <jakub at redhat.com> 0.3.5-1

  • support for ppc32 -msecure-plt libraries and binaries
  • don't crash if d_tag is invalid (#155605)
  • rebuilt against robustified libelf (CAN-2005-1704)
  • fix handling of libraries and binaries given on command
     line without any / characters in the filename

14 march 2005 Jakub Jelinek <jakub at redhat.com> 0.3.4-3

  • fix relocation of .debug_loc (#150194)

5 march 2005 Jakub Jelinek <jakub at redhat.com> 0.3.4-2

  • rebuilt with GCC 4

7 february 2005 Jakub Jelinek <jakub at redhat.com> 0.3.4-1

  • fix prelink -uo when linked against libselinux (#146637)
     and when the -o argument filename is on a different filesystem
     than the object that needs undoing

23 november 2004 Jakub Jelinek <jakub at redhat.com> 0.3.3-1

  • if layout code needs to re-prelink some library, make sure
     all libraries that depend on it are re-prelinked too (#140081)
  • add several more checks before deciding it is ok to prelink a binary
     (even if another bug like #140081 was in, these checks should hopefully
     catch it and refuse to (re-)prelink the binary)
  • added new PRELINK_NONRPM_CHECK_INTERVAL variable to /etc/prelink,
     defaulting to 7 days.  Prelink nightly job will not do anything
     if that interval has not elapsed since last prelinking and
     and the rpm database has not been modified since that prelinking.
     This is useful if you rely on rpm/up2date/yum/apt-rpm for library
     and binary updates.  If you combine it with other means (installs
     from source, tarballs etc.), you probably want to
     set PRELINK_NONRPM_CHECK_INTERVAL=0.
  • update prelink man page (#126468)

12 october 2004 Jakub Jelinek <jakub at redhat.com> 0.3.2-11

  • update PT_PHDR program header if present when adding new program
     headers (#133734)

2 october 2004 Jakub Jelinek <jakub at redhat.com> 0.3.2-10

  • support for non-absolute blacklist glob patterns (e.g. -b *.la)
  • cache information about non-prelinkable files (non-ELF, statically linked,
     too small .dynamic, DT_TEXTREL with conflicts against it; #132056)
  • other speedups for prelink -aq
  • for --verify, make sure only read-only fd's are opened for the
     unprelinked temporary file, otherwise a kernel might ETXTBUSY on it
     (#133317)
  • change warning message if some object's dependencies can't be found
  • add buildrequires libselinux-devel and use %{_tmppath} instead
     of /var/tmp in Buildroot (#132879)

8 september 2004 Jakub Jelinek <jakub at redhat.com> 0.3.2-8

  • handle overlapping .opd sections on ppc64

7 september 2004 Jakub Jelinek <jakub at redhat.com> 0.3.2-7

  • fix warning messages if setting of security context fails

7 july 2004 Jakub Jelinek <jakub at redhat.com> 0.3.2-6

  • change sed separator in testsuite scripts from | to , if \|
     is present in regexps, as that invokes undefined behaviour
     which changed between GNU sed 4.0.9 and 4.1

7 july 2004 Jakub Jelinek <jakub at redhat.com> 0.3.2-5

  • skip vDSO in ldd /sbin/init output when determining if /sbin/telinit -u
     should be run (#127350)

15 june 2004 Elliot Lee <sopwith at redhat.com>

  • rebuilt

20 may 2004 Jakub Jelinek <jakub at redhat.com> 0.3.2-3

  • 4 SPARC 64-bit fixes
  • use $CC instead of gcc when checking for TLS support in tls*.sh

20 may 2004 Jakub Jelinek <jakub at redhat.com> 0.3.2-2

  • add 2 new TLS testcases (one that fails e.g. with glibc < 2.3.3-28
     on IA-32)
  • SPARC TLS support

5 may 2004 Jakub Jelinek <jakub at redhat.com> 0.3.2-1

  • fix cxx.c:68: find_cxx_sym: Assertive `n < ndeps' failed problem
     on 32-bit architectures (#118522)
  • build prelink.cache into temporary file and atomically rename over
     (#121109)

17 march 2004 Jakub Jelinek <jakub at redhat.com> 0.3.1-2

  • unlink temporary files if renaming to the destination or setting of
     security context failed (#118251)
  • fix bi-architecture prelinking (#118226)
  • if prelink called from the cron script fails, note the exit status
     into /var/log/prelink.log

4 march 2004 Jakub Jelinek <jakub at redhat.com> 0.3.1-1

  • add prelink documentation (PDF format)
  • fix assertion failures on PPC (.sdynbss related, #115925)
  • fix prelink --help (#115202)
  • avoid free on uninitialized variable in one error path (#117332)
  • s/i386/%{ix86}/ to make mharris happy

16 february 2004 Jakub Jelinek <jakub at redhat.com> 0.3.0-21

  • fix prelink abort in certain cases where a new PT_LOAD segment
     needs to be added (seen on AMD64)

29 january 2004 Jakub Jelinek <jakub at redhat.com> 0.3.0-20

  • clearify message about unlisted dependencies
  • don't do SELinux context copying if is_selinux_enabled () < 0

27 january 2004 Jakub Jelinek <jakub at redhat.com> 0.3.0-19

  • refuse to prelink objects whose dependencies as reported by
     ldd don't include all dependencies transitively (this can
     happen when using RPATH and a shared library with the same
     SONAME exists both in that RPATH and either another RPATH
     or standard library directories)
  • add testcase for this
  • rework .dynsym/.symtab STT_SECTION translation, so that it works
     with binutils which put only sections not generated by the linker
     into .dynsym for shared libraries
  • fix make check, so that it is not confused by 2.6.x kernel
     VDSOs

15 january 2004 Jakub Jelinek <jakub at redhat.com> 0.3.0-18

  • allow R_*_JU?MP_SLOT relocs to point also into .got.plt
     sections on IA32/AMD64/ARM/s390/s390x/SH

9 december 2003 Jakub Jelinek <jakub at redhat.com> 0.3.0-17

  • set SELinux security context immediately before renaming,
     not before

18 november 2003 Jakub Jelinek <jakub at redhat.com> 0.3.0-15

  • blacklist support
  • use FTW_ACTIONRETVAL if available to avoid even stating of
     files in blacklisted directory trees
  • SELinux support

28 october 2003 Jakub Jelinek <jakub at redhat.com> 0.3.0-13

  • added execstack.8 manpage
  • changed order of columns in execstack --query output

28 october 2003 Jakub Jelinek <jakub at redhat.com> 0.3.0-12

  • added execstack tool
  • added -o option, to be used together with -u
  • free temp_filename in close_dso

27 october 2003 Jakub Jelinek <jakub at redhat.com> 0.3.0-11

  • fix adjustement of DT_VALRNGLO .. DT_VALRNGHI and
     DT_ADDRRNGLO .. DT_ADDRRNGHI dynamic tags when relocating shared
     libraries
  • never adjust p_vaddr/p_paddr/p_offset of PT_GNU_STACK segment
  • allow shell wildcards in /etc/prelink.conf
  • fix REL->RELA conversion of shared libraries if .rel.dyn
     or .rel.plt are last sections in readonly PT_LOAD segment
  • force full reprelinking on prelink upgrades (well, first time
     the cron job is run after the upgrade)
  • require coreutils, findutils, util-linux, gawk and grep

24 october 2003 Jakub Jelinek <jakub at redhat.com> 0.3.0-10

  • avoid removing PT_GNU_STACK segment if decreasing first PT_LOAD segment's
     p_vaddr on IA-32

13 october 2003 Jakub Jelinek <jakub at redhat.com> 0.3.0-9

  • avoid prelink crash if first dependency is to be prelinked because
     of address space overlaps

9 october 2003 Jakub Jelinek <jakub at redhat.com> 0.3.0-8

  • use /var/lib/misc/prelink.full instead of /var/run/prelink.full for last
     full prelink timestamp (#106721)
  • warn about UPX compressed binaries or libraries/binaries without section
     headers (neither can be prelinked obviously)

6 october 2003 Jakub Jelinek <jakub at redhat.com> 0.3.0-7

  • don't rely on malloc/calloc/realloc with size 0 returning a unique pointer
  • fix testsuite, so that it works even if installed glibc/libstdc++
     is already prelinked

17 september 2003 Jakub Jelinek <jakub at redhat.com> 0.3.0-6

  • fix comment in /etc/sysconfig/prelink (#106217)

2 september 2003 Jakub Jelinek <jakub at redhat.com> 0.3.0-5

  • fix prelink segfault on -z nocombreloc libraries (#103404)
  • run one make check round with -Wl,-z,nocombreloc to test handling
     of nocombreloc binaries and libraries

15 august 2003 Jakub Jelinek <jakub at redhat.com> 0.3.0-4

  • redirect prelink's stderr from the cron job to prelink.log (#102456)

11 august 2003 Jakub Jelinek <jakub at redhat.com> 0.3.0-3

  • fix DT_CHECKSUM computation - do STT_LOCAL symbol frobbing and .mdebug
     updates write_dso would do also before checksum computation (#89953)

8 august 2003 Jakub Jelinek <jakub at redhat.com> 0.3.0-2

  • avoid assertion failures when changing PROGBITS .bss back into
     NOBITS .bss (#101813)
  • add 2 new tests for it

5 august 2003 Jakub Jelinek <jakub at redhat.com> 0.3.0-1

  • run prelink from cron automatically, add /etc/sysconfig/prelink
     to configure it
  • update manual page

1 july 2003 Jakub Jelinek <jakub at redhat.com> 0.2.1-2

  • fix a thinko in the library path checking code
  • change R_386_GLOB_DAT into R_386_32 in .gnu.conflict, similarly
     R_X86_64_GLOB_DAT and R_X86_64_64
  • fix a bug in find_free_space which caused
     "section file offsets not monotonically increasing" errors on some
     IA-32 binaries
  • add --md5 and --sha options
  • use mmap during --verify if possible
  • add */lib64 directories to prelink.conf

30 june 2003 Jakub Jelinek <jakub at redhat.com> 0.2.1-1

  • make sure binaries prelinked for the second and later time without
     unprelinking in between verify correctly
  • make sure DT_CHECKSUM computation is the same for newly prelinked
     and second or later time prelinked libraries
  • dwarf2 abbrev hash bugfix
  • don't allow prelinking libraries outside directories specified
     in config file or on the command line
  • several new tests for reprelinking
  • pack non-alloced sections and section header table tightly after the
     last alloced section

18 june 2003 Jakub Jelinek <jakub at redhat.com> 0.2.0-28

  • finish and enable ppc64
  • fix ppc BR{,N}TAKEN reloc handling
  • fix up sh_offset values of zero-sized or SHT_NOBITS section
     if ld messed them up
  • issue error about bogus library dependency chains instead of
     segfaulting (plus testcases for it)

13 june 2003 Jakub Jelinek <jakub at redhat.com> 0.2.0-27

  • add --quick mode
  • new test for --quick mode and also reprelinking of binary against
     upgraded shared library which needs more conflicts

2 june 2003 Jakub Jelinek <jakub at redhat.com> 0.2.0-26

  • don't segfault in C++ optimizations if a conflict from undefined
     to defined value is seen
  • some more ppc64 work

30 may 2003 Jakub Jelinek <jakub at redhat.com> 0.2.0-25

  • exec-shield support
  • with -R, don't randomize just base address from which all libs
     are layed out, but also slightly randomize order of libraries
     in the layout queue
  • add check-harder and check-cycle makefile goals in testsuite/,
     use it during rpm building

23 may 2003 Jakub Jelinek <jakub at redhat.com> 0.2.0-24

  • optimize out conflicts in G++ 3+ virtual tables if they are just
     because some method has been called from a binary and thus there
     is a .plt slot in the binary. This change not only kills lots of conflicts
     on some KDE programs, but also should speed up runtime (not just startup
     time), since the hop through .plt is bypassed
  • added new C++ test
  • fix a bug in ppc64 fixup .plt code

22 may 2003 Jakub Jelinek <jakub at redhat.com> 0.2.0-23

  • when updating dynamic tags for executable after section reshuffling,
     check section type as well, so that 0 sized sections don't get the
     tags attached instead of the proper ones
  • when an address space conflict is found between libraries for the same
     executable during layouting, check properly for all remaining conflicts
     as well

15 may 2003 Jakub Jelinek <jakub at redhat.com> 0.2.0-22

  • don't adjust DT_REL{,A} if it is 0
  • allow prelinking of libraries with no dependencies
  • fix handling of libraries with no lazy relocs, no normal relocs or no
     relocs at all
  • some new tests
  • fix SH (Daniel Jacobowitz)

5 may 2003 Jakub Jelinek <jakub at redhat.com> 0.2.0-21

  • fix prelink on AMD64
  • 2 new testcases
  • fix for debugging prelink_entry_dump/restore

2 may 2003 Jakub Jelinek <jakub at redhat.com> 0.2.0-20

  • ppc TLS
  • some ppc64 work
  • avoid using trampolines for nested functions
  • fix typo in prelink man page (#89247)

15 april 2003 Jakub Jelinek <jakub at redhat.com> 0.2.0-19

  • fix find_readonly_space bug which caused doxygen not to be prelinked

17 february 2003 Jakub Jelinek <jakub at redhat.com> 0.2.0-18

  • fix section indices in .symtab if non-alloced sections weren't
     originally monotonically increasing
  • s390, s390x and Alpha TLS support

10 february 2003 Jakub Jelinek <jakub at redhat.com> 0.2.0-17

  • never try to prelink or relocate stripped-to-file debuginfo

21 january 2003 Jakub Jelinek <jakub at redhat.com> 0.2.0-16

  • x86-64 TLS support
  • added one more tls testcase

13 december 2002 Jakub Jelinek <jakub at redhat.com> 0.2.0-15

  • hopefully finished IA-32 TLS support
  • require elfutils 0.72 for various data-swapping fixes

11 december 2002 Jakub Jelinek <jakub at redhat.com> 0.2.0-14

  • rebuilt against elfutils 0.69 to fix a make check failure on Alpha

9 december 2002 Jakub Jelinek <jakub at redhat.com> 0.2.0-13

  • use ELF_F_PERMISSIVE if defined
  • be permissive even when doing --reloc-only
  • fix up .plt section sh_entsize on Alpha

4 december 2002 Jakub Jelinek <jakub at redhat.com> 0.2.0-12

  • some more fixes for elfutils

3 december 2002 Jakub Jelinek <jakub at redhat.com> 0.2.0-11

  • make it work with elfutils instead of libelf 0.[78]
  • update to newer auto*/libtool
  • some more steps towards TLS support, at least --reloc-only should work

3 october 2002 Jakub Jelinek <jakub at redhat.com> 0.2.0-10

  • x86-64, s390x and testsuite fixes

29 september 2002 Jakub Jelinek <jakub at redhat.com> 0.2.0-9

  • enable on ppc and x86_64
  • fix ppc far PLT slot prelink
  • support --undo on ppc
  • for bug-compatibility with some unnamed OS changed R_SPARC_RELATIVE
     --undo
  • tiny steps towards TLS support on IA-32, more will come

27 august 2002 Jakub Jelinek <jakub at redhat.com> 0.2.0-8

  • avoid putting garbage into executable's .gnu.liblist sh_link
     if we did not have to grow .dynstr
  • don't segfault on bogus sh_link and sh_info values (#72705)

26 august 2002 Jakub Jelinek <jakub at redhat.com> 0.2.0-7

  • when growing allocated shared lib sections (for REL->RELA
     conversion), make sure !PF_W and PF_W segments don't end up
     on the same page
  • when finding space for sections in an executable, make sure
     it is not included in between two reloc sections
  • for non-zero SHN_ABS symbols on 32-bit arches mask high
     32-bits of st_value (libelf 0.8.x is strict here)

23 august 2002 Jakub Jelinek <jakub at redhat.com> 0.2.0-6

  • make it work with libelf 0.8.2

21 june 2002 Tim Powers <timp at redhat.com>

  • automated rebuild

21 june 2002 Jakub Jelinek <jakub at redhat.com> 0.2.0-4

  • add /etc/rpm/macros.prelink

17 june 2002 Jakub Jelinek <jakub at redhat.com> 0.2.0-1

  • added --undo and --verify mode
  • new architectures s390, s390x, arm, sh
  • handle binaries/shared libraries with non-allocated sections
     without monotonically increasing sh_offsets
  • handle .sbss and .sdynbss
  • fixed a bug in 64-bit LE/BE read routines
  • removed .rel{,a}.dyn reloc conversion/sorting, it was duplicating
     ld's -z combreloc and complicated lots of things
  • fixed STB_LOCAL/STT_SECTION symbol adjusting
  • use mkstemp for temporary files, allow --verify for binaries/libs
     on read-only filesystems
  • added DWARF-2 .debug_ranges adjustement, special case GCC's
     "set base to 0 and make things absolute instead of relative" trick
  • allow arches to override default layout mechanism (for ppc)
  • added some new tests, test --undo and --verify modes in the testsuite
  • alpha: adjust what R_ALPHA_GLOB_DAT points to too
  • i386: apply _32 and _PC32 REL relocs, as apply_rel can be called
     for C++ optimizations before REL->RELA conversion
  • ppc: layout strategy to satisfy ppc lib location preferences
  • sparc64: handle R_SPARC_DISP64
  • x86-64: adjust what R_X86_64_RELATIVE points to too
  • link prelink statically, esp. because of --verify mode
  • run make check during build process

1 october 2001 Jakub Jelinek <jakub at redhat.com> 0.1.3-7

  • fix layout code so that -R works
  • on IA-32, when there are no R_386_PC32 relocs and no R_386_32 relocs
     with non-zero addend (= memory content), don't convert REL->RELA,
     only switch R_386_32 relocs to R_386_GLOB_DAT
  • support creating a new PT_LOAD segment if necessary, if SHT_NOBITS
     sections are small, instead of adding new PT_LOAD segment just add file
     backing to those NOBITS sections
  • added testsuite
  • new supported architectures (Alpha including .mdebug section support,
     Sparc, Sparc 64-bit, X86_64 (the last one untested)), beginning of PPC
     support

6 september 2001 Jakub Jelinek <jakub at redhat.com> 0.1.3-6

  • make sure lib base is always ELF page size aligned

29 august 2001 Jakub Jelinek <jakub at redhat.com> 0.1.3-5

  • fix sorting of .rel*.dyn sections, so that all RELATIVE relocs really
     come first
  • when DT_RELCOUNT already exists and conversion REL->RELA is done,
     convert it into DT_RELACOUNT
  • set conflict lookupent and conflictent to 0 for undefineds
  • don't bother with DT_REL*COUNT for apps, they cannot have any RELATIVE
     relocs

28 august 2001 Jakub Jelinek <jakub at redhat.com> 0.1.3-4

  • brown paper bag time: when determining if conversion from REL to RELA
     is needed, check all non-PLT rel sections, including last.
     This caused prelinking to fail with -z combreloc compiled libraries.

27 august 2001 Jakub Jelinek <jakub at redhat.com> 0.1.3-3

  • don't use .gnu.reloc section, use .rel.dyn or .rela.dyn instead
  • put RELATIVE relocs first, not last, so that DT_REL{,A}COUNT
     works
  • put in updated glibc patch
  • no need for special binutils patch - all is done in the -z combreloc
     patchset

24 july 2001 Jakub Jelinek <jakub at redhat.com> 0.1.3-2

  • use the new DT_GNU_CONFLICT/DT_GNU_LIBLIST/SHT_GNU_LIBLIST constants
  • unlink *.#prelink# files if necessary

18 july 2001 Jakub Jelinek <jakub at redhat.com> 0.1.3-1

  • fix layout.c
  • create .gnu.prelink_undo section, --undo and --verify modes will use that
  • some more C++ specific optimizations

13 july 2001 Jakub Jelinek <jakub at redhat.com> 0.1.2-1

  • bail out early if ELF object does not have sh_offsets
     monotonically increasing
  • disallow prelinking if there are conflicts against read-only
     segments in shared libraries (ie. non-pic shared libraries
  • this is better than bailing out for all non-pic shared libraries)
  • add some C++ specific optimizations to reduce number of conflicts,
     more to come

10 july 2001 Jakub Jelinek <jakub at redhat.com> 0.1.1-2

  • fix incremental prelinking

10 july 2001 Jakub Jelinek <jakub at redhat.com> 0.1.1-1

  • relocate stabs and dwarf-2 debugging formats
  • support both --all and incremental prelinking
  • handle hardlinks
  • limit to libraries in /etc/prelink.conf directories or
     directories from command line

3 july 2001 Jakub Jelinek <jakub at redhat.com> 0.1.0-1

  • new package
 
design & coding: Vladimir Lettiev aka crux © 2004-2005, Andrew Avramenko aka liks © 2007-2008
current maintainer: Michael Shigorin