https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=207631

--- Comment #5 from commit-h...@freebsd.org ---
A commit references this bug:

Author: kib
Date: Wed Mar  2 16:36:25 UTC 2016
New revision: 296319
URL: https://svnweb.freebsd.org/changeset/base/296319

Log:
  Fix handling of DT_TEXTREL for an object with more than one read-only
  segment.  According to gABI spec, presence of the tag indicates that
  dynamic linker must be prepared to handle relocations against any
  read-only segment, not only the segment which we, somewhat arbitrary,
  declared the text.

  For each read-only segment, add write permission before relocs are
  processed, and return to the mapping mode requested by the phdr, after
  relocs are done.

  Reported, tested, and reviewed by:    emaste
  PR:   207631
  Sponsored by: The FreeBSD Foundation
  MFC after:    2 weeks

Changes:
  head/libexec/rtld-elf/map_object.c
  head/libexec/rtld-elf/rtld.c
  head/libexec/rtld-elf/rtld.h

-- 
You are receiving this mail because:
You are the assignee for the bug.
_______________________________________________
freebsd-bugs@freebsd.org mailing list
https://lists.freebsd.org/mailman/listinfo/freebsd-bugs
To unsubscribe, send any mail to "freebsd-bugs-unsubscr...@freebsd.org"

Reply via email to