Compare commits

...

10 Commits

Author SHA1 Message Date
openeuler-ci-bot
c8b547856e
!19 [sync] PR-17: Handle DT_MIPS_RLD_MAP_REL on MIPS (debian bug#820335)
From: @openeuler-sync-bot 
Reviewed-by: @dillon_chen 
Signed-off-by: @dillon_chen
2024-11-05 07:34:27 +00:00
Funda Wang
aedf7568d5 Handle DT_MIPS_RLD_MAP_REL on MIPS (debian bug#820335)
(cherry picked from commit 48fee88e9e2bb13ae38bb4274fe91c31d5c9fc3c)
2024-11-05 14:44:27 +08:00
openeuler-ci-bot
bc91cd1870
!13 【轻量级 PR】:修正yaml
From: @licihua 
Reviewed-by: @dillon_chen 
Signed-off-by: @dillon_chen
2024-01-05 07:18:40 +00:00
Monday
e3b0de36da
修正yaml
Signed-off-by: Monday <licihua@huawei.com>
2024-01-04 13:18:03 +00:00
openeuler-ci-bot
33c78fcef8
!10 【轻量级 PR】:rebuild for next release
From: @markeryang 
Reviewed-by: @xiezhipeng1 
Signed-off-by: @xiezhipeng1
2022-10-27 01:44:15 +00:00
Markeryang
56d377e8f3
update for mass rebuild and upgrade verification 2022-10-25 07:43:36 +00:00
openeuler-ci-bot
9d494281bf !4 Correct invalid URL and Source
From: @wangchen2020
Reviewed-by: @xiezhipeng1
Signed-off-by: @xiezhipeng1
2020-12-10 20:45:46 +08:00
wangchen2020
4a707f74c5 Correct invalid URL and Source 2020-12-10 11:08:21 +08:00
openeuler-ci-bot
d0dbc1ab49 !3 update yaml file
Merge pull request !3 from 桐小哥/master
2020-08-13 19:31:59 +08:00
桐小哥
fe4d577769 update chrpath.yaml. 2020-08-13 18:45:06 +08:00
3 changed files with 50 additions and 7 deletions

View File

@ -0,0 +1,31 @@
--- chrpath-0.18.orig/killrpath.c
+++ chrpath-0.18/killrpath.c
@@ -78,10 +78,26 @@
dynpos = 0;
for (i = 0; DYNSS(i, d_tag) != DT_NULL; i++)
{
- if (is_e32())
+ if (is_e32()) {
((Elf32_Dyn *)dyns)[dynpos] = ((Elf32_Dyn *)dyns)[i];
- else
+#ifdef DT_MIPS_RLD_MAP_REL
+ /* DT_MIPS_RLD_MAP_REL is relative to the offset of the tag.
+ Adjust it consequently. */
+ if (DYNSS(i, d_tag) == DT_MIPS_RLD_MAP_REL)
+ ((Elf32_Dyn *)dyns)[dynpos].d_un.d_val =
+ DO_SWAPU32(DYNSU(i, d_un.d_val) +
+ (i - dynpos) * sizeof(Elf32_Dyn));
+#endif
+ } else {
((Elf64_Dyn *)dyns)[dynpos] = ((Elf64_Dyn *)dyns)[i];
+#ifdef DT_MIPS_RLD_MAP_REL
+ /* Ditto */
+ if (DYNSS(i, d_tag) == DT_MIPS_RLD_MAP_REL)
+ ((Elf64_Dyn *)dyns)[dynpos].d_un.d_val =
+ DO_SWAPU64(DYNSU(i, d_un.d_val) +
+ (i - dynpos) * sizeof(Elf64_Dyn));
+#endif
+ }
if ( ! elf_dynpath_tag(DYNSS(i, d_tag)) )
dynpos++;
}

View File

@ -1,10 +1,12 @@
Name: chrpath Name: chrpath
Version: 0.16 Version: 0.16
Release: 11 Release: 14
Summary: Modify the dynamic library load path (rpath) of compiled programs Summary: Modify the dynamic library load path (rpath) of compiled programs
License: GPL+ License: GPL+
URL: https://chrpath.alioth.debian.org/ URL: https://github.com/openEuler-BaseService/chrpath
Source0: https://alioth.debian.org/frs/download.php/file/3979/%{name}-%{version}.tar.gz Source0: https://alioth-archive.debian.org/releases/%{name}/%{name}/%{version}/%{name}-%{version}.tar.gz
# https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=820335
Patch0: chrpath-fix-mips-segfault.patch
BuildRequires: gcc BuildRequires: gcc
@ -39,6 +41,15 @@ make check
%{_mandir}/man1/chrpath.1* %{_mandir}/man1/chrpath.1*
%changelog %changelog
* Mon Nov 04 2024 Funda Wang <fundawang@yeah.net> - 0.16-14
- Handle DT_MIPS_RLD_MAP_REL on MIPS (debian bug#820335)
* Tue Oct 25 2022 yanglongkang <yanglongkang@h-partners.com> - 0.16-13
- rebuild for next release
* Thu Dec 10 2020 wangchen <wangchen137@huawei.com> - 0.16-12
- Correct URL and Source0
* Mon Feb 17 2020 openEuler Buildteam <buildteam@openeuler.org> - 0.16-11 * Mon Feb 17 2020 openEuler Buildteam <buildteam@openeuler.org> - 0.16-11
- Enable test cases - Enable test cases

View File

@ -1,4 +1,5 @@
version_control: git version_control: github
src_repo: https://salsa.debian.org/themusicgod1-guest/chrpath.git src_repo: openEuler-BaseService/chrpath
tag_prefix: tag_prefix: ""
seperator: separator: "."
git_url: https://github.com/openEuler-BaseService/chrpath.git