{"push_id":775696768,"size":2,"distinct_size":2,"ref":"refs/heads/master","head":"a7c4979727e13498b8d4d85c72ddf65611c532a9","before":"136765eab14d32f5fec607f755c3096eb43bf96f","commits":[{"sha":"6f20ed8a6ba1a01fb356eea8ea45310ed8478a27","author":{"email":"64b285df2af30b39a5c8967bdd7812e31d1a9397@gmail.com","name":"Alan Modra"},"message":"ppc64 section group handling\n\nTwo organizational changes to the array of additional info kept for\nsections.\n1) Move group info into a per-group allocated struct, in preparation\nfor future changes that need per-group accounting.\n2) Expand the array to include output sections, which simplifies\nsizing and removes the need for a separate output section array.\n\n\t* section.c (section_id): Make file scope.\n\t(bfd_get_next_section_id): New function.\n\t* elf64-ppc.c (struct map_stub): Remove toc_off field.  Move decl.\n\t(struct ppc_stub_hash_entry): Delete stub_sec and id_sec.  Add\n\tgroup.  Update all uses.\n\t(struct ppc_link_hash_table): Delete top_id, top_index, and\n\tinput_list.  Add sec_info_arr_size.  Rename stub_group to\n\tsec_info, and make group info indirect.  Update stub_group refs\n\tthroughout file.\n\t(ppc_add_stub): Don't look for stub_sec on link_sec stub_group\n\tentry.\n\t(ppc_build_one_stub): Delete FIXME.\n\t(ppc64_elf_setup_section_lists): Size htab->sec_info for all\n\tsections, not just input sections.  Don't create htab->input_list.\n\t(ppc64_elf_next_input_section): Update to use sec_info union as\n\tlist pointer.\n\t(PREV_SEC): Delete.\n\t(group_sections): Pass \"info\" param rather than \"htab\".  Iterate\n\tover output sections rather than input_list.  Use sec_info union\n\tas list pointers.  Alloc atruct map_stub, and return fail status.\n\t* bfd-in2.h: Regenerate.","distinct":true,"url":"https://api.github.com/repos/wallento/binutils-gdb/commits/6f20ed8a6ba1a01fb356eea8ea45310ed8478a27"},{"sha":"a7c4979727e13498b8d4d85c72ddf65611c532a9","author":{"email":"64b285df2af30b39a5c8967bdd7812e31d1a9397@gmail.com","name":"Alan Modra"},"message":"Optimise PowerPC64 r2 adjusting stubs\n\nSometimes these stubs don't need to change the low 16-bits of r2, so in\nthat case omit a useless addi r2,r2,0 insn.  Also, change the get_r2off\nerror return from 0 to -1 since 0 is a valid return for ELFv2 -R objects.\n\n\t* elf64-ppc.c (get_r2off): Return -1 on error.\n\t(ppc_build_one_stub): Adjust for get_r2off change.  Don't emit\n\taddi r2,r2,0 on r2off stubs when the low 16-bit delta is zero.\n\t(ppc_size_one_stub): Corresponding size changes for r2off stubs.\n\tAdd condition in test for -R objects.","distinct":true,"url":"https://api.github.com/repos/wallento/binutils-gdb/commits/a7c4979727e13498b8d4d85c72ddf65611c532a9"}]}