aboutsummaryrefslogtreecommitdiff
AgeCommit message (Collapse)AuthorFilesLines
2013-05-03 * ld-elf/provide-hidden-s.nd: New test.Maciej W. Rozycki16-0/+274
* ld-elf/provide-hidden-abs.nd: New test. * ld-elf/provide-hidden-def.nd: New test. * ld-elf/provide-hidden-dyn.nd: New test. * ld-elf/provide-hidden-sec.nd: New test. * ld-elf/provide-hidden-dynabs.nd: New test. * ld-elf/provide-hidden-dynsec.nd: New test. * ld-elf/provide-hidden-s.ld: New test linker script. * ld-elf/provide-hidden-1.ld: New test linker script. * ld-elf/provide-hidden-2.ld: New test linker script. * ld-elf/provide-hidden-1.s: New test source. * ld-elf/provide-hidden-2.s: New test source. * ld-elf/provide-hidden-3.s: New test source. * ld-elf/provide-hidden-4.s: New test source. * ld-elf/provide-hidden.exp: New test script.
2013-05-032013-05-03 Hafiz Abid Qadeer <abidh@codesourcery.com>Hafiz Abid Qadeer2-13/+6
revert: 2013-04-19 Nathan Froyd <froydnj@codesourcery.com> * ppc-instructions (isel): New instruction.
2013-05-03 * merge.cc (Output_merge_string::do_add_input_section): CorrectAlan Modra2-10/+19
scan for number of strings. Rename vars to avoid shadowing. Include missing terminator in input_size_.
2013-05-03oops - omitted from previous deltaNick Clifton4-0/+490
2013-05-03daily updateAlan Modra1-1/+1
2013-05-03*** empty log message ***gdbadmin1-1/+1
2013-05-02gas/Richard Sandiford6-8/+41
* config/tc-mips.c (mips_pseudo_table): Add stabd and stabs entries. (s_mips_stab): Do not restrict to stabn only. gas/testsuite/ * gas/mips/mips16-stabs.s, gas/mips/mips16-stabs.d: New test. * gas/mips/mips.exp: Run it.
2013-05-02 * archures.c: Add some more MSP430 machine numbers.Nick Clifton52-809/+4737
* config.bfd (msp430): Define targ_selvecs. * configure.in: Add bfd_elf32_msp430_ti_vec. * cpu-msp430.c: Add some more MSP430 machine numbers. * elf32-msp430.c Add support for MSP430X relocations. Add support for TI compiler generated relocations. Add support for sym_diff relocations. Add support for relaxing out of range short branches into long branches. Add support for MSP430 attribute section. * reloc.c: Add MSP430X relocations. * targets.c: Add bfd_elf32_msp430_ti_vec. * bfd-in2.h: Regenerate. * configure: Regenerate. * libbfd.h: Regenerate. * readelf.c: Add support for MSP430X architecture. * readelf.exp: Expect -wi test to fail for the MSP430. * config/tc-msp430.c: Add support for the MSP430X architecture. Add code to insert a NOP instruction after any instruction that might change the interrupt state. Add support for the LARGE memory model. Add code to initialise the .MSP430.attributes section. * config/tc-msp430.h: Add support for the MSP430X architecture. * doc/c-msp430.texi: Document the new -mL and -mN command line options. * NEWS: Mention support for the MSP430X architecture. * gas/all/gas.exp: Skip the DIFF1 test for the MSP430. Expect the FORWARD test to pass for the MSP430. Skip the REDEF tests for the MSP430. Expect the 930509A test to fail for the MSP430. * gas/all/sleb128-4.d: Skip for the MSP430. * gas/elf/elf.exp: Set target_machine to msp430 for the MSP430. Skip the EHOPT0 test for the MSP430. Skip the REDEF and EQU-RELOC tests for the MSP430. * gas/elf/section2.e-msp430: New file. * gas/lns/lns-big-delta.d: Remove expectation of 20-bit addresses. * gas/lns/lns.exp: Use alternate LNS COMMON test for the MSP430. * gas/msp430/msp430x.s: New test. * gas/msp430/msp430x.d: Expected disassembly. * gas/msp430/msp430.exp: Run new test. * gas/msp430/opcode.d: Update expected disassembly. * msp430.h: Add MSP430X relocs. Add some more MSP430 machine numbers. Add values used by .MSP430.attributes section. * msp430.h: Add patterns for MSP430X instructions. * Makefile.am: Add emsp430X.c * Makefine.in: Regenerate. * configure.tgt (msp430): Add msp430X emulation. * ldmain.c (multiple_definition): Only disable relaxation if it was enabled by the user. * ldmain.h (RELAXATION_ENABLED_BY_USER): New macro. * emulparams/msp430all.sh: Add support for MSP430X. * emultempl/generic.em: (before_parse): Enable relaxation for the MSP430. * scripttempl/msp430.sc: Reorganize sections. Add .rodata section. * scripttempl/msp430_3.sc: Likewise. * NEWS: Mention support for MSP430X. * ld-elf/flags1.d: Expect this test to pass on the MSP430. * ld-elf/init-fini-arrays.d: Expect this test to fail on the MSP430. * ld-elf/merge.d: Expect this test to pass on the MSP430. * ld-elf/sec64k.exp: Skip these tests for the MSP430. * ld-gc/pr13683.d: Expect this test to fail on the MSP430. * ld-srec/srec.exp: Expect these tests to fail on the MSP430. * ld-undefined/undefined.exp: Expect the UNDEFINED LINE test to fail on the MSP430. * msp430-dis.c: Add support for MSP430X instructions.
2013-05-02 * dwarf.c (display_debug_lines_raw): Do not treat .debug_line.dwoNick Clifton2-14/+17
sections as if they were fragmentary .debug_line sections. (display_debug_lines_decoded): Likewise.
2013-05-02*** empty log message ***gdbadmin1-1/+1
2013-05-02daily updateAlan Modra1-1/+1
2013-05-01Restore empty string handlingH.J. Lu2-10/+13
* merge.cc (Output_merge_string<Char_type>::do_add_input_section): Restore empty string handling.
2013-05-01gold/Cary Coutant2-1/+7
* stringpool.cc (Stringpool_template::new_key_offset): Fix uninitialized warning.
2013-05-01 bfd/Maciej W. Rozycki8-4/+26
* config.bfd: Replace alpha*-*-linuxecoff* pattern with alpha*-*-linux*ecoff*. binutils/testsuite/ * lib/binutils-common.exp (is_elf_format): Also exclude *-*-linux*ecoff*. gas/ * configure.tgt: Replace alpha*-*-linuxecoff* pattern with alpha*-*-linux*ecoff*. ld/ * configure.tgt: Replace alpha*-*-linuxecoff* pattern with alpha*-*-linux*ecoff*. Update the `sed' pattern used to convert from alpha*-*-linux-* to alpha*-*-linux*ecoff*.
2013-05-01 * lib/ld-lib.exp (check_shared_lib_support): Also excludeMaciej W. Rozycki2-0/+6
mips*-*-elf.
2013-05-01 * emultempl/elf32.em (gld${EMULATION_NAME}_before_allocation):Maciej W. Rozycki2-1/+6
Use is_elf_hash_table rather than a handcoded condition.
2013-05-01Fix various -Wpointer-sign warnings in darwin-nat.cJoel Brobecker2-3/+13
gdb/ChangeLog: * darwin-nat.c (darwin_read_write_inferior): Change types of parameters rdaddr and wraddr to "gdb_byte *". Change type of copy_count to "mach_msg_type_number_t". (darwin_read_dyld_info): Change type of parameter rdaddr to "gdb_byte *".
2013-05-01Fix -Wpointer-sign errors in solib-ia64-hpux.cJoel Brobecker2-1/+7
gdb/ChangeLog: * solib-ia64-hpux.c (ia64_hpux_read_dynamic_info): Change cast of &info->load_map from "char *" to "gdb_byte *".
2013-05-01Fix -Wpointer-sign errors in ia64-tdep.cJoel Brobecker2-4/+10
gdb/ChangeLog: * ia64-tdep.c (ia64_access_fpreg): Change cast of val from "char *" to "gdb_byte *". (ia64_access_rse_fpreg, ia64_access_mem): Likewise.
2013-05-012013-04-30 Chao-ying Fu <Chao-ying.Fu@imgtec.com>Chao-ying Fu4-0/+23
* gas/mips/ext-ill.s: New file. * gas/mips/ext-ill.l: New file. * gas/mips/mips.exp: Run new tests.
2013-05-012013-04-30 Chao-ying Fu <Chao-ying.Fu@imgtec.com>Chao-ying Fu2-5/+13
* config/tc-mips.c (mips_ip): Add sizelo. For "+C", "+G", and "+H", set sizelo and compare against it.
2013-05-01daily updateAlan Modra1-1/+1
2013-05-01*** empty log message ***gdbadmin1-1/+1
2013-04-30 * dwarf2read.c (lookup_dwo_unit): Return NULL if DWO not found.Doug Evans2-55/+72
(init_cutu_and_read_dies): Flag a complaint, not error, for bad DWO stub. If DWO isn't found, just use stub. (lookup_dwo_cutu): Don't try DWO if there's a DWP file.
2013-04-30 * dwarf2read.c (dw2_find_symbol_file): Initialize filename beforeDoug Evans2-0/+8
calling init_cutu_and_read_dies.
2013-04-30 * lib/ld-lib.exp (check_shared_lib_support): Match cris*-*-elf asHans-Peter Nilsson2-1/+6
a negative pattern instead of cris*-*-*.
2013-04-30line omitted from previous delta.Nick Clifton1-0/+2
2013-04-30ld/testsuite/ld-arm: Fix ifunc-17 failure with arm-eabi.Will Newton5-19/+26
ld/testsuite/ChangeLog: 2013-04-30 Will Newton <will.newton@linaro.org> * ld-arm/arm-elf.exp: Use linker script for IFUNC test 17. * ld-arm/ifunc-17.dd: Update offsets for linker script. * ld-arm/ifunc-17.gd: Likewise. * ld-arm/ifunc-17.rd: Likewise.
2013-04-30 * ld.texinfo (SORT_BY_ALIGNMENT): Fix and clarify typo - sectionsNick Clifton2-3/+8
are sorted by descending order of alignment.
2013-04-302013-04-30 Jan-Benedict Glaw <jbglaw@lug-owl.de>Jan-Benedict Glaw4-2/+15
config/ * picflag.m4: Merge from GCC. * dfp.m4: Ditto. * bootstrap-asan.mk: Ditto. * ChangeLog: Ditto.
2013-04-30Fix display of structures/bitfields in register description.Walfred Tedeschi5-1/+104
Add support for displaying structures and bitfields for registers when executing "maint print c-tdesc". This command is also used when converting the xml target description file into c file. Example of the behaviour is given below reporting a snipet of the xml file and a snippet of the c code generated. XML file contains: ... <union id="vecint"> <field name="v4" type="v4int8"/> <field name="v2" type="v2int16"/> </union> <struct id="struct1"> <field name="v4" type="v4int8"/> <field name="v2" type="v2int16"/> </struct> <struct id="struct2" size="8"> <field name="f1" start="0" end="34"/> <field name="f2" start="63" end="63"/> </struct> ... Setting this xml file as target description file and issuing the maintenance print c-tdesc the following output is obtained: feature = tdesc_create_feature (result, "extra"); field_type = tdesc_named_type (feature, "int8"); tdesc_create_vector (feature, "v4int8", field_type, 4); field_type = tdesc_named_type (feature, "int16"); tdesc_create_vector (feature, "v2int16", field_type, 2); type = tdesc_create_union (feature, "vecint"); field_type = tdesc_named_type (feature, "v4int8"); tdesc_add_field (type, "v4", field_type); field_type = tdesc_named_type (feature, "v2int16"); tdesc_add_field (type, "v2", field_type); C output is not supported type "struct1". This is finally the issue. 2013-03-27 Walfred Tedeschi <walfred.tedeschi@intel.com> * target-descriptions.c (maint_print_c_tdesc_cmd): Add case to parse structures as register types and bitfields. testsuite/ * gdb.xml/maint_print_struct.exp: New file. * gdb.xml/maint_print_struct.xml: New file. Change-Id: I2e20b095d508319c80275e724a9452c7e2834067 Signed-off-by: Walfred Tedeschi <walfred.tedeschi@intel.com>
2013-04-30 PR binutils/15417Nick Clifton2-1/+7
* elflink.c (elf_link_add_object_symbols): Initialise 'idx' to zero.
2013-04-30Fix date in some of my recent ChangeLog entries...Joel Brobecker1-3/+3
2013-04-30Fix -Wpointer-sign warning in sol-thread.cJoel Brobecker2-3/+10
This fixes a couple of compiler warnings in rw_common when calling target_read_memory/target_write_memory due to the type of parameter "buf" (char *) not matching what these function expect (gdb_byte *). gdb/ChangeLog: * sol-thread.c (rw_common): Change type of parameter "buf" to "gdb_byte *". (ps_pdwrite, ps_ptwrite): Cast parameter "buf" in call to rw_common to "gdb_byte *" instead of "char *".
2013-04-30Fix build error in sol-thread.c:info_cbJoel Brobecker2-8/+17
gdb/ChangeLog: * sol-thread.c (info_cb) [ti.ti_startfunc != 0]: Change type of local variable msym to const struct bound_minimal_symbol. Adjust use accordingly. [ti.ti_state == TD_THR_SLEEP]: Likewise.
2013-04-30Add myself as a maintainer.Walfred Tedeschi2-0/+5
Change-Id: Ie1b0cb082a384144eef327e9294949e9bacc4415
2013-04-302013-04-30 Samuel Thibault <samuel.thibault@gnu.org>Thomas Schwinge2-1/+20
* i386gnu-nat.c (CREG_OFFSET): New macro. (creg_offset): New array. (CREG_ADDR): Use creg_offset instead of reg_offset.
2013-04-30mep: define gdbarch_pc_regnum instead of gdbarch_write_pc.Joel Brobecker2-8/+7
gdb/ChangeLog: * mep-tdep.c (mep_write_pc): Delete. (mep_gdbarch_init): Remove call to set_gdbarch_write_pc. Add call to set_gdbarch_pc_regnum.
2013-04-30Delete ChangeLog entry with no corresponding change in sources.Joel Brobecker1-6/+0
This ChangeLog entry was the result of a result of botched commit which resulted in the ChangeLog update being checked in, while the actual code code itself did not make it to CVS. This patch deletes the entry in gdb/ChangeLog titled: mep: define gdbarch_pc_regnum instead of gdbarch_write_pc.
2013-04-30filestuff.c: Include "gdb_dirent.h" instead of <dirent.h>Joel Brobecker2-1/+6
gdb/ChangeLog: * common/filestuff.c: Replace #include <dirent.h> by #include "gdb_dirent.h".
2013-04-30filestuff.c: Use gdb_stat.h instead of <sys/stat.h>Joel Brobecker2-1/+6
gdb/ChangeLog: * common/filestuff.c: Replace #include <sys/stat.h> by #include "gdb_stat.h".
2013-04-30 * elflink.c (bfd_elf_record_link_assignment): Dont makeAlan Modra2-1/+7
STV_INTERNAL symbols STV_HIDDEN.
2013-04-30daily updateAlan Modra1-1/+1
2013-04-30*** empty log message ***gdbadmin1-1/+1
2013-04-29 PR python/14204:Tom Tromey2-12/+68
* gdb.texinfo (Python API): Fix menu entry. (Blocks In Python): Fix subsubsection text. Rewrite intro. Define global and static block. Add example. Clarify block relationship for inline functions.
2013-04-29 * gdb.texinfo (Python API): Mention Python help and keywordTom Tromey2-7/+43
arguments. Move pagination text to Basic Python. (Basic Python): Put pagination text here. Document close-on-exec, SIGCHLD, and SIGINT.
2013-04-292013-04-29 Alexander Ivchenko <alexander.ivchenko@intel.com>Cary Coutant11-20/+194
gold/ * output.cc (Output_section::add_merge_input_section): Allow to merge sections if the alignment is more than character size. * merge.h (Output_merge_string::Output_merge_string): Remove assert. * merge.cc (Output_merge_string<Char_type>::do_add_input_section): Count only not-null strings. Check the alignment of strings. * stringpool.h (Stringpool_template<Stringpool_char>::Stringpool_template): Add alignment as the argument. (Stringpool_template<Stringpool_char>::addralign_): New class member. * stringpool.cc (Stringpool_template<Stringpool_char>::new_key_offset): Align non-zero length strings according to the addralign_. (Stringpool_template<Stringpool_char>::set_string_offsets): Updating offsets according to the given alignment. * testsuite/Makefile.am (text_section_grouping): Test if string literals are getting merged. * testsuite/Makefile.in: Regenerate. * testsuite/merge_string_literals_1.c: New file. * testsuite/merge_string_literals_2.c: Ditto. * testsuite/merge_string_literals.sh: Ditto.
2013-04-29 * config.guess: Update from config repo.Jan-Benedict Glaw3-20/+33
* config.sub: Ditto.
2013-04-29 * elflink.c (_bfd_elf_gc_mark_extra_sections): Remove mark fromNick Clifton15-648/+834
fragmented .debug_line sections associated with unmarked code sections. * dwarf.c (read_debug_line_header): New function. Reads in a header in a .debug_line section. (display_debug_lines_raw): Use new function. Handle fragmentary .debug_line sections. (display_debug_lines_decoded): Likewise. * readelf.c (process_section_headers): Handle fragmenatry .debug_line sections. (display_debug_section): Likewise. * as.c (Options): Add -gdwarf-sections. (parse_args): Likewise. * as.h (flag_dwarf_sections): Declare. * dwarf2dbg.c (emit_fixed_inc_line_addr): Skip section changes. (process_entries): When -gdwarf-sections is enabled generate fragmentary .debug_line sections. (out_debug_line): Set the section for the .debug_line section end symbol. * doc/as.texinfo: Document -gdwarf-sections. * NEWS: Mention -gdwarf-sections. * gas/elf/dwarf2-3.d: Fix expected readelf output. * scripttempl/DWARF.sc: Add support for .debug_line.* and .debug_line_end.
2013-04-29mep: define gdbarch_pc_regnum instead of gdbarch_write_pc.Joel Brobecker1-0/+6
gdb/ChangeLog: * mep-tdep.c (mep_write_pc): Delete. (mep_gdbarch_init): Remove call to set_gdbarch_write_pc. Add call to set_gdbarch_pc_regnum.