• 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.26.1/0905-bfin-rofixup-bug.patch
Waldemar BrodkorbWaldemar Brodkorb committed 61c7e9da0ef31 Jul 2016
Raw file
Source viewDiff to previous
xxxxxxxxxx
 
1
Fixes: LINKER BUG: .rofixup section size mismatch
2
​
3
Workaround from adi-toolchain commit:
4
af414ec1fb628ddb1562f062f3db49823ca14ca2
5
[#6798] binutils-2.21/bfd: temp workaround for rofixup mismatch errors.
6
​
7
Signed-off-by: Waldemar Brodkorb <wbx@openadk.org>
8
​
9
diff -Nur binutils-2.26.1.orig/bfd/elf32-bfin.c binutils-2.26.1/bfd/elf32-bfin.c
10
--- binutils-2.26.1.orig/bfd/elf32-bfin.c   2015-11-13 09:27:40.000000000 +0100
11
+++ binutils-2.26.1/bfd/elf32-bfin.c    2016-07-31 00:50:48.357995132 +0200
12
@@ -4879,7 +4879,8 @@
13
 
14
    case R_BFIN_FUNCDESC:
15
      picrel->fd++;
16
-     picrel->relocsfd++;
17
+     if (bfd_get_section_flags (abfd, sec) & SEC_ALLOC)
18
+       picrel->relocsfd++;
19
      break;
20
 
21
         /* This relocation describes the C++ object vtable hierarchy.
  • 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.