[ruby-cvs:68024] normal:r60843 (trunk): addr2line.c: fix r60841 for glibc before 2.22

normal at ruby-lang.org normal at ruby-lang.org
Sun Nov 19 06:57:38 JST 2017


normal	2017-11-19 06:57:38 +0900 (Sun, 19 Nov 2017)

  New Revision: 60843

  https://svn.ruby-lang.org/cgi-bin/viewvc.cgi?view=revision&revision=60843

  Log:
    addr2line.c: fix r60841 for glibc before 2.22
    
    SHF_COMPRESSED was not defined until glibc 2.22, and there are
    older distros (e.g. Debian 8.x jessie) which do not have this
    defined.
    
    Perhaps it is safe to define SHF_COMPRESSED to (1 << 11) ourselves,
    too, since ELF should be a standardized format.

  Modified files:
    trunk/addr2line.c


More information about the ruby-cvs mailing list