- 10 Oct, 2011 3 commits
- 04 Aug, 2011 1 commit
-
-
strauman authored
- Makefile.am: export host_alias, host_os, and host_cpu.
-
- 15 Jul, 2011 2 commits
-
-
strauman authored
- cexp.c: set terminal to VMIN/VTIME=1/0 in native readline (no readline, no tecla).
-
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).
-
- 30 Jun, 2010 1 commit
-
-
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.
-
- 10 Jun, 2010 1 commit
-
-
strauman authored
- configure.ac: check for multilibbed cpukit only if host_os is RTEMS.
-
- 07 May, 2010 7 commits
-
-
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.
-
strauman authored
cpptest/st.test: Added test code. So far, loading of common symbols, linkonce sections, c++ exceptions and constructor/destructor ordering are tested.
-
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.
-
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...
-
strauman authored
-
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.
-
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.
-
- 17 Mar, 2010 2 commits
-
-
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...
-
strauman authored
-
- 07 Mar, 2010 1 commit
-
-
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).
-
- 14 Dec, 2009 1 commit
-
-
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.
-
- 04 Dec, 2009 2 commits
-
-
strauman authored
-
strauman authored
the grammar. - added stdio redirection. - deprecated '<' for sourceing scripts; should now use '.' - now have a dedicated FILE descriptor for parser error messages (can be passed to cexpCreateParserCtx()) - added new callback argument to cexpCreateParserCtx() which allows the user to be notified when stdio redirection occurs. - added new '-c' option instructing cexpsh() to parse the option string argument.
-
- 02 Dec, 2009 2 commits
-
-
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.
-
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.
-
- 25 Jun, 2009 5 commits
-
-
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).
-
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).
-
strauman authored
-
strauman authored
o dmprels.c: Fixed wrong member name (p_p_s64 -> p_s64) in dmprels.c
-
strauman authored
- Added ChangeLog - minor 64-bit fixes: o getehdr.c: added missing 'break;' to switch statement in pmelf_getehdr().
-
- 08 Jun, 2009 2 commits
- 12 Mar, 2009 6 commits
-
-
strauman authored
-
strauman authored
-
strauman authored
-
strauman authored
there is no proper TLS run-time support.
-
strauman authored
- added dependency so that demo program is relinked after a builtin-symbtab object file is generated.
-
strauman authored
support them. This is just enough to get the cexp demo program going.
-
- 11 Mar, 2009 4 commits
-
-
till authored
-
till authored
fail if no vendor attribute parser is found because none might be available (nor needed) for the run-time architecture. Still, pmbfd will warn if it encounters a .gnu.attributes section but has no parser registered (but the 'normal' case where there is no parser but no .gnu.attributes sections either works OK).
-
till authored
-
till authored
can test what happens if no vendor is registered but a .gnu.attributes section is found. - don't fail but ignore if same vendor is already registered (so that we can pass two objects for attribute comparison). - silenced a few compiler warnings.
-