0.155-5 rhbz#914908 ARM variant of elfutils-0.155-binutils-pr-ld-13621.patch

This commit is contained in:
Mark Wielaard 2013-02-24 23:09:56 +01:00
parent 5f30b558eb
commit 1974584d55
2 changed files with 40 additions and 1 deletions

View File

@ -60,3 +60,38 @@ index 4084987..bc5ed33 100644
ERROR (gettext ("\ ERROR (gettext ("\
section [%2d] '%s': symbol %zu: st_value out of bounds\n"), section [%2d] '%s': symbol %zu: st_value out of bounds\n"),
idx, section_name (ebl, idx), cnt); idx, section_name (ebl, idx), cnt);
commit b94cceae503b56fb360cd597f154fa2b33552887
Author: Mark Wielaard <mjw@redhat.com>
Date: Sun Feb 24 22:58:49 2013 +0100
elflint.c (check_symtab): Add __bss_start__ to the list of allowed symbols.
Some architectures (ARM) use __bss_start__ instead of __bss_start.
Signed-off-by: Mark Wielaard <mjw@redhat.com>
diff --git a/src/ChangeLog b/src/ChangeLog
index 7d7b66f..6e219e6 100644
--- a/src/ChangeLog
+++ b/src/ChangeLog
@@ -1,3 +1,8 @@
+2013-02-24 Mark Wielaard <mjw@redhat.com>
+
+ * elflint.c (check_symtab): Add __bss_start__ to the list of symbols
+ allowed to have out of section values because of GNU ld bugs.
+
2013-02-06 Mark Wielaard <mjw@redhat.com>
* elflint.c (check_symtab): Add __bss_start and __TMC_END__ to the
diff --git a/src/elflint.c b/src/elflint.c
index bc5ed33..acd458b 100644
--- a/src/elflint.c
+++ b/src/elflint.c
@@ -782,6 +782,7 @@ section [%2d] '%s': symbol %zu: function in COMMON section is nonsense\n"),
&& strcmp (name, "__fini_array_start") != 0
&& strcmp (name, "__fini_array_end") != 0
&& strcmp (name, "__bss_start") != 0
+ && strcmp (name, "__bss_start__") != 0
&& strcmp (name, "__TMC_END__") != 0))
ERROR (gettext ("\
section [%2d] '%s': symbol %zu: st_value out of bounds\n"),

View File

@ -1,7 +1,7 @@
Name: elfutils Name: elfutils
Summary: A collection of utilities and DSOs to handle compiled objects Summary: A collection of utilities and DSOs to handle compiled objects
Version: 0.155 Version: 0.155
%global baserelease 4 %global baserelease 5
URL: https://fedorahosted.org/elfutils/ URL: https://fedorahosted.org/elfutils/
%global source_url http://fedorahosted.org/releases/e/l/elfutils/%{version}/ %global source_url http://fedorahosted.org/releases/e/l/elfutils/%{version}/
License: GPLv3+ and (GPLv2+ or LGPLv3+) License: GPLv3+ and (GPLv2+ or LGPLv3+)
@ -331,6 +331,10 @@ rm -rf ${RPM_BUILD_ROOT}
%{_libdir}/libelf.a %{_libdir}/libelf.a
%changelog %changelog
* Sun Feb 24 2013 Mark Wielaard <mjw@redhat.com> - 0.155-5
- Add ARM variant to elfutils-0.155-binutils-pr-ld-13621.patch rhbz#914908.
- rhel >= 5 has xz-devel
* Fri Feb 22 2013 Mark Wielaard <mjw@redhat.com> - 0.155-4 * Fri Feb 22 2013 Mark Wielaard <mjw@redhat.com> - 0.155-4
- Replace elfutils-0.155-binutils-pr-ld-13621.patch with upstream fix. - Replace elfutils-0.155-binutils-pr-ld-13621.patch with upstream fix.