Permalink
Switch branches/tags
Nothing to show
Commits on Jun 15, 2012
  1. elf32-arm: error when encountering R_ARM_TLS_LE32 in a shared object

    jszakmeister committed Jun 15, 2012
    This appears to be a copy and paste error.  In this case though, FALSE
    translates into bfd_reloc_ok, which is clearly the wrong status code.
    Switched to bfd_reloc_notsupported to ensure that the linker exits with
    an error code instead of producing a broken binary.
  2. daily update

    Alan Modra committed Jun 15, 2012
Commits on Jun 14, 2012
  1. Handle link_info.pie in ld plugin

    hjl-tools committed Jun 14, 2012
    	* plugin.c (set_tv_header): Handle link_info.pie.
  2. daily update

    Alan Modra committed Jun 14, 2012
Commits on Jun 13, 2012
  1. Fix .dc.a for x32

    hjl-tools committed Jun 13, 2012
    gas/
    
    	* config/tc-i386.c (x86_address_bytes): New.
    	* config/tc-i386.h (TC_ADDRESS_BYTES): Likewise.
    	(x86_address_bytes): Likewise.
    
    gas/testsuite/
    
    	* gas/i386/ilp32/x86-64-dc_a.d: New.
    	* gas/i386/ilp32/x86-64-dc_a.s: Likewise.
  2. PR gas/12698

    nickclifton committed Jun 13, 2012
    	* config/tc-arm.c (do_t_mrs): Do not require an m-profile
    	architecure when assembling for all archiectures.
    	(do_t_msr): Likewise.
  3. * ld-arm/arm-app-abs32.d; Update expected disassembly in line with

    nickclifton committed Jun 13, 2012
    	improved architecture detection.
    	* ld-arm/arm-app.d: Likewise.
    	* ld-arm/arm-lib-plt32.d: Likewise.
    	* ld-arm/arm-lib.d: Likewise.
    	* ld-arm/arm-static-app.d: Likewise.
    	* ld-arm/armthumb-lib.d: Likewise.
    	* ld-arm/farcall-mixed-app-v5.d: Likewise.
    	* ld-arm/farcall-mixed-app.d: Likewise.
    	* ld-arm/farcall-mixed-lib-v4t.d: Likewise.
    	* ld-arm/farcall-mixed-lib.d: Likewise.
    	* ld-arm/mixed-app-v5.d: Likewise.
    	* ld-arm/mixed-app.d: Likewise.
    	* ld-arm/mixed-lib.d: Likewise.
    	* ld-arm/tls-app.d: Likewise.
    	* ld-arm/tls-descrelax-be32.d: Likewise.
    	* ld-arm/tls-descrelax.d: Likewise.
    	* ld-arm/tls-descseq.d: Likewise.
    	* ld-arm/tls-gdesc-got.d: Likewise.
    	* ld-arm/tls-gdesc.d: Likewise.
    	* ld-arm/tls-gdierelax.d: Likewise.
    	* ld-arm/tls-gdierelax2.d: Likewise.
    	* ld-arm/tls-gdlerelax.d: Likewise.
    	* ld-arm/tls-lib-loc.d: Likewise.
    	* ld-arm/tls-lib.d: Likewise.
    	* ld-arm/tls-thumb1.d: Likewise.
  4. * dwarf-mode.el: Add final comment. Bump version.

    Tom Tromey committed Jun 13, 2012
    	(dwarf-insert-substructure-button): Use string-to-number.
    	(dwarf-browse): Fix autoload cookie.
  5. * elf32-arm.c (bfd_arm_get_mach_from_attributes): New function.

    nickclifton committed Jun 13, 2012
    	(elf32_arm_object_p): If the machine number could not be deduced
    	from the notes, call bfd_arm_get_mach_from_attributes to get the
    	number from the attributes.
  6. daily update

    Alan Modra committed Jun 13, 2012
Commits on Jun 12, 2012
  1. 2012-06-12 Rafael Ávila de Espíndola <respindola@mozilla.com>

    espindola committed Jun 12, 2012
    	* plugin.cc (Plugin::load): Handle position independent executables.
  2. 2012-06-12 Rafael Ávila de Espíndola <respindola@mozilla.com>

    espindola committed Jun 12, 2012
    	* plugin-api.h (ld_plugin_output_file_type): Add LDPO_PIE.
  3. Abort if PT_GNU_RELRO segment doesn't fit in PT_LOAD segment

    hjl-tools committed Jun 12, 2012
    bfd/
    
    	PR bfd/14207
    	* elf.c (assign_file_positions_for_non_load_sections): Abort if
    	PT_GNU_RELRO segment doesn't fit in PT_LOAD segment.
    
    ld/testsuite/
    
    	PR ld/14207
    	* ld-x86-64/x86-64.exp: Run pr14207.
    
    	* ld-x86-64/pr14207.d: New file.
    	* ld-x86-64/pr14207.s: Likewise.
  4. PR ld/14207

    Alan Modra committed Jun 12, 2012
    	* elf.c (_bfd_elf_map_sections_to_segments): Disregard bss type
    	sections at end of PT_LOAD segment when searching for segment
    	that contains end of relro extent.
  5. daily update

    Alan Modra committed Jun 12, 2012
Commits on Jun 11, 2012
  1. Reindent assign_file_positions_for_non_load_sections

    hjl-tools committed Jun 11, 2012
    	* elf.c (assign_file_positions_for_non_load_sections): Reindent.
  2. Reindent _bfd_elf_map_sections_to_segments

    hjl-tools committed Jun 11, 2012
    	* elf.c (_bfd_elf_map_sections_to_segments): Reindent.
  3. PR 13503

    nickclifton committed Jun 11, 2012
    	* config/tc-avr.c (exp_mod): Fix typo introduced in 1.82
    	from 2012-05-16.
  4. Don't hardcode .got.plt into DATA_SEGMENT_RELRO_END evaluation

    hjl-tools committed Jun 11, 2012
    ld/
    
    	PR ld/14215
    	* ldexp.c (fold_name <SIZEOF, ALIGNOF>): Allow forward section
    	references.
    	* emulparams/elf32_x86_64.sh (SEPARATE_GOTPLT): Depend on size of
    	.got.plt.
    	* emulparams/elf32mb_linux.sh (SEPARATE_GOTPLT): Likewise.
    	* emulparams/elf32tilegx.sh (SEPARATE_GOTPLT): Likewise.
    	* emulparams/elf32tilepro.sh (SEPARATE_GOTPLT): Likewise.
    	* emulparams/elf64tilegx.sh (SEPARATE_GOTPLT): Likewise.
    	* emulparams/elf_i386.sh (SEPARATE_GOTPLT): Likewise.
    	* emulparams/elf_k1om.sh (SEPARATE_GOTPLT): Likewise.
    	* emulparams/elf_l1om.sh (SEPARATE_GOTPLT): Likewise.
    	* emulparams/elf_x86_64.sh (SEPARATE_GOTPLT): Likewise.
    
    ld/testsuite/
    
    	PR ld/14215
    	* ld-i386/i386.exp: Run pr14215.
    	* ld-x86-64/x86-64.exp: Likewise.
    
    	* ld-i386/pr14215.d: New file.
    	* ld-i386/pr14215.s: Likewise.
    	* ld-x86-64/pr14215.d: Likewise.
    	* ld-x86-64/pr14215.s: Likewise.
  5. opcodes/

    andreas-schwab committed Jun 11, 2012
    * ppc-opc.c (lvsl, lvebx, isellt, icbt, ldepx, lwepx, lvsr, lvehx)
    (iselgt, lvewx, iseleq, isel, dcbst, dcbstep, dcbfl, dcbf, lbepx)
    (lvx, dcbfep, dcbtstls, stvebx, dcbtstlse, stdepx, stwepx, dcbtls)
    (stvehx, dcbtlse, stvewx, stbepx, icblc, stvx, dcbtstt, dcbtst)
    (dcbtst, dcbtstep, dcbtt, dcbt, dcbt, lhepx, eciwx, dcbtep)
    (dcread, lxvdsx, lvxl, dcblc, sthepx, ecowx, dcbi, dcread, icbtls)
    (stvxl, lxsdx, lfdepx, stxsdx, stfdepx, dcba, dcbal, lxvw4x)
    (tlbivax, lfdpx, lxvd2x, tlbsrx., stxvw4x, tlbsx, tlbsx., stfdpx)
    (stfqx, stxvd2x, icbi, icbiep, icread, dcbzep): Change RA to RA0.
    
    gas/testsuite/
    * gas/ppc/e500mc.d: Update.
    * gas/ppc/476.d: Update.
  6. daily update

    Alan Modra committed Jun 11, 2012
Commits on Jun 10, 2012
  1. daily update

    Alan Modra committed Jun 10, 2012
Commits on Jun 9, 2012
  1. Allocate sufficient space for string buffer

    hjl-tools committed Jun 9, 2012
    	* input-scrub.c (input_scrub_include_sb): Use sb_build to
    	allocate sufficient space for from_sb.  Use sb_terminate to
    	terminate string.
    	* read.c (read_a_source_file): Use sb_build to allocate
    	sufficient space and replace sb_add_string with sb_add_buffer.
    	(s_macro): Likewise.
    	(input_scrub_insert_line): Likewise.
    	(s_irp): Use sb_build to allocate sufficient space.
    	(do_repeat): Use sb_build to allocate sufficient space
    	for many.
    	* sb.c (sb_build): Remove static.
    	* sb.h (sb_build): New prototype.
  2. * sb.c: Include limits.h.

    Alan Modra committed Jun 9, 2012
    	(dsize): Delete.
    	(MALLOC_OVERHEAD, INIT_ALLOC): Define.
    	(sb_new): Use INIT_ALLOC.
    	(sb_check): Modify allocation strategy using MALLOC_OVERHEAD.
    	(sb_terminate): Don't use sb_add_char.
  3. daily update

    Alan Modra committed Jun 9, 2012
Commits on Jun 8, 2012
  1. * dwarf.c (read_and_display_attr_value): Handle

    jakubjelinek committed Jun 8, 2012
    	DW_FORM_GNU_ref_alt and DW_FORM_GNU_strp_alt.
    	(display_debug_macro): Handle DW_MACRO_GNU_define_indirect_alt,
    	DW_MACRO_GNU_undef_indirect_alt and
    	DW_MACRO_GNU_transparent_include_alt.
  2. merge from gcc

    djdelorie committed Jun 8, 2012
  3. daily update

    Alan Modra committed Jun 8, 2012
Commits on Jun 7, 2012
  1. PR 13697

    nickclifton committed Jun 7, 2012
    * scripttempl/avr.sc (.data): Keep it.
  2. * avr.h: (AVR_ISA_XCH): New define.

    nickclifton committed Jun 7, 2012
    	(AVR_ISA_XMEGA): Use it.
    	(XCH, LAS, LAT, LAC): New XMEGA opcodes.
  3. binutils/testsuite/

    tschwinge committed Jun 7, 2012
    	* binutils-all/i386/i386.exp: Don't skip for x86_64-*-linux*.
  4. Move gas/all/rept.[ds] to gas/i386

    hjl-tools committed Jun 7, 2012
    	* gas/all/gas.exp: Don't run rept.
    
    	* gas/all/rept.d: Moved to ...
    	* gas/i386/rept.d: Here.
    	* gas/all/rept.s: Moved to ...
    	* gas/i386/rept.s: Here.
    
    	* gas/i386/i386.exp: Run rept.
  5. Add a testcase for PR gas/14201

    hjl-tools committed Jun 7, 2012
    	PR gas/14201
    	* gas/all/gas.exp: Run rept.
    
    	* gas/all/rept.d: New file.
    	* gas/all/rept.s: Likewise.
  6. PR gas/14201

    Alan Modra committed Jun 7, 2012
    	* sb.h (sb_max_power_two): Delete.
    	(struct sb): Delete "item" and "pot".  Make "len" a size_t.  Add "max".
    	(sb_element): Delete.
    	(sb_add_char, sb_add_buffer, sb_skip_comma, sb_skip_write): Update
    	prototypes.
    	* sb.c (string_count, free_list): Delete.
    	(sb_build, sb_kill, sb_check): Rewrite.
    	(scrub_from_sb, sb_add_char, sb_add_string, sb_add_buffer,
    	sb_skip_white, sb_skip_comma): Replace assorted int params,
    	vars and return types with size_t.
    	* input-scrub.c: Likewise.
    	* macro.c: Likewise.
    	* macro.h: Likewise.
    	* as.c: Likewise.
    	* as.h: Likewise.
    	* input-file.h: Likewise.
    	* input-file.c: Likewise.
    	* read.c: Likewise.
    	* app.c: ..or ptrdiff_t.
    	* input-file.c (input_file_get): Use ferror.
    	(input_file_give_next_buffer): Use input_file_get.
  7. gold/

    Cary Coutant committed Jun 7, 2012
    	* layout.cc (gdb_sections): Remove ".debug_" prefixes,
    	add .debug_macro.
    	(lines_only_debug_sections): Likewise.
    	(gdb_fast_lookup_sections): New static array.
    	(is_gdb_debug_section): Rename formal parameter.
    	(is_lines_only_debug_section): Likewise.
    	(is_gdb_fast_lookup_section): New function.
    	(Layout::include_section): Check for ".zdebug_" prefix; pass
    	section name suffix to is_gdb_debug_section, et al.; check for
    	fast-lookup sections when building .gdb_index.
    	* options.h (--strip-debug-gdb): Update GDB version number.