1. 10 Oct, 2011 3 commits
  2. 04 Aug, 2011 1 commit
    • strauman's avatar
      2011/08/04: · c448d52e
      strauman authored
       - Makefile.am: export host_alias, host_os, and host_cpu.
      c448d52e
  3. 15 Jul, 2011 2 commits
    • strauman's avatar
      2011/07/15: · c3edfd87
      strauman authored
       - cexp.c: set terminal to VMIN/VTIME=1/0 in native readline (no readline, no tecla).
      c3edfd87
    • strauman's avatar
      2011/07/15: · 3d84c6e9
      strauman authored
       - Makefile.am: export rtems_bsp, RTEMS_BSP, enable_rtemsbsp, package_subdir
         variables so third-party makefiles 'inherit' them (in case any is embedded
         in an installation path/prefix).
      3d84c6e9
  4. 30 Jun, 2010 1 commit
    • strauman's avatar
      20100630 (T.S.): · 524fd25c
      strauman authored
       - configure.ac, bfd.c: Added test for <strings.h>. rtems-4.10/newlib-1.18
         declare strcasecmp() in <strings.h> (POSIX). Hence we include that
         if present.
      524fd25c
  5. 10 Jun, 2010 1 commit
    • strauman's avatar
      2010/06/10: · 5ea75d08
      strauman authored
       - configure.ac: check for multilibbed cpukit only if host_os is RTEMS.
      5ea75d08
  6. 07 May, 2010 7 commits
    • strauman's avatar
      2010/05/06: · b2dcfb4f
      strauman authored
       - Makefile.am:
          o enforce linking undefined symbols needed by test modules (demo program)
          o link demo with CXX
       - bfdstuff.c: BUGFIX -- Ignore relocations that refer to a symbol in a
                     discarded linkonce section.
                     This should also fix a problem reported by Luciano Piccoli where
                     a module refused to load because the .eh_frame section
                     had a relocation referring to the section name of a discarded
                     linkonce. Since that section had been folded into .text in
                     the main executable it could not be found.
                     During testing I also found that just relocating to the
                     previous instance of a linkonce section is incorrect because
                     to compiler would sometimes generate slightly different code
                     resulting in different section sizes (original vs. discarded
                     linkonce). Unless the relocation referring the discarded linkonce
                     is ignored (-> value 0 which is in turn ignored by the libgcc
                     run-time code) a bad/incorrect exception frame could be registered.
       - cexp.c:    Added 'sigaction' handler which prints offending SIGSEGV address.
       - cexpmod.c:
          o BUGFIX -- 'addrInModule()' algorithm skipped system module which
            is never associated with any segment. Thus 'lkaddr()' never found
            anything located in the main executable :-(
          o BUGFIX -- when a module is unloaded (linux demo) then we cannot
            just revoke 'executable' memory permission; the module memory is
            not page aligned and therefore 'x' could be removed from adjacent
            'live' module. Just always leave executable permission on...
       - configure.ac, Makefile.am, cpptest/*.c, cpptest/*.cc, cpptest/Makefile.am,
         cpptest/st.test: Added test code. So far, loading of common symbols,
         linkonce sections, c++ exceptions and constructor/destructor ordering
         are tested.
       - configure.ac: Check for availability of HAVE_SIGNALS, HAVE_SIGINFO
         on non-rtems systems.
       - m4/rtems-tools.m4: Look for 'nm' utility, too.
      b2dcfb4f
    • strauman's avatar
      - configure.ac, Makefile.am, cpptest/*.c, cpptest/*.cc, cpptest/Makefile.am, · 2cae08e6
      strauman authored
         cpptest/st.test: Added test code. So far, loading of common symbols,
         linkonce sections, c++ exceptions and constructor/destructor ordering
         are tested.
      2cae08e6
    • strauman's avatar
      - configure.ac, Makefile.am, cpptest/*.c, cpptest/*.cc, cpptest/Makefile.am, · a7b78aee
      strauman authored
         cpptest/st.test: Added test code. So far, loading of common symbols,
         linkonce sections, c++ exceptions and constructor/destructor ordering
         are tested.
       - configure.ac: Check for availability of HAVE_SIGNALS, HAVE_SIGINFO
         on non-rtems systems.
      a7b78aee
    • strauman's avatar
      - cexpmod.c: · f4e665f4
      strauman authored
          o BUGFIX -- 'addrInModule()' algorithm skipped system module which
            is never associated with any segment. Thus 'lkaddr()' never found
            anything located in the main executable :-(
          o BUGFIX -- when a module is unloaded (linux demo) then we cannot
            just revoke 'executable' memory permission; the module memory is
            not page aligned and therefore 'x' could be removed from adjacent
            'live' module. Just always leave executable permission on...
      f4e665f4
    • strauman's avatar
    • strauman's avatar
      - bfdstuff.c: BUGFIX -- Ignore relocations that refer to a symbol in a · 052c4324
      strauman authored
                     discarded linkonce section.
                     This should also fix a problem reported by Luciano Piccoli where
                     a module refused to load because the .eh_frame section
                     had a relocation referring to the section name of a discarded
                     linkonce. Since that section had been folded into .text in
                     the main executable it could not be found.
                     During testing I also found that just relocating to the
                     previous instance of a linkonce section is incorrect because
                     to compiler would sometimes generate slightly different code
                     resulting in different section sizes (original vs. discarded
                     linkonce). Unless the relocation referring the discarded linkonce
                     is ignored (-> value 0 which is in turn ignored by the libgcc
                     run-time code) a bad/incorrect exception frame could be registered.
      052c4324
    • strauman's avatar
      - Makefile.am: · 69f718ca
      strauman authored
          o enforce linking undefined symbols needed by test modules (demo program)
          o link demo with CXX
       - configure.ac, Makefile.am, cpptest/*.c, cpptest/*.cc, cpptest/Makefile.am,
         cpptest/st.test: Added test code. So far, loading of common symbols,
         linkonce sections, c++ exceptions and constructor/destructor ordering
         are tested.
      69f718ca
  7. 17 Mar, 2010 2 commits
    • strauman's avatar
      2010/03/17: · d7d04420
      strauman authored
       - bfdstuff.c: Completely ignore zero-sized sections marked SEC_ALLOC
         (by removing the SEC_ALLOC flag) so that no section symbol is
         recorded. Since no space is allocated for such a section the
         value of a section symbol would be invalid and this results in
         gdb confusion...
      d7d04420
    • strauman's avatar
      *** empty log message *** · 54df2758
      strauman authored
      54df2758
  8. 07 Mar, 2010 1 commit
    • strauman's avatar
      2010/02/07: · ee43e120
      strauman authored
       - libtecla/configure.in: added --enable-ansiterm configure option (enabled
         by default for RTEMS if not explicitly disabled and disabled by default
         on other OSes) to avoid dependency on curses/termcap (assuming ANSI
         terminal).
      ee43e120
  9. 14 Dec, 2009 1 commit
    • strauman's avatar
      2009/12/14: · 22e7d154
      strauman authored
       - BUGFIX: cexpsh("script") would not terminate because of missing 'else'
         in nested if (which should have been 'else if'). This was a new bug
         introduced with the '-c' option.
      22e7d154
  10. 04 Dec, 2009 2 commits
  11. 02 Dec, 2009 2 commits
    • strauman's avatar
      2009/12/02: · 29442841
      strauman authored
       - bfdstuff.c: added undocumented global variable
         '_cexpForceIgnoreObjAttrMismatches' which can be set to nonzero
         in order to force the BFD loader to ignore object attribute
         mismatches.
      29442841
    • strauman's avatar
      20091202 (T.S.): · 550a422c
      strauman authored
       - att-gnu-powerpc.c: BUGFIX: scanning for ABI tags would access
         bad memory if tag was not present in object file.
         Added Tag_GNU_Power_ABI_Struct_Return.
         Added GNU_Power_ABI_FP_SP_HARD (new value for FP tag).
       - attrP.h, attpbfasdestroy.c, att-gnu-powerpc.c, attpbfasmatch.c,
         attbpfasprint.c, attpbfasread.c, attset.c:
         Introduced new union combining 'public' and 'opaque' values.
         Previous implementation was wrong since it would not correctly
         store 'opaque' values (arrays assumed 'public' layout).
         The new union is now used in both, the array and list parts
         of an attribute table.
       - attrP.h, attset.c, att-gnu-powerpc.c: Added new function
         'pmelf_attribute_get_tag_val()' for retrieving the value associated
         with a particular tag.
      550a422c
  12. 25 Jun, 2009 5 commits
    • strauman's avatar
      20090625 (T.S.): · 9a506e7d
      strauman authored
       - bfd.c: Fixed conditional compilation in elf2bfdsec():
         If 64-bit support is enabled then the 32-bit code
         must still be compiled (there is a run-time test for
         64/32-bit).
      9a506e7d
    • strauman's avatar
      20090625 (T.S.): · afad2814
      strauman authored
       - bfd.c, dmpehdr.c, dmprels.c, getehdr.c, pmbfd.h,
         pmelf.h, bfd-reloc-sparc.c (stub only): Added basic
         support for SPARC (no relocations yet).
      afad2814
    • strauman's avatar
      *** empty log message *** · edd6ca79
      strauman authored
      edd6ca79
    • strauman's avatar
      - minor 64-bit fixes: · 5dec0af0
      strauman authored
         o dmprels.c: Fixed wrong member name
             (p_p_s64 -> p_s64) in dmprels.c
      5dec0af0
    • strauman's avatar
      20090625 (T.S.): · 028f665a
      strauman authored
       - Added ChangeLog
       - minor 64-bit fixes:
         o getehdr.c: added missing 'break;' to switch
             statement in pmelf_getehdr().
      028f665a
  13. 08 Jun, 2009 2 commits
  14. 12 Mar, 2009 6 commits
  15. 11 Mar, 2009 4 commits