• Skip to sidebar navigation
  • Skip to content

Bitbucket

  • More
    ProjectsRepositories
  • Help
    • Online help
    • Learn Git
    • Welcome to Bitbucket
    • Keyboard shortcuts
  • Log In
Alexander Dahl
  1. Alexander Dahl

buildroot

Public
Actions
  • Clone
  • Compare

Learn more about cloning repositories

You have read-only access

Navigation
  • Source
  • Commits
  • Branches
  • All Branches Graph
  • Forks
  1. Alexander Dahl
  2. buildroot

Source

buildroot/package/binutils/2.29.1/0006-Fixes-LINKER-BUG-.rofixup-section-size-mismatch.patch
Romain NaourRomain Naour committed 218e869507530 Sep 2017
Raw file
Source viewDiff to previous
 
1
From 122de3b633f4273826a2d01702d7c515f93ec2be Mon Sep 17 00:00:00 2001
2
From: Waldemar Brodkorb <wbx@openadk.org>
3
Date: Sat, 29 Jul 2017 14:08:20 +0200
4
Subject: [PATCH] Fixes: LINKER BUG: .rofixup section size mismatch
5
​
6
Workaround from adi-toolchain commit:
7
af414ec1fb628ddb1562f062f3db49823ca14ca2
8
[#6798] binutils-2.21/bfd: temp workaround for rofixup mismatch errors.
9
​
10
Signed-off-by: Waldemar Brodkorb <wbx@openadk.org>
11
---
12
 bfd/elf32-bfin.c | 3 ++-
13
 1 file changed, 2 insertions(+), 1 deletion(-)
14
​
15
diff --git a/bfd/elf32-bfin.c b/bfd/elf32-bfin.c
16
index b3e09bd..660eec5 100644
17
--- a/bfd/elf32-bfin.c
18
+++ b/bfd/elf32-bfin.c
19
@@ -4845,7 +4845,8 @@ bfinfdpic_check_relocs (bfd *abfd, struct bfd_link_info *info,
20
 
21
    case R_BFIN_FUNCDESC:
22
      picrel->fd++;
23
-     picrel->relocsfd++;
24
+     if (bfd_get_section_flags (abfd, sec) & SEC_ALLOC)
25
+       picrel->relocsfd++;
26
      break;
27
 
28
         /* This relocation describes the C++ object vtable hierarchy.
29
-- 
30
2.9.4
31
​
  • Git repository management for enterprise teams powered by Atlassian Bitbucket
  • Atlassian Bitbucket v6.7.2
  • Documentation
  • Request a feature
  • About
  • Contact Atlassian
Atlassian

Everything looks good. We'll let you know here if there's anything you should know about.