| Commit message (Collapse) | Author | Age | Files | Lines |
|
|
|
|
|
| |
libgloss/
* arm/elf-lm3s301.ld: Include cm3.ld.
* arm/elf-lm3s31x.ld: Likewise.
|
|
|
|
|
| |
libgloss/
* arm/Makefile.in (LMS_SCRIPTS): Add lm3s301.ld and lm3s31x.ld.
|
|
|
|
| |
* m68k/bdm-system.c (_system): Support system(NULL).
|
| |
|
|
|
|
| |
failure exit code.
|
| |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
Add bdm-time.o.
* libgloss/m68k/bdm-close.c: Add copyright notice.
* libgloss/m68k/bdm-fstat.c: Add copyright notice.
* libgloss/m68k/bdm-gettimeofday.c: Add copyright notice. Fix &/|
thinko.
* libgloss/m68k/bdm-inbyte.c: Remove.
* libgloss/m68k/bdm-isatty.c: Add copyright notice.
* libgloss/m68k/bdm-lseek.c: Add copyright notice.
* libgloss/m68k/bdm-open.c: Add copyright notice.
* libgloss/m68k/bdm-read.c: Add copyright notice.
* libgloss/m68k/bdm-rename.c: Add copyright notice.
* libgloss/m68k/bdm-stat.c: Add copyright notice.
* libgloss/m68k/bdm-system.c: Add copyright notice.
* libgloss/m68k/bdm-time.c: New.
* libgloss/m68k/bdm-unlink.c: Add copyright notice.
* libgloss/m68k/bdm-write.c: Add copyright notice.
|
|
|
|
| |
* libgloss/arm/elf-lm3s31x.ld: Likewise.
|
|
|
|
|
|
|
|
| |
(LMS_INSTALL): Likewise.
(install): Depend on LMS_INSTALL.
(install-lms): New target.
* libgloss/arm/elf-cm3.lmd: New file.
* libgloss/arm/elf-lm3s10x.ld: Likewise.
|
|
|
|
|
|
| |
* newlib/libc/sys/arm/syscalls.c (findslot): Call
initialise_monitor_handles.
(remap_handle): Do not call initialise_monitor_handles.
|
|
|
|
| |
scripts.
|
|
|
|
|
| |
* libgloss/m68k/bdm-outbyte.c: Delete.
* libgloss/m68k/bdm-semihost.h (BDM_OUTBYTE): Mark as obsolete.
|
| |
|
|
|
|
|
|
|
|
|
|
| |
aeabi_memcpy.c, aeabi_memmove.c and aeabi_memset.c.
* libc/sys/arm/Makefile.in: Regenerate.
* libc/sys/arm/aeabi.h: New file.
* libc/sys/arm/aeabi_memclr.c: New file.
* libc/sys/arm/aeabi_memcpy.c: New file.
* libc/sys/arm/aeabi_memmove.c: New file.
* libc/sys/arm/aeabi_memset.c: New file.
|
| |
|
|
|
|
|
|
|
| |
Reorder.
(*-dbug.ld, *-bdm.ld): Add appropriate IO definition.
(m5329evb-dbug.ld, m5329evb-bdm.ld): New.
* cf.sc (GROUP): Revert previous change. Add IO library.
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
(CF_SCRIPTS): Rename dbug scripts. Add bdm scripts. Add m5485
scripts.
(all): Add new targets.
(BDM_BSP): New target.
(bdm-isv.o, bdm-exit.o, bdm-outbyte.o, bdm-semihost.o): New
targets.
(BDM_ISRS): New targets.
(m5208evb.ld, m5213evb.ld, m5235evb.ld, m5272c3.ld, m5282evb.ld):
Rename and adjust.
(m5485evb-dbug): New.
(m5208evb-bdm.ld, m5213evb-bdm.ld, m5235evb-bdm.ld,
m5272c3-bdm.ld, m5282evb-bdm.ld, m5485evb-bdm.ld): New.
(install): Add BDM_BSP.
* libgloss/m68k/bdm-exit.c: New
* libgloss/m68k/bdm-inbyte.c: New
* libgloss/m68k/bdm-outbyte.c: New
* libgloss/m68k/bdm-semihost.c: New
* libgloss/m68k/bdm-semihost.h: New
* libgloss/m68k/bdm-isrs.c: New.
* libgloss/m68k/bdm-isv.c: New.
* cf-dbug.sc: Renamed to ...
* cf.sc: ... here. Add bdm flexibility. Remove GROUP
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
* libc/sys/arm/Makefile.am (extra_objs): Add _exit.o _nmi_isr.o
_fault_isr.o.
* libc/sys/arm/Makefile.in: Regenerated.
* libc/sys/arm/_exit.c: New file.
* libc/sys/arm/_fault_isr.c: Likewise.
* libc/sys/arm/_nmi_isr.c: Likewise.
* libc/sys/arm/configure.in (--enable-newlib-arm-v7m): New option.
* libc/sys/arm/configure:
* libc/sys/arm/crt0.S (_start): Do not use semihosting calls in
_start when configured for ARM V7M. Do not call
initialise_monitor_handles. Indent preprocessor directives.
(.isr_vector): New section, on ARM V7M.
* libc/sys/arm/swi.h (do_AngelSWI): New function.
* syscalls.c (_exit): Remove.
(do_AngelSWI): Likewise.
(CHECK_INIT): Remove.
(remap_handle): Call initialise_monitor_handles.
(__arm_monitor_handles_lock): New variable.
(initialise_monitor_handles): Make sure to run only once.
|
|
|
|
| |
* Makefile.in: Regenerate.
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
Sync with gcc:
2006-03-10 Aldy Hernandez <aldyh@redhat.com>
* configure.in: Handle --disable-<component> generically.
* configure: Regenerate.
2006-02-21 Rafael Avila de Espindola <rafael.espindola@gmail.com>
* Makefile.tpl (BUILD_CONFIGDIRS): Remove.
(TARGET_CONFIGDIRS): Remove.
* configure.in: Remove AC_SUBST(target_configdirs).
* Makefile.in, configure: Regenerated.
|
|
|
|
|
|
|
|
|
|
|
|
| |
* elf32-mips.c (mips_elf_adjust_addend): New function, mostly split
out from...
(_bfd_mips_elf_relocate_section): ...here. Use it to adjust r_addend
for final links too.
ld/testsuite/
* ld-mips/emit-relocs-1a.s, ld-mips/emit-relocs-1b.s,
* ld-mips/emit-relocs-1.ld, ld-mips/emit-relocs-1.d: New test.
* ld-mips/mips-elf.exp: Run it.
|
|
|
|
|
|
|
|
|
| |
* m32c-desc.c: Likewise.
* m32c-desc.h: Likewise.
* m32c-dis.c: Likewise.
* m32c-ibld.c: Likewise.
* m32c-opc.c: Likewise.
* m32c-opc.h: Likewise.
|
|
|
|
|
| |
(btst:s): New.
* m32c.opc (parse_bit3_S): New.
|
|
|
|
|
| |
* m32c-opc.c: Likewise.
* m32c-opc.h: Likewise.
|
|
|
|
|
|
|
| |
(btst): Add optional :G suffix for MACH32.
(or.b:S): New.
(pop.w:G): Add optional :G suffix for MACH16.
(push.b.imm): Fix syntax.
|
| |
|
|
|
|
|
| |
type enum bfd_architecture. Thus no need to cast enums to int.
(display_info_table): Likewise.
|
|
|
|
| |
flag and avoid double underscore prefixes.
|
| |
|
|
|
|
| |
* elfxx-mips.c (mips_elf_create_got_section): Initialize hgot.
|
| |
|
| |
|
|
|
|
|
|
| |
PR ld/2443
* dwarf2.c (concat_filename): Don't issue an error if file is
0.
|
|
|
|
|
|
|
| |
(mulu.l): New.
* m32c-desc.c: Regenerate with mul.l, mulu.l.
* m32c-opc.c: Likewise.
* m32c-opc.h: Likewise.
|
| |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
bfd/
* elf32-arm.c (INTERWORK_FLAG): Handle EABIv5.
(elf32_arm_print_private_bfd_data): Ditto.
binutils/
* readelf.c (decode_ARM_machine_flags): Handle EABIv5.
gas/
* config/tc-arm.c (md_begin): Handle EABIv5.
(arm_eabis): Add EF_ARM_EABI_VER5.
* doc/c-arm.texi: Document -meabi=5.
include/elf/
* arm.h (EF_ARM_EABI_VER5): Define.
|
|
|
|
|
| |
include/opcode/
* arm.h (ARM_AEXT_V7_ARM): Include v6ZK extensions.
|
|
|
|
|
|
|
|
| |
Use length instead to determine address size.
(get_pointer_size_and_offset_of_comp_unit): Delete.
(display_debug_lines): Adjust for above.
(display_debug_aranges): Don't stop on finding two zeros.
(display_debug_frames): For warning, print offset not pointer.
|
| |
|
|
|
|
|
|
|
|
|
| |
bfd/
* cpu-arm.c (bfd_is_arm_mapping_symbol_name): Recognise additional
mapping symbols.
gas/testsuite/
* gas/arm/nomapping.d: New test.
* gas/arm/nomapping.s: New test.
|
| |
|
|
|
|
| |
* doc/binutils.texi: Likewise.
|
|
|
|
|
|
|
|
|
|
|
| |
(xlate): Also add underscore to stdcall symbol if
add_stdcall_underscore set.
(usage): Document --add-stdcall-underscore option.
(OPTION_ADD_STDCALL_UNDERSCORE): New define.
(long_options): Use it for --add-stdcall-underscore option.
(main): Handle it.
* doc/binutils.texi: Document --add-stdcall-underscore option
and differentiate from --add-underscore.
|
| |
|
| |
|
| |
|
|
|
|
| |
* elfxx-ia64.c (elfNN_ia64_choose_gp): Properly choose gp.
|
| |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
2006-03-07 H.J. Lu <hongjiu.lu@intel.com>
PR binutils/2428
* gas/i386/i386.exp: Add rep, rep-suffix, x86-64-rep and
x86-64-rep-suffix.
* gas/i386/naked.d: Replace repz with rep.
* gas/i386/x86_64.d: Likewise.
* gas/i386/rep-suffix.d: New file.
* gas/i386/rep-suffix.s: Likewise.
* gas/i386/rep.d: Likewise.
* gas/i386/rep.s: Likewise.
* gas/i386/x86-64-rep-suffix.d: Likewise.
* gas/i386/x86-64-rep-suffix.s: Likewise.
* gas/i386/x86-64-rep.d: Likewise.
* gas/i386/x86-64-rep.s: Likewise.
opcodes/
2006-03-07 H.J. Lu <hongjiu.lu@intel.com>
PR binutils/2428
* i386-dis.c (REP_Fixup): New function.
(AL): Remove duplicate.
(Xbr): New.
(Xvr): Likewise.
(Ybr): Likewise.
(Yvr): Likewise.
(indirDXr): Likewise.
(ALr): Likewise.
(eAXr): Likewise.
(dis386): Updated entries of ins, outs, movs, lods and stos.
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
* configure.in (bfd_elf32_bigarm_vec): Include elf-vxworks.lo.
(bfd_elf32_bigarm_symbian_vec): Likewise.
(bfd_elf32_bigarm_vxworks_vec): Likewise.
(bfd_elf32_littlearm_vec): Likewise.
(bfd_elf32_littlearm_symbian_vec): Likewise.
(bfd_elf32_littlearm_vxworks_vec): Likewise.
* configure: Regenerate.
* elf32-arm.c: Include libiberty.h and elf-vxworks.h.
(RELOC_SECTION, RELOC_SIZE, SWAP_RELOC_IN, SWAP_RELOC_OUT): New macros.
(elf32_arm_vxworks_bed): Add forward declaration.
(elf32_arm_howto_table_1): Fix the masks for R_ASM_ABS12.
(elf32_arm_vxworks_exec_plt0_entry): New table.
(elf32_arm_vxworks_exec_plt_entry): Likewise.
(elf32_arm_vxworks_shared_plt_entry): Likewise.
(elf32_arm_link_hash_table): Add vxworks_p and srelplt2 fields.
(reloc_section_p): New function.
(create_got_section): Use RELOC_SECTION.
(elf32_arm_create_dynamic_sections): Likewise. Call
elf_vxworks_create_dynamic_sections for VxWorks targets.
Choose between the two possible values of plt_header_size
and plt_entry_size.
(elf32_arm_link_hash_table_create): Initialize vxworks_p and srelplt2.
(elf32_arm_abs12_reloc): New function.
(elf32_arm_final_link_relocate): Call it. Allow the creation of
dynamic R_ARM_ABS12 relocs on VxWorks. Use reloc_section_p,
RELOC_SIZE, SWAP_RELOC_OUT and RELOC_SECTION. Initialize the
r_addend fields of relocs. On rela targets, skip any code that
adjusts in-place addends. When using _bfd_link_final_relocate
to perform a final relocation, pass rel->r_addend as the addend
argument.
(elf32_arm_merge_private_bfd_data): If one of the bfds is a VxWorks
object, ignore flags that are not standard on VxWorks.
(elf32_arm_check_relocs): Allow the creation of dynamic R_ARM_ABS12
relocs on VxWorks. Use reloc_section_p.
(elf32_arm_adjust_dynamic_symbol): Use RELOC_SECTION and RELOC_SIZE.
(allocate_dynrelocs): Use RELOC_SIZE. Account for the size of
.rela.plt.unloaded relocs on VxWorks targets.
(elf32_arm_size_dynamic_sections): Use RELOC_SIZE. Check for
.rela.plt.unloaded as well as .rel(a).plt. Add DT_RELA* tags
instead of DT_REL* tags on RELA targets.
(elf32_arm_finish_dynamic_symbol): Use RELOC_SECTION, RELOC_SIZE
and SWAP_RELOC_OUT. Initialize r_addend fields. Handle VxWorks
PLT entries. Do not make _GLOBAL_OFFSET_TABLE_ absolute on VxWorks.
(elf32_arm_finish_dynamic_sections): Use RELOC_SECTION, RELOC_SIZE
and SWAP_RELOC_OUT. Initialize r_addend fields. Handle DT_RELASZ
like DT_RELSZ. Handle the VxWorks form of initial PLT entry.
Correct the .rela.plt.unreloaded symbol indexes.
(elf32_arm_output_symbol_hook): Call the VxWorks version of this
hook on VxWorks targets.
(elf32_arm_vxworks_link_hash_table_create): Set vxworks_p to true.
Minor formatting tweak.
(elf32_arm_vxworks_final_write_processing): New function.
(elf_backend_add_symbol_hook): Override for VxWorks and reset
for Symbian.
(elf_backend_final_write_processing): Likewise.
(elf_backend_emit_relocs): Likewise.
(elf_backend_want_plt_sym): Likewise.
(ELF_MAXPAGESIZE): Likewise.
(elf_backend_may_use_rel_p): Minor formatting tweak.
(elf_backend_may_use_rela_p): Likewise.
(elf_backend_default_use_rela_p): Likewise.
(elf_backend_rela_normal): Likewise.
* Makefile.in (elf32-arm.lo): Depend on elf-vxworks.h.
gas/
* config/tc-arm.c (md_apply_fix): Install a value of zero into a
BFD_RELOC_ARM_OFFSET_IMM field if we're going to generate a RELA
R_ARM_ABS12 reloc.
(tc_gen_reloc): Keep the original fx_offset for RELA pc-relative
relocs, but adjust by md_pcrel_from_section. Create R_ARM_ABS12
relocations for BFD_RELOC_ARM_OFFSET_IMM on RELA targets.
gas/testsuite/
* gas/arm/abs12.s, gas/arm/abs12.d: New test.
* gas/arm/pic.d: Skip for *-*-vxworks*...
* gas/arm/pic_vxworks.d: ...use this version instead.
* gas/arm/unwind_vxworks.d: Fix expected output.
ld/
* emulparams/armelf_vxworks.sh: Include vxworks.sh.
(MAXPAGESIZE): Define.
* emulparams/vxworks.sh: Undefine.
* Makefile.am (earmelf_vxworks.c): Depend on vxworks.sh and vxworks.em.
* Makefile.in: Regenerate.
ld/testsuite/
* ld-arm/vxworks1.dd, ld-arm/vxworks1.ld, ld-arm/vxworks1-lib.dd,
* ld-arm/vxworks1-lib.nd, ld-arm/vxworks1-lib.rd,
* ld-arm/vxworks1-lib.s, ld-arm/vxworks1.rd, ld-arm/vxworks1.s,
* ld-arm/vxworks1-static.d, ld-arm/vxworks2.s, ld-arm/vxworks2.sd,
* ld-arm/vxworks2-static.sd: New tests.
* ld-arm/arm-elf.exp: Run them.
|