Skip to contentSkip to conversation

prelink-cross project update

DISCUSSION Mark Hatle 2 participants 3 messages Feb 2, 2012 – Feb 3, 2012

lore
Share & tools
lore

Mark Hatle

author
#0 lore raw

A new version of the prelink-cross has been pushed to the repository.

This version fixes a number of minor bugs found during development, it is also believed to resolve bug #1808 relating to ARM prelinking, and adds support for x86_64's x32 ABI.

Special thanks to Mentor Graphics for contributing the ARM TLS fix.

There were no upstream changes to the main prelink component, all changes are specific to the cross functionality. Below is the Changelog, since the last update:

2011-12-21 Mark Hatle <[email protected]>
* src/arch-x86_64.c: Add support for x32 ABI

2012-02-02 Mark Hatle <[email protected]>
Integrate dwarf2 signal frame patch:

2010-05-10 Paul Brook <[email protected]>

* src/dwarf2.c (adjust_dwarf2_frame): Skip 'S' augmentation.

2012-02-01 Mark Hatle <[email protected]>
* configure.in: Fix enabling and disabling of SE Linux support

2012-01-26 Mark Hatle <[email protected]>
* elf.h, rtld/dl-lookupX.h, rtld/rtld.c: Sync to eglibc 2.15

Integrate R_ARM_TLS_DESC relocation support patch:

2011-04-13 Maciej W. Rozycki <[email protected]>

* src/prelink.h (DT_TLSDESC_PLT, R_ARM_TLS_DESC): New macros. (DSO): Add info_DT_TLSDESC_PLT member. (DT_TLSDESC_PLT_BIT): New macro.
* src/arch-arm.c (arm_prelink_rel, arm_prelink_rela): Handle R_ARM_TLS_DESC relocation. (arm_prelink_conflict_rel, arm_prelink_conflict_rela): Likewise. (arm_rel_to_rela): Likewise.
(arm_undo_prelink_rel): Likewise.
(arm_reloc_class): Likewise.
* src/dso.c (read_dynamic): Handle DT_TLSDESC_PLT dynamic tag.

* src/prelink.h: add missing prototypes for wrap_listxattr, wrap_getxattr, wrap_setxattr

2012-01-04 Mark Hatle <[email protected]>
* exec.c: Check that a section is larger then 0 bytes when determining the section to segment mapping. This matches the behavior of elfutils - readelf. Otherwise an empty PROGBITS section at the end of a segment will cause a failure.

#1 lore raw

Hi Mark

Good work. Could you also forward this to oe-core ml ?

Thx
-K

Quoted 57 lines · Mark Hatle

A new version of the prelink-cross has been pushed to the repository.

This version fixes a number of minor bugs found during development, it is also believed to resolve bug #1808 relating to ARM prelinking, and adds support for x86_64's x32 ABI.

Special thanks to Mentor Graphics for contributing the ARM TLS fix.

There were no upstream changes to the main prelink component, all changes are
specific to the cross functionality.  Below is the Changelog, since the last update:

2011-12-21  Mark Hatle <[email protected]>
       * src/arch-x86_64.c: Add support for x32 ABI

2012-02-02  Mark Hatle <[email protected]>
       Integrate dwarf2 signal frame patch:

       2010-05-10  Paul Brook  <[email protected]>

       * src/dwarf2.c (adjust_dwarf2_frame): Skip 'S' augmentation.

2012-02-01  Mark Hatle <[email protected]>
       * configure.in: Fix enabling and disabling of SE Linux support

2012-01-26  Mark Hatle <[email protected]>
       * elf.h, rtld/dl-lookupX.h, rtld/rtld.c: Sync to eglibc 2.15

       Integrate R_ARM_TLS_DESC relocation support patch:

       2011-04-13  Maciej W. Rozycki  <[email protected]>

       * src/prelink.h (DT_TLSDESC_PLT, R_ARM_TLS_DESC): New macros. (DSO): Add info_DT_TLSDESC_PLT member. (DT_TLSDESC_PLT_BIT): New macro.
       * src/arch-arm.c (arm_prelink_rel, arm_prelink_rela): Handle R_ARM_TLS_DESC relocation.
       (arm_prelink_conflict_rel, arm_prelink_conflict_rela): Likewise. (arm_rel_to_rela): Likewise.
       (arm_undo_prelink_rel): Likewise.
       (arm_reloc_class): Likewise.
       * src/dso.c (read_dynamic): Handle DT_TLSDESC_PLT dynamic tag.

       * src/prelink.h: add missing prototypes for wrap_listxattr, wrap_getxattr, wrap_setxattr

2012-01-04  Mark Hatle <[email protected]>
       * exec.c: Check that a section is larger then 0 bytes when determining the section to segment mapping.  This matches the behavior of elfutils - readelf.  Otherwise an empty PROGBITS section at the end of a segment will cause a failure.
_______________________________________________
yocto mailing list
[email protected]
https://lists.yoctoproject.org/listinfo/yocto

author
#2 lore raw
Quoted 3 lines · Khem Raj

Hi Mark

Good work. Could you also forward this to oe-core ml ?

After I've vetted everything with the integration into oe-core, I will send this out as part of the review request.

--Mark

Quoted 61 lines

Thx
-K

Quoted 57 lines · Mark Hatle

A new version of the prelink-cross has been pushed to the repository.

This version fixes a number of minor bugs found during development, it is also believed to resolve bug #1808 relating to ARM prelinking, and adds support for x86_64's x32 ABI.

Special thanks to Mentor Graphics for contributing the ARM TLS fix.

There were no upstream changes to the main prelink component, all changes are
specific to the cross functionality. Below is the Changelog, since the last update:

2011-12-21 Mark Hatle<[email protected]>
* src/arch-x86_64.c: Add support for x32 ABI

2012-02-02 Mark Hatle<[email protected]>
Integrate dwarf2 signal frame patch:

2010-05-10 Paul Brook<[email protected]>

* src/dwarf2.c (adjust_dwarf2_frame): Skip 'S' augmentation.

2012-02-01 Mark Hatle<[email protected]>
* configure.in: Fix enabling and disabling of SE Linux support

2012-01-26 Mark Hatle<[email protected]>
* elf.h, rtld/dl-lookupX.h, rtld/rtld.c: Sync to eglibc 2.15

Integrate R_ARM_TLS_DESC relocation support patch:

2011-04-13 Maciej W. Rozycki<[email protected]>

* src/prelink.h (DT_TLSDESC_PLT, R_ARM_TLS_DESC): New macros. (DSO): Add info_DT_TLSDESC_PLT member. (DT_TLSDESC_PLT_BIT): New macro.
* src/arch-arm.c (arm_prelink_rel, arm_prelink_rela): Handle R_ARM_TLS_DESC relocation. (arm_prelink_conflict_rel, arm_prelink_conflict_rela): Likewise. (arm_rel_to_rela): Likewise.
(arm_undo_prelink_rel): Likewise.
(arm_reloc_class): Likewise.
* src/dso.c (read_dynamic): Handle DT_TLSDESC_PLT dynamic tag.

* src/prelink.h: add missing prototypes for wrap_listxattr, wrap_getxattr, wrap_setxattr

2012-01-04 Mark Hatle<[email protected]>
* exec.c: Check that a section is larger then 0 bytes when determining the section to segment mapping. This matches the behavior of elfutils - readelf. Otherwise an empty PROGBITS section at the end of a segment will cause a failure.
_______________________________________________
yocto mailing list
[email protected]
https://lists.yoctoproject.org/listinfo/yocto