source: rtems/contrib/crossrpms/patches/binutils-2.17-rtems-20060711.diff @ 9807f04

4.104.114.84.95
Last change on this file since 9807f04 was 9807f04, checked in by Ralf Corsepius <ralf.corsepius@…>, on 07/11/06 at 03:28:02

New. m68k/cpu32 patch.

  • Property mode set to 100644
File size: 4.5 KB
  • bfd/cpu-m68k.c

    diff -uNr binutils-2.17.orig/bfd/cpu-m68k.c binutils-2.17/bfd/cpu-m68k.c
    old new  
    202202  if (a->mach <= bfd_mach_m68060 && b->mach <= bfd_mach_m68060)
    203203    /* Merge m68k machine. */
    204204    return a->mach > b->mach ? a : b;
     205  else if (a->mach == bfd_mach_cpu32 && b->mach == bfd_mach_cpu32)
     206    /* CPU32 is compatible with itself. */
     207    return a;
    205208  else if (a->mach >= bfd_mach_mcf_isa_a_nodiv
    206209           && b->mach >= bfd_mach_mcf_isa_a_nodiv)
    207210    {
  • bfd/version.h

    diff -uNr binutils-2.17.orig/bfd/version.h binutils-2.17/bfd/version.h
    old new  
    1 #define BFD_VERSION_DATE 20060623
     1#define BFD_VERSION_DATE 20060711
    22#define BFD_VERSION @bfd_version@
    33#define BFD_VERSION_STRING @bfd_version_string@
  • ld/ChangeLog

    diff -uNr binutils-2.17.orig/ld/ChangeLog binutils-2.17/ld/ChangeLog
    old new  
     12006-07-04  Daniel Jacobowitz  <dan@codesourcery.com>
     2
     3        Backport:
     4        2006-05-19  Alan Modra  <amodra@bigpond.net.au>
     5        * ldlang.c (lang_size_sections_1): Don't check mem regions for
     6        os->ignored sections.
     7
    182006-06-12  Fred Fish  <fnf@specifix.com>
    29
    310        * emulparams/elf32bmip.sh (OTHER_SECTIONS): Keep the
  • binutils-2.17

    diff -uNr binutils-2.17.orig/ld/ldlang.c binutils-2.17/ld/ldlang.c
    old new  
    42074207                    /* If a loadable section is using the default memory
    42084208                       region, and some non default memory regions were
    42094209                       defined, issue an error message.  */
    4210                     if (!IGNORE_SECTION (os->bfd_section)
     4210                    if (!os->ignored
     4211                        && !IGNORE_SECTION (os->bfd_section)
    42114212                        && ! link_info.relocatable
    42124213                        && check_regions
    42134214                        && strcmp (os->region->name,
  • ld/testsuite/ChangeLog

    diff -uNr binutils-2.17.orig/ld/testsuite/ChangeLog binutils-2.17/ld/testsuite/ChangeLog
    old new  
     12006-07-04  Daniel Jacobowitz  <dan@codesourcery.com>
     2
     3        Backport:
     4        2006-05-19  Alan Modra  <amodra@bigpond.net.au>
     5        * ld-scripts/empty-orphan.d: Update again.
     6
     7        * ld-scripts/empty-orphan.t: Discard .reginfo.
     8        * ld-scripts/empty-orphan.d: Update.
     9
    1102006-06-12  Daniel Jacobowitz  <dan@codesourcery.com>
    211
    312        Backport:
  • ld/testsuite/ld-m68k/m68k.exp

    diff -uNr binutils-2.17.orig/ld/testsuite/ld-m68k/m68k.exp binutils-2.17/ld/testsuite/ld-m68k/m68k.exp
    old new  
    5353run_dump_test "merge-error-1e"
    5454run_dump_test "merge-ok-1a"
    5555run_dump_test "merge-ok-1b"
     56run_dump_test "merge-ok-1c"
  • ld/testsuite/ld-m68k/merge-ok-1c.d

    diff -uNr binutils-2.17.orig/ld/testsuite/ld-m68k/merge-ok-1c.d binutils-2.17/ld/testsuite/ld-m68k/merge-ok-1c.d
    old new  
     1#source: merge-error-1a.s -march=cpu32
     2#source: merge-error-1b.s -march=cpu32
     3#ld: -r
     4#objdump: -p
     5#...
     6private flags = 810000: \[cpu32\]
  • ld/testsuite/ld-scripts/empty-orphan.d

    diff -uNr binutils-2.17.orig/ld/testsuite/ld-scripts/empty-orphan.d binutils-2.17/ld/testsuite/ld-scripts/empty-orphan.d
    old new  
    11#source: empty-orphan.s
    22#ld: -T empty-orphan.t
    3 #error: no memory region specified for loadable section
     3#readelf: -l --wide
     4#...
     5 +LOAD +[x0-9a-f]+ [x0]+70000000 [x0]+70000000 [x0]+(2|4|8|10|20|40|80) .*
     6#pass
  • ld/testsuite/ld-scripts/empty-orphan.t

    diff -uNr binutils-2.17.orig/ld/testsuite/ld-scripts/empty-orphan.t binutils-2.17/ld/testsuite/ld-scripts/empty-orphan.t
    old new  
    1717   .text : { *(.text) } > text_mem : text_phdr
    1818   .data : { *(.data) } > data_mem : data_phdr
    1919   .bss : { *(.bss) } > data_mem : data_phdr
     20   /DISCARD/ : { *(.reginfo) }
    2021   /* .orphan_data is an orphan */
    2122}
Note: See TracBrowser for help on using the repository browser.