- Nov 18, 2008
- Nov 17, 2008
-
-
asl authored
Andrew Lunn in the last patch.
-
- Nov 14, 2008
- Nov 11, 2008
-
-
nickg authored
-
nickg authored
* src/stm32_misc.c (hal_stm32_bd_unprotect): Add this function to control backup domain write protection.
-
nickg authored
* src/stm32_wallclock.cxx: Driver for on-chip RTC unit.
-
jlarmour authored
* cdl/redboot.cdl: RedBoot always needs to claim the virtual vector comms, so express that explicitly.
-
jld authored
-
cvs authored
-
jld authored
packages from target records.
-
jlarmour authored
vector comms, so express that explicitly.
-
jlarmour authored
src/xyzModem.c, include/redboot.h: more signed vs. unsigned char issues. * src/fs/e2fs.c (e2fs_mount): Avoid compiler strict aliasing problem. * include/fis.h (struct fis_image_desc): Make fis name be signed char to reduce warnings. * include/flash_config.h (struct _config): Make config_data be signed char to reduce warnings. * include/redboot.h: mon_write_char and mon_read_char_with_timeout take unsigned char, to reduce warnings. * src/parse.c: Add const to err_printf format. * src/fconfig.c: Many signed/unsigned warning cleanups. * src/io.c: Ditto. * src/xyzModem.c: Ditto. * src/load.c: Ditto. * src/flash.c: Ditto. * src/fconfig.c (flash_write_config): Warning cleanup. * src/net/net_io.c (do_ip_addr): Warning cleanup. * src/flash.c (fis_create): Warning cleanup. * include/net/net.h: Include redboot.h for tick functions. * include/net/net.h: Pull tick functions into redboot.h as they are used more widely than the net stack. * include/redboot.h: Declare tick functions. * src/main.c (cyg_start): Correctly compute workspace_end so it works even on high RAM values [bug #1000202]. Don't use workspace_end directly for context init - it gets modified. (do_go): Don't use workspace_end directly for context init - it gets modified.
-
jlarmour authored
string literals to const char *, not char *.
-
jlarmour authored
now optimise certain builtins used by the libsupc++ runtime to these. * src/gccsupport.cxx: New file. Provide very simple defaults for some dependencies of the GCC runtime. * cdl/infra.cdl: Build it.
-
jlarmour authored
* include/pkgconf/mlt_powerpc_viper_romram.ldi: Include relocs and .eh_frame sections. * include/pkgconf/mlt_powerpc_viper_rom.ldi: Ditto. * include/pkgconf/mlt_powerpc_viper_ram.ldi: Ditto. * include/pkgconf/mlt_powerpc_viper_romram.mlt: Delete. Out of date and unmaintained. * include/pkgconf/mlt_powerpc_viper_rom.mlt: Ditto. * include/pkgconf/mlt_powerpc_viper_ram.mlt: Ditto. // Copyright (C) 2004 eCosCentric Limited
-
jlarmour authored
* include/pkgconf/mlt_powerpc_vads_romhigh.ldi: * include/pkgconf/mlt_powerpc_vads_romlow.ldi: * include/pkgconf/mlt_powerpc_vads_romram.ldi: Add SECTION_eh_frame and SECTION_RELOCS.
-
jlarmour authored
* include/pkgconf/mlt_powerpc_ts6_romhigh.ldi: * include/pkgconf/mlt_powerpc_ts6_romlow.ldi: * include/pkgconf/mlt_powerpc_ts6_romram.ldi: Add SECTION_eh_frame and SECTION_RELOCS.
-
jlarmour authored
* include/pkgconf/mlt_powerpc_ts1000_rom.ldi: * include/pkgconf/mlt_powerpc_ts1000_romram.ldi: Add SECTION_eh_frame and SECTION_RELOCS.
-
jlarmour authored
Add SECTION_eh_frame and SECTION_RELOCS.
-
jlarmour authored
* include/pkgconf/mlt_powerpc_rattler_rom.ldi: * include/pkgconf/mlt_powerpc_rattler_romram.ldi: Add SECTION_eh_frame and SECTION_RELOCS.
-
jlarmour authored
* include/pkgconf/mlt_powerpc_pati_rom.ldi: Add SECTION_eh_frame and SECTION_RELOCS.
-
jlarmour authored
* include/pkgconf/mlt_powerpc_moab_rom.ldi: * include/pkgconf/mlt_powerpc_moab_romram.ldi: Add SECTION_eh_frame and SECTION_RELOCS.
-
jlarmour authored
* include/pkgconf/mlt_powerpc_mbx_rom.ldi: Add SECTION_eh_frame and SECTION_RELOCS.
-
jlarmour authored
* include/pkgconf/mlt_powerpc_fads_rom.ldi: Add SECTION_eh_frame and SECTION_RELOCS.
-
jlarmour authored
* include/pkgconf/mlt_powerpc_ec555_f02_s01_rom.ldi: * include/pkgconf/mlt_powerpc_ec555_f04_s02_ram.ldi: * include/pkgconf/mlt_powerpc_ec555_f04_s02_rom.ldi: * include/pkgconf/mlt_powerpc_ec555_f08_s04_ram.ldi: * include/pkgconf/mlt_powerpc_ec555_f08_s04_rom.ldi: * include/pkgconf/mlt_powerpc_ec555_f08_s08_ram.ldi: * include/pkgconf/mlt_powerpc_ec555_f08_s08_rom.ldi: Add SECTION_eh_frame and SECTION_RELOCS.
-
jlarmour authored
* include/pkgconf/mlt_powerpc_csb281_rom.ldi: * include/pkgconf/mlt_powerpc_csb281_romram.ldi: Add SECTION_eh_frame and SECTION_RELOCS.
-
jlarmour authored
* include/pkgconf/mlt_powerpc_cogent_rom.ldi: Add SECTION_eh_frame and SECTION_RELOCS.
-
jlarmour authored
* include/pkgconf/mlt_powerpc_cme555_rom.ldi: Add SECTION_eh_frame and SECTION_RELOCS.
-
jlarmour authored
It is meant to be defined by the linker. * src/powerpc.ld: Remove workaround from 2005-06-03 for LD bug, since fixed. Include .eh_frame_hdr in .eh_frame. * src/powerpc.ld: Future-proof relocs sections. * src/powerpc.ld: gcc_except_table subsections don't need to be kept. * src/powerpc.ld: gcc_except_table needs to be marked KEEP. * src/powerpc.ld: Use CYGBLD_HAL_LINKER_GROUPED_LIBS from the common HAL for GROUP() list now. * src/powerpc.ld: Add relocs section. Break out .eh_frame section and define correctly. Split .gnu.linkonce.* subsections correctly between text/rodata/data/sdata/sbss/scommon etc.
-
jlarmour authored
0x30000 to 0x50000. * include/pkgconf/mlt_powerpc_adder_ram.ldi: Allow up to 0x60000 to be used by ROM. * include/pkgconf/mlt_powerpc_adder_ram.h (CYGMEM_SECTION_reserved_for_rom_SIZE): Ditto. * cdl/hal_powerpc_adder.cdl: Remove "-fvtable-gc" and "-finit-priority" from the set of default compilation flags. * include/pkgconf/mlt_powerpc_adder_romram.ldi: Include relocs and .eh_frame sections. * include/pkgconf/mlt_powerpc_adder_rom.ldi: Ditto. * include/pkgconf/mlt_powerpc_adder_ram.ldi: Ditto. * include/pkgconf/mlt_powerpc_adder_ram.*, doc/adder.sgml: Reserve an additional 64kB for use by RedBoot.
-
jlarmour authored
warning. (threadref_to_int): Ditto. * src/generic-stub.c (__mem2hex): Ditto. (__mem2hex_safe): Ditto. (__hex2mem): Ditto. (__hex2mem_safe): Ditto. * src/hal_if.c (delay_us): Ditto. * include/hal_stub.h (CYG_HAL_GDB_LEAVE_CRITICAL_IO_REGION): Instead of using a local variable to avoid compiler reordering when taking the address of a label, instead call an external function. (NB making the variable volatile isn't sufficient). * cdl/hal.cdl: Work around problem with current ARM EABI tools by using /dev/null as linker script. Should be safe with other tools. * src/hal_if.c (delay_us): use HAL_DELAY_US() rather than the fancy implementation if the port cannot provide HAL_CLOCK_READ() * cdl/common.cdl: Add CYGBLD_HAL_LINKER_GROUPED_LIBS to allow CDL setting of libraries used for GROUP() directive in linker script.
-
jlarmour authored
possibly support C++ EH (no CYGPKG_LIBSTDCXX). * src/hal_mk_defs.c: Also export HAL_BREAKINST_THUMB and HAL_BREAKINST_ARM to asm. * src/arm.ld: Revise alignment yet further. Maintain ALIGN_LMA at original value, but define alignment for use in compliance with AAPCS. Expand explanatory comments. (SECTION_text): Comply with AAPCS alignment when inserting .ARM.extab and .ARM.exidx. * src/arm.ld: Rework alignment further to improve backward compatibility. Improve commenting on alignment issues. * src/arm.ld: We need to be double-word aligned sometimes, so align LMA the same way too. * cdl/hal_arm.cdl (CYGBLD_HAL_ARM_EABI): EABI has a different C++ EH implementation, so don't let LIBSTDCXX use the default one. * src/vectors.S: Correctly conditionalise overwriting (or not) of reset vector. * src/hal_misc.c (CONSTRUCTORS_END): Fix fencepost error. * include/arm_stub.h: Remove CYG_HAL_GDB_ENTER_CRITICAL_IO_REGION and CYG_HAL_GDB_LEAVE_CRITICAL_IO_REGION defines which should remain as their defaults. * src/arm.ld: Add SECTION_hal_vsr_table for targets which need the VSR table in a different location to the rest of the fixed vectors. * src/vectors.S: Allow hal_platform_setup.h to define CYGHWR_HAL_ARM_SEPARATE_VSR_TABLE to allow move of hal_vsr_table to its own section at a different address. * src/hal_mk_defs.c (main): Export exception vector info to asm. * src/arm.ld: Remove previous EABI support and instead use a different approach incorporating into existing SECTION macros for better backward compatibility. * src/hal_misc.c (cyg_hal_invoke_constructors): Rewrite init_array support for EABI. There is now nothing copyrightable remaining from Chris Zimman's earlier work in this package. * cdl/hal_arm.cdl: Rename EABI option. Set default from toolchain prefix and flags. Rewrite description. * include/hal_arch.h: Rename exception vector addresses to names less likely to potentially clash with applications. * src/vectors.S: Update vector address names in line with hal_arch.h change. Rename CYGNUM_HAL_VECTOR_TABLE -> CYGHWR_HAL_VECTOR_TABLE_BASE. Some of the following changes were inspired by work from Chris Zimman. Further changes were also provided, but have not been included because either they are cosmetic (whitespace changes etc.) and thus will only make it more difficult to merge in future updates from public eCos code base in future, increase code size for those who don't need it, or break compatibility with public eCos. * cdl/hal_arm.cdl: Add EABI build option. * include/hal_arch.h: Add extra CPSR definitions, and exception vector addresses. * src/arm.ld: Add EABI support. * src/hal_misc.c: Add EABI constructor support. * src/vectors.S: Allow variant/processor/platform to specify alternate vector table base. Use pretty names from hal_arch.h for vector offset/addresses.
-
- Nov 10, 2008