-
Notifications
You must be signed in to change notification settings - Fork 754
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
ChangeLog: https://sourceware.org/git/?p=binutils-gdb.git;a=blob;f=ChangeLog;h=641d82c5358c863fbaba07a61e14a135c5785959;hb=116a737f438d03a1bd6aa706b6ea0b4022f3b7e2 exp-run by antoine@ Related commit: bae65d8 - Fix build with upcoming binutils PR: 251385 Reported by: jflopezfernandez@gmail.com (maintainer) Reviewed by: arrowd@, koobs@, linimon@, tobik@
- Loading branch information
Showing
16 changed files
with
340 additions
and
320 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,3 +1,3 @@ | ||
TIMESTAMP = 1575361927 | ||
SHA256 (binutils-2.33.1.tar.xz) = ab66fc2d1c3ec0359b8e08843c9f33b63e8707efdff5e4cc5c200eae24722cbf | ||
SIZE (binutils-2.33.1.tar.xz) = 21490848 | ||
TIMESTAMP = 1626719973 | ||
SHA256 (binutils-2.37.tar.xz) = 820d9724f020a3e69cb337893a0b63c2db161dadcb0e06fc11dc29eb1e84a32c | ||
SIZE (binutils-2.37.tar.xz) = 22916924 |
This file was deleted.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file was deleted.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,45 @@ | ||
From 10b4dbbf281397e2827820c715c39559c7f7a29d Mon Sep 17 00:00:00 2001 | ||
From: Alan Modra <amodra@gmail.com> | ||
Date: Tue, 20 Jul 2021 18:46:57 +0930 | ||
Subject: [PATCH] PR28106, build of 2.37 fails on FreeBSD and Clang | ||
|
||
https://en.cppreference.com/w/cpp/types/NULL says NULL might be | ||
defined as nullptr. | ||
https://en.cppreference.com/w/cpp/language/reinterpret_cast says | ||
reinterpret_cast can't be used on nullptr. | ||
PR gold/28106 | ||
PR gold/27815 | ||
* gc.h (gc_process_relocs): Use static_cast in Section_id constructor. | ||
(cherry picked from commit b97bd976233ee4d43c2fe18f6356e62779cbe82d) | ||
--- | ||
gold/ChangeLog | 6 ++++++ | ||
gold/gc.h | 4 ++-- | ||
2 files changed, 8 insertions(+), 2 deletions(-) | ||
diff --git gold/gc.h gold/gc.h | ||
index 6ebd81f3fd0..4a1368f5abe 100644 | ||
--- gold/gc.h | ||
+++ gold/gc.h | ||
@@ -247,7 +247,7 @@ gc_process_relocs( | ||
if (is_ordinary) | ||
(*secvec).push_back(Section_id(src_obj, dst_indx)); | ||
else | ||
- (*secvec).push_back(Section_id(reinterpret_cast<Relobj*>(NULL), 0)); | ||
+ (*secvec).push_back(Section_id(static_cast<Relobj*>(NULL), 0)); | ||
// If the target of the relocation is an STT_SECTION symbol, | ||
// make a note of that by storing -1 in the symbol vector. | ||
if (lsym.get_st_type() == elfcpp::STT_SECTION) | ||
@@ -329,7 +329,7 @@ gc_process_relocs( | ||
if (is_ordinary && dst_obj != NULL) | ||
(*secvec).push_back(Section_id(dst_obj, dst_indx)); | ||
else | ||
- (*secvec).push_back(Section_id(reinterpret_cast<Relobj*>(NULL), 0)); | ||
+ (*secvec).push_back(Section_id(static_cast<Relobj*>(NULL), 0)); | ||
(*symvec).push_back(gsym); | ||
(*addendvec).push_back(std::make_pair( | ||
static_cast<long long>(symvalue), | ||
-- | ||
2.32.0 | ||
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,14 @@ | ||
--- gold/testsuite/Makefile.in.orig 2021-07-02 07:48:07 UTC | ||
+++ gold/testsuite/Makefile.in | ||
@@ -9585,9 +9585,9 @@ uninstall-am: | ||
@DEFAULT_TARGET_X86_64_TRUE@@GCC_TRUE@@NATIVE_LINKER_TRUE@ cp -f incr_comdat_test_2_v3.o incr_comdat_test_1_tmp.o | ||
@DEFAULT_TARGET_X86_64_TRUE@@GCC_TRUE@@NATIVE_LINKER_TRUE@ $(CXXLINK) -Wl,--incremental-update -Wl,-z,norelro,-no-pie incr_comdat_test_1.o incr_comdat_test_1_tmp.o | ||
@DEFAULT_TARGET_X86_64_TRUE@@GCC_TRUE@@NATIVE_LINKER_TRUE@exception_x86_64_bnd_1.o: exception_test_1.cc gcctestdir/as | ||
-@DEFAULT_TARGET_X86_64_TRUE@@GCC_TRUE@@NATIVE_LINKER_TRUE@ $(CXXCOMPILE) -c -fpic -Wa,-madd-bnd-prefix -o $@ $< | ||
+@DEFAULT_TARGET_X86_64_TRUE@@GCC_TRUE@@NATIVE_LINKER_TRUE@ $(CXXCOMPILE) -c -fpic -o $@ $< | ||
@DEFAULT_TARGET_X86_64_TRUE@@GCC_TRUE@@NATIVE_LINKER_TRUE@exception_x86_64_bnd_2.o: exception_test_2.cc gcctestdir/as | ||
-@DEFAULT_TARGET_X86_64_TRUE@@GCC_TRUE@@NATIVE_LINKER_TRUE@ $(CXXCOMPILE) -c -Wa,-madd-bnd-prefix -o $@ $< | ||
+@DEFAULT_TARGET_X86_64_TRUE@@GCC_TRUE@@NATIVE_LINKER_TRUE@ $(CXXCOMPILE) -c -o $@ $< | ||
@DEFAULT_TARGET_X86_64_TRUE@@GCC_TRUE@@NATIVE_LINKER_TRUE@gnu_property_test.stdout: gnu_property_test | ||
@DEFAULT_TARGET_X86_64_TRUE@@GCC_TRUE@@NATIVE_LINKER_TRUE@ $(TEST_READELF) -lhSWn $< >$@ | ||
@DEFAULT_TARGET_X86_64_TRUE@@GCC_TRUE@@NATIVE_LINKER_TRUE@gnu_property_test: gcctestdir/ld gnu_property_a.o gnu_property_b.o gnu_property_c.o |
This file was deleted.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.