public inbox for archer-commits@sourceware.org help / color / mirror / Atom feed
From: jkratoch@sourceware.org To: archer-commits@sourceware.org Subject: [SCM] archer-jankratochvil-autoload: . Date: Sat, 17 Mar 2012 05:42:00 -0000 [thread overview] Message-ID: <20120317054153.25171.qmail@sourceware.org> (raw) The branch, archer-jankratochvil-autoload has been updated via 7ef26536e685011cf3dec2f9292b70aa2dd5768f (commit) via 28d899c268a327d2ee008d206cd0c1250fe968e8 (commit) via 02afba71cc3c290623747ea078145a2133f6f6f4 (commit) via a30c8b18c9bef993bc13f186120adb94e26b0ddc (commit) via fa2823b04e218be351d7701dcdb8174ca691a199 (commit) via 9342f8ebee407b610969d97682b56b02233171f6 (commit) via 349654220853181e5be4dc363c54319dbb1bfd5c (commit) via 0f301f8ba880b4992fc9cfb57716865916cd628a (commit) via f08bbab88f0679de9119b8ec26eb469551c78d12 (commit) via 9dd02ec75d838990666eb9199bf479ff930ee2bd (commit) via 7b1fae8143bcb985ce8c9f314d10c9ae4c1be734 (commit) via c6fac428e24e1fbf29e8971953152bcb80946f2f (commit) via 0ea61917ed3bc31a0fa98d1280bf87890ba89b06 (commit) via 60c520c9959c107cdc25a2cbeeeecfa62dddddca (commit) via d5bc117868b2062712a1b3de41de8d0a79b669c2 (commit) via b3a19e4dbf598ae0b33e80f77583b25b94196459 (commit) via fb064b7e2ed57d24a5deb87245ccba336a161d3e (commit) via facda9cb2701bda45dc901ecf9be8115b70f04d5 (commit) via c55ff693014c302c8b91b99cee0484751f105e15 (commit) via e6fdde6964c1d797f9e9337adb0afe24e46ae9db (commit) via 759c5fffb2d76fa8844c2ee5ec91746dcea434a8 (commit) via 7f8076204b091192cb2050f5aa80cdf4c45a7926 (commit) via cc89c790f5fe692768ba246325c71b7e58f496f6 (commit) via cf56649757d05c7bbe2f76d9fcadfdee65b99c7d (commit) via d77939f6c2c8efa0e583abbf61a0920eabb579a2 (commit) via 5cddcb364a808283eed8f4a427796a789b83ebde (commit) via 75dcd60a60fa0e3f47d558b8312d00fe2b08efa4 (commit) via 171e9f303ff92d99018142fc40bca86989ca396b (commit) via 601078dae9e3e738ab39bfe5eee21f653304f485 (commit) via 8aaf828f00db4415170187f1d9e786bbb916d489 (commit) via 69acdef42f5cff62cf1d069348fcf4ed14305c96 (commit) via cdfae53fa67f5576d6a15500bba8ea3fb7e5aa71 (commit) via de2f714807e42df981348b72164f60ea71b37543 (commit) via 8f255da61a5667b640ee0c5d68d3a5fb380db813 (commit) via d1620965b61cd9a39a766fbb07b8b2681c14f47a (commit) via 7493f930ad532c91f186f7b2fbaacba308f90945 (commit) via 5ba09d5182a185d0b7a1cf686d7808131536d281 (commit) via 89cc5bbe4b835a5b4efa384ef2da9c3ba1b3cac5 (commit) via fe7de29ee44ce25f11b2cd0f5aafa86170d0d867 (commit) via dbc01db95dfa6f9d32e156d13abc437a80b858b9 (commit) via fcbe86bcd4734566694e12e6c0c519364e2ed538 (commit) via ee520d1b19ccd7bd17bf7cb0cb0264b1f5446f2c (commit) via 05dbea72ad0b63e512fcdb94136acf42c6a86f77 (commit) via becc34639008f2a60146735f8fb26ac080edd208 (commit) via da6ec63a13ac3cd2cf6b8a8ea7e59ea1ee4f6cb9 (commit) via 0067cc7c1ad992da92f1a4e8568c6e7990f5c6e4 (commit) via 1c603d2d9bc394132964ca3681eb4745a84932f3 (commit) via 181c7f1c94a549fad5ce0a73c8855f462a184a8c (commit) via c1b07e788b83e73e0a76306392c8d94b86bdaeb9 (commit) via d7a9e1cdfb8eb4ba72c32e97bf143db71c6d94b7 (commit) via 7058f6ce5949ab67021d681410cdc363ff8e6141 (commit) via 8b1db1260675f235c66446533c4b224d644ea51f (commit) via 820dd2b62a2f176874c5b08c114d89d70ca3880f (commit) via e0da1dbc89bdddf6f45e7f98eef935fcb5ca30c3 (commit) via a6c252423c3bfe1adb83d8e1120c7cede77ecd04 (commit) via 7e0874ee6165f4284daf1d378fe44a665ee46be1 (commit) via 3b8846cfe9c3f6f33666d8d22dfd0efbd67edb22 (commit) via b7522666365970695d1948f80faaa5cff93ee4a9 (commit) via d2b433de6faa61355736bc72318f929fd4ca98f5 (commit) via c7412c9f6c1bdbbb8e4fcc20313994cc243accec (commit) via 286407d1b9af8ecfc3859bc2d9c4c5e6c7c3feb3 (commit) via e0df8b05e0c2b392c03ba8a8b0529d16d6e34b90 (commit) via 5dfd18a698f2086fa06e1634b226c89c1fa8493c (commit) via 0f1d8761733fd245fcc3b86246b6b2b11273d538 (commit) via 4ae3017e7e53a24094e4e8437e681d7e745484b6 (commit) via c5d108c464f20bd59707af4752ad25fbcd9c9d3b (commit) via 9f98300654f84be38a0458438e2b1f7ef8b3c87e (commit) via 27dfec4afd75d65692a401010ba20946715d6ea6 (commit) via 402efa941c15e4bd21377c9d7f7b20588bac07dd (commit) via afae5bf85c2b98660a98768353bcffd0eee86a3f (commit) via d1b294216946f6f45d401f479fa6f09fb058d458 (commit) via 1827ba892b03be2f1e1836d711cdfe152c2d00b9 (commit) via 82a7a1cb1861638e5c70c1229e5b9b3ab949c892 (commit) via a82f90efecc257c5b8826b7f6c52ad4e4acf48f3 (commit) via ee2f78d0feccbf7f2a90864ac08237c74d0b4325 (commit) via 186bbbf2ba11ce0043b91a025f972d99b26c1bd0 (commit) via 3d9a76399096d7fec83cf0bae4a8081a3c8a2e63 (commit) via 9850aef33ec992b4526960c0daf944252eaceb52 (commit) via d953592278391cfad764a29f32fe4a2b2ae954b0 (commit) via 60e1bf3dd24d0508103040a45f52b9d88bab6550 (commit) via 16de39cc0e44489e0b80b7fc93444c5c77fc0ea4 (commit) via 7f6229d8b64e9060cfa3206cab68ed3f9fefcc8c (commit) via 8559a0fdd0020188eb848d4b3f7142024f8750e8 (commit) via 4ffa113c3d4c45075d81bcfb833bd4c2f2aa5cb0 (commit) via fcd357cf29d8819fc89fd527b7d167d5fe61e9f6 (commit) via 0a6318044dba8762ff97f8b6085f3d7caa0c8962 (commit) via fa5fe0b2994c6723e73aa56d22ea87f849a9ec91 (commit) via fa17be37489e4854a07cf5fb67c223aa47a3b64c (commit) via a0cb7c7110404c8e9da6d4a556d5145b762675d2 (commit) via 9550653584a4a39c3ed0ab79af4292ed526f0337 (commit) via 58ca445b83eb5f6732124cd5a22d60c079b01d84 (commit) via 3327cadb71047e028be9dc2c8af3ea7dcbb8c760 (commit) via d9db1182aeb4ae633f4537f4e7289cb3827ab3f3 (commit) via 6a6eaeb6c00d8d28ecb300c1c60766c9f16cd45c (commit) via df85a15f86d11bfba2a0a4cf4583c8aefdbfda1f (commit) via b23543c9643d6a6977c1134e8ad55a17f40a9eba (commit) via c985cc781388627f3f248b5dfeeca04a2247927d (commit) via 7c4cb3092b65223a1ac9f1ceecf3c66ed74604f0 (commit) via 509548bab1144810d50556a34c768e33366f34ef (commit) via 6711d8d07852274e57eeda9cb28ded36d68c2916 (commit) via 0b2fe2ca87a1d9301e1a1892223418aa8286a518 (commit) via 30179ecad1dc16b8aa837d5c3e716c15c4451add (commit) via 614b158b34dda1c86dbb36d5b5784d0f47a83e55 (commit) via 63605861f505c8b5830856c8714491945d11a29c (commit) via 6aa1a3d2aa879e3c90cfb7ba6f092248e9b3d14f (commit) via 85c0a34413f7fa5087a57b1f60f1b4685ed38e7f (commit) via 159708f077cb29db1e640f38e338cfd11f72e434 (commit) via a6558cc6583d689bad730ea4b8b21e8902d33765 (commit) via 13e0b15bc830661c894a76c655f66ec4d7927d99 (commit) via 8e8e6374c970c822860d35a1eb1d8be4520eb84c (commit) via c18e72c42adedfa9668ba1591f3e49aeb8ea960a (commit) via 0212281f290ab420cc0d62d84eb250a7c244d469 (commit) via f159f57d7af49a583b5b90211e012319b2bc114e (commit) via 6224d1714d7a40a72438280140619a4f7d524351 (commit) via 0abc4898f61eb02eac736d48fb8fb9d92c610067 (commit) via 13cd52cfd198a089b406c1c2eeef7b4556792d51 (commit) via d1c19498d48c166cc5c19393c7f1d9f5123370ad (commit) via b70a3d51d2fe74ebae8a741b05f5b251e5808eb6 (commit) via 0f71212eb8ed33023680ea1c4948cc7af44e969a (commit) from c5ecb6bf6625287d6396e03f8f3fcbaa206bf079 (commit) Those revisions listed above that are new to this repository have not appeared on any other notification email. - Log ----------------------------------------------------------------- commit 7ef26536e685011cf3dec2f9292b70aa2dd5768f Author: Jan Kratochvil <jan.kratochvil@redhat.com> Date: Sat Mar 17 06:40:28 2012 +0100 . commit 28d899c268a327d2ee008d206cd0c1250fe968e8 Author: Jan Kratochvil <jan.kratochvil@redhat.com> Date: Sat Mar 17 06:40:28 2012 +0100 . commit 02afba71cc3c290623747ea078145a2133f6f6f4 Author: Jan Kratochvil <jan.kratochvil@redhat.com> Date: Sat Mar 17 06:40:28 2012 +0100 . commit a30c8b18c9bef993bc13f186120adb94e26b0ddc Author: Jan Kratochvil <jan.kratochvil@redhat.com> Date: Sat Mar 17 06:40:27 2012 +0100 . commit fa2823b04e218be351d7701dcdb8174ca691a199 Author: Jan Kratochvil <jan.kratochvil@redhat.com> Date: Sat Mar 17 06:40:27 2012 +0100 . commit 9342f8ebee407b610969d97682b56b02233171f6 Author: Jan Kratochvil <jan.kratochvil@redhat.com> Date: Sat Mar 17 06:39:59 2012 +0100 . commit 349654220853181e5be4dc363c54319dbb1bfd5c Author: Jan Kratochvil <jan.kratochvil@redhat.com> Date: Sat Mar 17 06:39:11 2012 +0100 . commit 0f301f8ba880b4992fc9cfb57716865916cd628a Author: Jan Kratochvil <jan.kratochvil@redhat.com> Date: Sat Mar 17 06:39:11 2012 +0100 . commit f08bbab88f0679de9119b8ec26eb469551c78d12 Author: Jan Kratochvil <jan.kratochvil@redhat.com> Date: Sat Mar 17 06:39:11 2012 +0100 . commit 9dd02ec75d838990666eb9199bf479ff930ee2bd Author: Jan Kratochvil <jan.kratochvil@redhat.com> Date: Sat Mar 17 06:37:12 2012 +0100 revert commit 7b1fae8143bcb985ce8c9f314d10c9ae4c1be734 Merge: c5ecb6b c6fac42 Author: Jan Kratochvil <jan.kratochvil@redhat.com> Date: Sat Mar 17 06:36:00 2012 +0100 Merge branch 'master' into archer-jankratochvil-autoload Conflicts: gdb/NEWS gdb/configure commit c6fac428e24e1fbf29e8971953152bcb80946f2f Author: gdbadmin <gdbadmin@sourceware.org> Date: Sat Mar 17 00:00:03 2012 +0000 *** empty log message *** commit 0ea61917ed3bc31a0fa98d1280bf87890ba89b06 Author: Roland McGrath <roland@gnu.org> Date: Fri Mar 16 23:19:44 2012 +0000 bfd/ 2012-03-16 Roland McGrath <mcgrathr@google.com> * config.bfd: Handle x86_64-*-nacl*. * elf64-x86-64.c (bfd_elf64_x86_64_nacl_vec): New backend vector stanza. (bfd_elf32_x86_64_nacl_vec): Likewise. * targets.c: Support them. * configure.in: Likewise. * configure: Regenerated. gas/ 2012-03-16 Roland McGrath <mcgrathr@google.com> * config/tc-i386.h [TE_NACL] (ELF_TARGET_FORMAT32, ELF_TARGET_FORMAT64): Define for this case. * configure.tgt (i386-*-nacl*): If ${cpu} is x86_64*, default to x32. commit 60c520c9959c107cdc25a2cbeeeecfa62dddddca Author: Alan Modra <amodra@bigpond.net.au> Date: Fri Mar 16 23:00:05 2012 +0000 daily update ----------------------------------------------------------------------- Summary of changes: COPYING.LIBGLOSS | 2 +- COPYING.NEWLIB | 15 +- ChangeLog | 24 + bfd/ChangeLog | 86 + bfd/archures.c | 6 +- bfd/bfd-in2.h | 2 + bfd/config.bfd | 6 + bfd/configure | 3 +- bfd/configure.in | 11 +- bfd/cpu-powerpc.c | 34 +- bfd/elf-m10300.c | 11 +- bfd/elf32-arm.c | 90 +- bfd/elf32-cr16.c | 11 +- bfd/elf32-cris.c | 11 +- bfd/elf32-hppa.c | 11 +- bfd/elf32-i370.c | 11 +- bfd/elf32-i386.c | 35 +- bfd/elf32-lm32.c | 11 +- bfd/elf32-m32r.c | 11 +- bfd/elf32-m68k.c | 11 +- bfd/elf32-ppc.c | 9 +- bfd/elf32-s390.c | 11 +- bfd/elf32-sh.c | 9 +- bfd/elf32-tic6x.c | 11 +- bfd/elf32-tilepro.c | 11 +- bfd/elf32-vax.c | 11 +- bfd/elf64-ppc.c | 9 +- bfd/elf64-s390.c | 11 +- bfd/elf64-sh64.c | 11 +- bfd/elf64-x86-64.c | 446 ++++-- bfd/elfxx-sparc.c | 9 +- bfd/elfxx-tilegx.c | 11 +- bfd/targets.c | 6 +- bfd/version.h | 2 +- bfd/vms-lib.c | 16 +- configure | 23 +- configure.ac | 23 +- gdb/ChangeLog | 474 ++++++- gdb/Makefile.in | 8 +- gdb/NEWS | 23 + gdb/README | 8 +- gdb/ada-lang.c | 17 +- gdb/aix-thread.c | 13 +- gdb/amd64-windows-nat.c | 3 + gdb/amd64bsd-nat.c | 1 + gdb/arm-linux-nat.c | 2 +- gdb/arm-tdep.c | 42 +- gdb/auto-load.c | 16 +- gdb/ax-gdb.c | 20 +- gdb/breakpoint.c | 193 ++- gdb/breakpoint.h | 17 +- gdb/buildsym.c | 6 +- gdb/buildsym.h | 8 - gdb/common/linux-procfs.c | 108 +- gdb/common/linux-procfs.h | 11 +- gdb/common/linux-ptrace.c | 49 + gdb/common/linux-ptrace.h | 4 + gdb/config.in | 3 - gdb/config/alpha/alpha-linux.mh | 2 +- gdb/config/arm/linux.mh | 2 +- gdb/config/i386/linux.mh | 2 +- gdb/config/i386/linux64.mh | 2 +- gdb/config/ia64/linux.mh | 2 +- gdb/config/m32r/linux.mh | 2 +- gdb/config/m68k/linux.mh | 2 +- gdb/config/mips/linux.mh | 2 +- gdb/config/pa/linux.mh | 2 +- gdb/config/powerpc/linux.mh | 2 +- gdb/config/powerpc/ppc64-linux.mh | 2 +- gdb/config/powerpc/spu-linux.mh | 2 +- gdb/config/s390/s390.mh | 2 +- gdb/config/sparc/linux.mh | 2 +- gdb/config/sparc/linux64.mh | 2 +- gdb/config/xtensa/linux.mh | 2 +- gdb/configure | 62 +- gdb/configure.ac | 54 +- gdb/cp-abi.c | 10 + gdb/cp-abi.h | 6 + gdb/cp-support.c | 18 + gdb/cp-valprint.c | 11 + gdb/d-lang.c | 2 +- gdb/darwin-nat-info.c | 5 +- gdb/darwin-nat.c | 3 + gdb/doc/ChangeLog | 28 + gdb/doc/gdb.texinfo | 114 +- gdb/doc/gdbint.texinfo | 5 - gdb/doc/refcard.tex | 2 +- gdb/dwarf2loc.c | 2 + gdb/dwarf2loc.h | 2 +- gdb/dwarf2read.c | 152 ++- gdb/features/arm-with-m-fpa-layout.c | 44 + gdb/features/arm-with-m-fpa-layout.xml | 45 + gdb/gdbserver/ChangeLog | 53 + gdb/gdbserver/Makefile.in | 3 + gdb/gdbserver/configure.srv | 17 + gdb/gdbserver/linux-low.c | 120 ++- gdb/gdbserver/linux-x86-low.c | 27 +- gdb/gdbserver/server.c | 36 +- gdb/gdbserver/server.h | 2 + gdb/gdbserver/tracepoint.c | 231 ++- gdb/gnu-v3-abi.c | 242 +++ gdb/i386-darwin-nat.c | 3 +- gdb/{libunwind-frame.c => ia64-libunwind-tdep.c} | 8 +- gdb/{libunwind-frame.h => ia64-libunwind-tdep.h} | 19 +- gdb/ia64-tdep.c | 18 +- gdb/ia64-tdep.h | 2 +- gdb/ia64-vms-tdep.c | 4 +- gdb/inf-ptrace.c | 2 +- gdb/inferior.h | 16 +- gdb/infrun.c | 10 + gdb/linespec.c | 56 +- gdb/linux-nat.c | 64 +- gdb/linux-thread-db.c | 1 - gdb/m32r-tdep.c | 3 +- gdb/m68klinux-nat.c | 25 + gdb/m68klinux-tdep.c | 2 + gdb/machoread.c | 3 + gdb/main.c | 6 + gdb/mem-break.c | 17 +- gdb/mi/mi-cmd-break.c | 2 +- gdb/mi/mi-interp.c | 14 +- gdb/mi/mi-main.c | 5 +- gdb/p-typeprint.c | 3 +- gdb/python/py-breakpoint.c | 2 +- gdb/python/py-finishbreakpoint.c | 2 +- gdb/ravenscar-sparc-thread.c | 3 + gdb/ravenscar-thread.c | 3 + gdb/remote.c | 258 +++- gdb/rs6000-nat.c | 2 + gdb/rs6000-tdep.c | 9 + gdb/source.c | 2 +- gdb/spu-tdep.c | 2 +- gdb/stabsread.c | 4 +- gdb/stubs/ChangeLog | 8 + gdb/{ => stubs}/i386-stub.c | 0 gdb/{ => stubs}/m32r-stub.c | 0 gdb/{ => stubs}/m68k-stub.c | 0 gdb/{ => stubs}/sh-stub.c | 0 gdb/{ => stubs}/sparc-stub.c | 0 gdb/symfile.c | 25 - gdb/symfile.h | 3 + gdb/target.c | 31 + gdb/target.h | 20 + gdb/testsuite/ChangeLog | 127 ++ gdb/testsuite/gdb.ada/array_bounds.exp | 2 +- .../{array_bounds.exp => bp_range_type.exp} | 34 +- gdb/testsuite/gdb.ada/bp_range_type/foo.adb | 26 + gdb/testsuite/gdb.ada/bp_range_type/pck.adb | 21 + gdb/testsuite/gdb.ada/bp_range_type/pck.ads | 19 + .../{array_bounds.exp => set_pckd_arr_elt.exp} | 40 +- gdb/testsuite/gdb.ada/set_pckd_arr_elt/foo.adb | 22 + gdb/testsuite/gdb.ada/set_pckd_arr_elt/pck.adb | 21 + gdb/testsuite/gdb.ada/set_pckd_arr_elt/pck.ads | 22 + gdb/testsuite/gdb.base/annota1.exp | 2 +- gdb/testsuite/gdb.base/async-shell.exp | 4 +- .../gdb.base/attach-twice.c} | 44 +- gdb/testsuite/gdb.base/attach-twice.exp | 52 + gdb/testsuite/gdb.base/break.exp | 1 - gdb/testsuite/gdb.base/default.exp | 4 - .../gdb.base/enum_cond.c} | 42 +- gdb/testsuite/gdb.base/enum_cond.exp | 44 + gdb/testsuite/gdb.base/gdb_history | 2 - gdb/testsuite/gdb.base/hbreak2.exp | 1 - gdb/testsuite/gdb.base/help.exp | 4 - gdb/testsuite/gdb.base/sepdebug.exp | 1 - gdb/testsuite/gdb.base/setshow.exp | 4 - gdb/testsuite/gdb.cp/casts.exp | 2 +- gdb/testsuite/gdb.cp/inherit.exp | 4 +- gdb/testsuite/gdb.cp/mb-templates.exp | 37 +- gdb/testsuite/gdb.cp/member-ptr.exp | 4 +- gdb/testsuite/gdb.cp/pr9631.exp | 2 +- gdb/testsuite/gdb.cp/virtbase.exp | 2 +- gdb/testsuite/gdb.cp/virtfunc.cc | 1 + gdb/testsuite/gdb.cp/virtfunc.exp | 49 + gdb/testsuite/gdb.cp/virtfunc2.exp | 1 + gdb/testsuite/gdb.dwarf2/dw2-ada-ffffffff.S | 4 +- gdb/testsuite/gdb.dwarf2/dw2-bad-parameter-type.S | 10 +- gdb/testsuite/gdb.dwarf2/dw2-double-set-die-type.S | 98 +- gdb/testsuite/gdb.dwarf2/dw2-empty-pc-range.S | 4 +- gdb/testsuite/gdb.dwarf2/dw2-entry-value.S | 16 +- gdb/testsuite/gdb.dwarf2/dw2-inline-break.S | 1663 ++++++++++++++++++++ gdb/testsuite/gdb.dwarf2/dw2-inline-break.exp | 124 ++ gdb/testsuite/gdb.dwarf2/dw2-modula2-self-type.S | 18 +- gdb/testsuite/gdb.dwarf2/dw2-op-call.S | 17 + gdb/testsuite/gdb.dwarf2/dw2-param-error.S | 12 +- gdb/testsuite/gdb.dwarf2/dw2-skip-prologue.S | 12 +- gdb/testsuite/gdb.dwarf2/dw2-stack-boundary.S | 4 +- gdb/testsuite/gdb.dwarf2/dw4-sig-type-unused.S | 10 +- gdb/testsuite/gdb.dwarf2/implptr-optimized-out.S | 6 +- gdb/testsuite/gdb.dwarf2/member-ptr-forwardref.S | 76 +- gdb/testsuite/gdb.dwarf2/pr11465.S | 70 +- gdb/testsuite/gdb.mi/mi2-prompt.exp | 38 + gdb/testsuite/gdb.opt/inline-break.c | 159 ++ gdb/testsuite/gdb.opt/inline-break.exp | 114 ++ gdb/testsuite/gdb.python/py-infthread.exp | 2 - gdb/testsuite/gdb.reverse/solib-precsave.exp | 8 +- gdb/testsuite/gdb.trace/change-loc.exp | 71 +- gdb/testsuite/gdb.trace/pending.exp | 90 +- gdb/testsuite/lib/gdb.exp | 15 +- gdb/testsuite/lib/mi-support.exp | 3 +- gdb/tui/tui-win.c | 11 +- gdb/value.c | 13 +- gdb/value.h | 1 + gdb/version.in | 2 +- gdb/xcoffsolib.c | 2 + gdb/xtensa-linux-nat.c | 2 +- include/ChangeLog | 10 + include/dis-asm.h | 3 +- include/opcode/ChangeLog | 4 + include/opcode/ppc.h | 11 +- include/vms/ChangeLog | 4 + include/vms/lbr.h | 3 + libiberty/ChangeLog | 5 + libiberty/cp-demangle.c | 8 +- libiberty/testsuite/demangle-expected | 3 + opcodes/ChangeLog | 39 + opcodes/disassemble.c | 13 +- opcodes/ppc-dis.c | 148 ++- opcodes/ppc-opc.c | 112 ++- opcodes/s390-opc.txt | 2 +- sim/ppc/ChangeLog | 4 + sim/ppc/emul_unix.c | 5 + 222 files changed, 6325 insertions(+), 1407 deletions(-) create mode 100644 gdb/common/linux-ptrace.c create mode 100644 gdb/features/arm-with-m-fpa-layout.c create mode 100644 gdb/features/arm-with-m-fpa-layout.xml rename gdb/{libunwind-frame.c => ia64-libunwind-tdep.c} (98%) rename gdb/{libunwind-frame.h => ia64-libunwind-tdep.h} (85%) rename gdb/{ => stubs}/i386-stub.c (100%) rename gdb/{ => stubs}/m32r-stub.c (100%) rename gdb/{ => stubs}/m68k-stub.c (100%) rename gdb/{ => stubs}/sh-stub.c (100%) rename gdb/{ => stubs}/sparc-stub.c (100%) copy gdb/testsuite/gdb.ada/{array_bounds.exp => bp_range_type.exp} (61%) create mode 100644 gdb/testsuite/gdb.ada/bp_range_type/foo.adb create mode 100644 gdb/testsuite/gdb.ada/bp_range_type/pck.adb create mode 100644 gdb/testsuite/gdb.ada/bp_range_type/pck.ads copy gdb/testsuite/gdb.ada/{array_bounds.exp => set_pckd_arr_elt.exp} (51%) create mode 100644 gdb/testsuite/gdb.ada/set_pckd_arr_elt/foo.adb create mode 100644 gdb/testsuite/gdb.ada/set_pckd_arr_elt/pck.adb create mode 100644 gdb/testsuite/gdb.ada/set_pckd_arr_elt/pck.ads copy gdb/{common/linux-procfs.h => testsuite/gdb.base/attach-twice.c} (55%) create mode 100644 gdb/testsuite/gdb.base/attach-twice.exp copy gdb/{common/linux-procfs.h => testsuite/gdb.base/enum_cond.c} (54%) create mode 100644 gdb/testsuite/gdb.base/enum_cond.exp create mode 100644 gdb/testsuite/gdb.dwarf2/dw2-inline-break.S create mode 100644 gdb/testsuite/gdb.dwarf2/dw2-inline-break.exp create mode 100644 gdb/testsuite/gdb.mi/mi2-prompt.exp create mode 100644 gdb/testsuite/gdb.opt/inline-break.c create mode 100644 gdb/testsuite/gdb.opt/inline-break.exp First 500 lines of diff: diff --git a/COPYING.LIBGLOSS b/COPYING.LIBGLOSS index ed6c0a0..0e1c65a 100644 --- a/COPYING.LIBGLOSS +++ b/COPYING.LIBGLOSS @@ -51,7 +51,7 @@ OF SUCH DAMAGE. Copyright (C) 1993 DJ Delorie All rights reserved. -Redistribution and use in source and binary forms is permitted +Redistribution, modification, and use in source and binary forms is permitted provided that the above copyright notice and following paragraph are duplicated in all such forms. diff --git a/COPYING.NEWLIB b/COPYING.NEWLIB index d3a767a..6849eb5 100644 --- a/COPYING.NEWLIB +++ b/COPYING.NEWLIB @@ -117,18 +117,9 @@ Mail Stop 573 Austin, TX 78741 800-292-9263 -(5) C.W. Sandmann +(5) -Copyright (C) 1993 C.W. Sandmann - -This file may be freely distributed as long as the author's name remains. - -(6) Eric Backus - -(C) Copyright 1992 Eric Backus - -This software may be used freely so long as this copyright notice is -left intact. There is no warrantee on this software. +(6) (7) Sun Microsystems @@ -416,7 +407,7 @@ ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. Copyright (C) 1991 DJ Delorie All rights reserved. -Redistribution and use in source and binary forms is permitted +Redistribution, modification, and use in source and binary forms is permitted provided that the above copyright notice and following paragraph are duplicated in all such forms. diff --git a/ChangeLog b/ChangeLog index 572f968..cff1dfb 100644 --- a/ChangeLog +++ b/ChangeLog @@ -1,3 +1,27 @@ +2012-03-14 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE> + + * configure.ac (enable_libgomp): Remove *-*-irix6*. + (unsupported_languages): Remove mips-sgi-irix6.*. + (noconfigdirs): Don't add ${libgcj} for mips*-*-irix6*. + (with_stabs): Remove. + * configure: Regenerate. + +2012-03-12 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE> + + * configure.ac (enable_libgomp): Remove *-*-osf*. + (with_stabs): Remove alpha*-*-osf*. + * configure: Regenerate. + +2012-03-09 Jeff Johnston <jjohnstn@redhat.com> + + * COPYING.NEWLIB: Modify DJ Delorie license to include + modification rights in clause as permitted by DJ Delorie. + * COPYING.LIBGLOSS: Ditto. + +2012-03-09 Jeff Johnston <jjohnstn@redhat.com> + + * COPYING.NEWLIB: Remove two unused licenses. + 2012-03-05 Tristan Gingold <gingold@adacore.com> * configure.ac: Enable gdb and readline for ia64*-*-*vms*. diff --git a/bfd/ChangeLog b/bfd/ChangeLog index ce08017..b9849f8 100644 --- a/bfd/ChangeLog +++ b/bfd/ChangeLog @@ -1,3 +1,89 @@ +2012-03-16 Roland McGrath <mcgrathr@google.com> + + * config.bfd: Handle x86_64-*-nacl*. + * elf64-x86-64.c (bfd_elf64_x86_64_nacl_vec): New backend vector stanza. + (bfd_elf32_x86_64_nacl_vec): Likewise. + * targets.c: Support them. + * configure.in: Likewise. + * configure: Regenerated. + +2012-03-16 Matthew Gretton-Dann <matthew.gretton-dann@arm.com> + + * elf32-arm.c (elf32_arm_attributes_accept_div): New function. + (elf32_arm_attributes_forbid_div): Likewise. + (elf32_arm_merge_eabi_attributes): Correct handling of + Tag_DIV_use. + +2012-03-15 Roland McGrath <mcgrathr@google.com> + + * elf64-x86-64.c (elf_x86_64_create_dynamic_sections): Use + elf_x86_64_backend_data parameters for plt_eh_frame. + + * elf64-x86-64.c (struct elf_x86_64_backend_data): New type. + (get_elf_x86_64_backend_data, GET_PLT_ENTRY_SIZE): New macros. + (elf_x86_64_arch_bed): New variable. + (elf_backend_arch_data): New macro. + (elf_x86_64_adjust_dynamic_symbol): Use GET_PLT_ENTRY_SIZE. + (elf_x86_64_allocate_dynrelocs): Likewise. + (elf_x86_64_relocate_section): Likewise. + (elf_x86_64_plt_sym_val): Likewise. + (elf_x86_64_finish_dynamic_symbol): Use elf_x86_64_backend_data + parameters for PLT details. + (elf_x86_64_finish_dynamic_sections): Likewise. + +2012-03-14 Roland McGrath <mcgrathr@google.com> + + * elf32-i386.c (elf_i386_nacl_pic_plt0_entry): Initialize up + to the full size, padding out with nop instructions. + +2012-03-12 Alan Modra <amodra@gmail.com> + + * elf-m10300.c (_bfd_mn10300_elf_adjust_dynamic_symbol): Don't warn + on zero size dynbss symbol. + * elf32-arm.c (elf32_arm_adjust_dynamic_symbol): Likewise. + * elf32-cr16.c (_bfd_cr16_elf_adjust_dynamic_symbol): Likewise. + * elf32-cris.c (elf_cris_adjust_dynamic_symbol): Likewise. + * elf32-hppa.c (elf32_hppa_adjust_dynamic_symbol): Likewise. + * elf32-i370.c (i370_elf_adjust_dynamic_symbol): Likewise. + * elf32-i386.c (elf_i386_adjust_dynamic_symbol): Likewise. + * elf32-lm32.c (lm32_elf_adjust_dynamic_symbol): Likewise. + * elf32-m32r.c (m32r_elf_adjust_dynamic_symbol): Likewise. + * elf32-m68k.c (elf_m68k_adjust_dynamic_symbol): Likewise. + * elf32-ppc.c (ppc_elf_adjust_dynamic_symbol): Likewise. + * elf32-s390.c (elf_s390_adjust_dynamic_symbol): Likewise. + * elf32-sh.c (sh_elf_adjust_dynamic_symbol): Likewise. + * elf32-tic6x.c (elf32_tic6x_adjust_dynamic_symbol): Likewise. + * elf32-tilepro.c (tilepro_elf_adjust_dynamic_symbol): Likewise. + * elf32-vax.c (elf_vax_adjust_dynamic_symbol): Likewise. + * elf64-ppc.c (ppc64_elf_adjust_dynamic_symbol): Likewise. + * elf64-s390.c (elf_s390_adjust_dynamic_symbol): Likewise. + * elf64-sh64.c (sh64_elf64_adjust_dynamic_symbol): Likewise. + * elf64-x86-64.c (elf_x86_64_adjust_dynamic_symbol): Likewise. + * elfxx-sparc.c (_bfd_sparc_elf_adjust_dynamic_symbol): Likewise. + * elfxx-tilegx.c (tilegx_elf_adjust_dynamic_symbol): Likewise. + +2012-03-10 Edmar Wienskoski <edmar@freescale.com> + + * archures.c: Add bfd_mach_ppc_e5500 and bfd_mach_ppc_e6500. + * bfd-in2.h: Regenerate. + * cpu-powerpc.c (bfd_powerpc_archs): Add entries for + bfd_mach_ppc_e5500 and bfd_mach_ppc_e6500. + +2012-03-09 H.J. Lu <hongjiu.lu@intel.com> + + PR ld/13817 + * bfd/elf32-i386.c (elf_i386_relocate_section): Restore + R_386_IRELATIVE. + + * * elf64-x86-64.c (elf_x86_64_relocate_section): Restore + R_X86_64_IRELATIVE. + +2012-03-08 Tristan Gingold <gingold@adacore.com> + + * vms-lib.c (_bfd_vms_lib_write_archive_contents): Set maximum + keylen according to archive kind. Set nextvbn and nextrfa lhd + fields. Add comments. + 2012-03-07 Nick Clifton <nickc@redhat.com> * elf-m10300.c (elf32_mn10300_link_hash_entry): Add tls_type diff --git a/bfd/archures.c b/bfd/archures.c index 92c4867..d38d806 100644 --- a/bfd/archures.c +++ b/bfd/archures.c @@ -1,7 +1,7 @@ /* BFD library support routines for architectures. Copyright 1990, 1991, 1992, 1993, 1994, 1995, 1996, 1997, 1998, 1999, - 2000, 2001, 2002, 2003, 2004, 2005, 2006, 2007, 2008, 2009, 2010, 2011 - Free Software Foundation, Inc. + 2000, 2001, 2002, 2003, 2004, 2005, 2006, 2007, 2008, 2009, 2010, 2011, + 2012 Free Software Foundation, Inc. Hacked by John Gilmore and Steve Chamberlain of Cygnus Support. This file is part of BFD, the Binary File Descriptor library. @@ -241,6 +241,8 @@ DESCRIPTION .#define bfd_mach_ppc_e500 500 .#define bfd_mach_ppc_e500mc 5001 .#define bfd_mach_ppc_e500mc64 5005 +.#define bfd_mach_ppc_e5500 5006 +.#define bfd_mach_ppc_e6500 5007 .#define bfd_mach_ppc_titan 83 . bfd_arch_rs6000, {* IBM RS/6000 *} .#define bfd_mach_rs6k 6000 diff --git a/bfd/bfd-in2.h b/bfd/bfd-in2.h index bb43860..bea3a05 100644 --- a/bfd/bfd-in2.h +++ b/bfd/bfd-in2.h @@ -1947,6 +1947,8 @@ enum bfd_architecture #define bfd_mach_ppc_e500 500 #define bfd_mach_ppc_e500mc 5001 #define bfd_mach_ppc_e500mc64 5005 +#define bfd_mach_ppc_e5500 5006 +#define bfd_mach_ppc_e6500 5007 #define bfd_mach_ppc_titan 83 bfd_arch_rs6000, /* IBM RS/6000 */ #define bfd_mach_rs6k 6000 diff --git a/bfd/config.bfd b/bfd/config.bfd index 2cf89ed..e84ba58 100644 --- a/bfd/config.bfd +++ b/bfd/config.bfd @@ -574,6 +574,7 @@ case "${targ}" in i[3-7]86-*-nacl*) targ_defvec=bfd_elf32_i386_nacl_vec targ_selvecs="bfd_elf32_i386_vec" + targ64_selvecs="bfd_elf64_x86_64_nacl_vec bfd_elf32_x86_64_nacl_vec" ;; #ifdef BFD64 x86_64-*-darwin*) @@ -612,6 +613,11 @@ case "${targ}" in targ_selvecs="bfd_elf32_i386_vec bfd_elf32_x86_64_vec i386linux_vec i386pei_vec x86_64pei_vec bfd_elf64_l1om_vec bfd_elf64_k1om_vec" want64=true ;; + x86_64-*-nacl*) + targ_defvec=bfd_elf32_x86_64_nacl_vec + targ_selvecs="bfd_elf32_i386_nacl_vec bfd_elf64_x86_64_nacl_vec" + want64=true + ;; x86_64-*-mingw* | x86_64-*-pe | x86_64-*-pep) targ_defvec=x86_64pe_vec targ_selvecs="x86_64pe_vec x86_64pei_vec bfd_elf64_x86_64_vec bfd_elf64_l1om_vec bfd_elf64_k1om_vec i386pe_vec i386pei_vec bfd_elf32_i386_vec" diff --git a/bfd/configure b/bfd/configure index dc2a63c..cff9b26 100755 --- a/bfd/configure +++ b/bfd/configure @@ -15349,9 +15349,11 @@ do bfd_elf64_tradlittlemips_vec | bfd_elf64_tradlittlemips_freebsd_vec) tb="$tb elf64-mips.lo elf64.lo elfxx-mips.lo elf-vxworks.lo elf32.lo $elf ecofflink.lo"; target_size=64 ;; bfd_elf64_x86_64_freebsd_vec) tb="$tb elf64-x86-64.lo elf-ifunc.lo elf64.lo $elf"; target_size=64 ;; + bfd_elf64_x86_64_nacl_vec) tb="$tb elf64-x86-64.lo elf-ifunc.lo elf64.lo $elf"; target_size=64 ;; bfd_elf64_x86_64_sol2_vec) tb="$tb elf64-x86-64.lo elf-ifunc.lo elf64.lo $elf"; target_size=64 ;; bfd_elf64_x86_64_vec) tb="$tb elf64-x86-64.lo elf-ifunc.lo elf64.lo $elf"; target_size=64 ;; bfd_elf32_x86_64_vec) tb="$tb elf64-x86-64.lo elf-ifunc.lo elf64.lo elf32.lo $elf"; target_size=64 ;; + bfd_elf32_x86_64_nacl_vec) tb="$tb elf64-x86-64.lo elf-ifunc.lo elf64.lo elf32.lo $elf"; target_size=64 ;; bfd_elf64_l1om_vec) tb="$tb elf64-x86-64.lo elf-ifunc.lo elf64.lo $elf"; target_size=64 ;; bfd_elf64_l1om_freebsd_vec) tb="$tb elf64-x86-64.lo elf-ifunc.lo elf64.lo $elf"; target_size=64 ;; bfd_elf64_k1om_vec) tb="$tb elf64-x86-64.lo elf-ifunc.lo elf64.lo $elf"; target_size=64 ;; @@ -18750,4 +18752,3 @@ if test -n "$ac_unrecognized_opts" && test "$enable_option_checking" != no; then $as_echo "$as_me: WARNING: unrecognized options: $ac_unrecognized_opts" >&2;} fi - diff --git a/bfd/configure.in b/bfd/configure.in index d6f3fe3..c40c825 100644 --- a/bfd/configure.in +++ b/bfd/configure.in @@ -109,7 +109,7 @@ if test $want_elf_stt_common = true; then AC_DEFINE(USE_STT_COMMON, 1, [Define if we may generate symbols with ELF's STT_COMMON type]) fi - + ACX_PKGVERSION([GNU Binutils]) ACX_BUGURL([http://www.sourceware.org/bugzilla/]) @@ -684,9 +684,9 @@ do bfd_elf32_big_generic_vec) tb="$tb elf32-gen.lo elf32.lo $elf" ;; bfd_elf32_bigarc_vec) tb="$tb elf32-arc.lo elf32.lo $elf" ;; bfd_elf32_bigarm_vec) tb="$tb elf32-arm.lo elf32.lo elf-vxworks.lo $elf" ;; - bfd_elf32_bigarm_symbian_vec) + bfd_elf32_bigarm_symbian_vec) tb="$tb elf32-arm.lo elf32.lo elf-vxworks.lo $elf" ;; - bfd_elf32_bigarm_vxworks_vec) + bfd_elf32_bigarm_vxworks_vec) tb="$tb elf32-arm.lo elf32.lo elf-vxworks.lo $elf" ;; bfd_elf32_bigmips_vec) tb="$tb elf32-mips.lo elfxx-mips.lo elf-vxworks.lo elf32.lo $elf ecofflink.lo" ;; bfd_elf32_bigmips_vxworks_vec) @@ -694,7 +694,7 @@ do bfd_elf32_cr16_vec) tb="$tb elf32-cr16.lo elf32.lo $elf" ;; bfd_elf32_cr16c_vec) tb="$tb elf32-cr16c.lo elf32.lo $elf" ;; bfd_elf32_cris_vec) tb="$tb elf32-cris.lo elf32.lo $elf" ;; - bfd_elf32_crx_vec) tb="$tb elf32-crx.lo elf32.lo $elf" ;; + bfd_elf32_crx_vec) tb="$tb elf32-crx.lo elf32.lo $elf" ;; bfd_elf32_d10v_vec) tb="$tb elf32-d10v.lo elf32.lo $elf" ;; bfd_elf32_d30v_vec) tb="$tb elf32-d30v.lo elf32.lo $elf" ;; bfd_elf32_dlx_big_vec) tb="$tb elf32-dlx.lo elf32.lo $elf" ;; @@ -848,9 +848,11 @@ do bfd_elf64_tradlittlemips_vec | bfd_elf64_tradlittlemips_freebsd_vec) tb="$tb elf64-mips.lo elf64.lo elfxx-mips.lo elf-vxworks.lo elf32.lo $elf ecofflink.lo"; target_size=64 ;; bfd_elf64_x86_64_freebsd_vec) tb="$tb elf64-x86-64.lo elf-ifunc.lo elf64.lo $elf"; target_size=64 ;; + bfd_elf64_x86_64_nacl_vec) tb="$tb elf64-x86-64.lo elf-ifunc.lo elf64.lo $elf"; target_size=64 ;; bfd_elf64_x86_64_sol2_vec) tb="$tb elf64-x86-64.lo elf-ifunc.lo elf64.lo $elf"; target_size=64 ;; bfd_elf64_x86_64_vec) tb="$tb elf64-x86-64.lo elf-ifunc.lo elf64.lo $elf"; target_size=64 ;; bfd_elf32_x86_64_vec) tb="$tb elf64-x86-64.lo elf-ifunc.lo elf64.lo elf32.lo $elf"; target_size=64 ;; + bfd_elf32_x86_64_nacl_vec) tb="$tb elf64-x86-64.lo elf-ifunc.lo elf64.lo elf32.lo $elf"; target_size=64 ;; bfd_elf64_l1om_vec) tb="$tb elf64-x86-64.lo elf-ifunc.lo elf64.lo $elf"; target_size=64 ;; bfd_elf64_l1om_freebsd_vec) tb="$tb elf64-x86-64.lo elf-ifunc.lo elf64.lo $elf"; target_size=64 ;; bfd_elf64_k1om_vec) tb="$tb elf64-x86-64.lo elf-ifunc.lo elf64.lo $elf"; target_size=64 ;; @@ -1150,4 +1152,3 @@ AC_SUBST(htmldir) AC_SUBST(pdfdir) AC_OUTPUT - diff --git a/bfd/cpu-powerpc.c b/bfd/cpu-powerpc.c index 6a652b2..19604c3 100644 --- a/bfd/cpu-powerpc.c +++ b/bfd/cpu-powerpc.c @@ -1,6 +1,6 @@ /* BFD PowerPC CPU definition - Copyright 1994, 1995, 1996, 2000, 2001, 2002, 2003, 2005, 2007, 2008, 2010 - Free Software Foundation, Inc. + Copyright 1994, 1995, 1996, 2000, 2001, 2002, 2003, 2005, 2007, 2008, + 2010, 2012 Free Software Foundation, Inc. Contributed by Ian Lance Taylor, Cygnus Support. This file is part of BFD, the Binary File Descriptor library. @@ -373,6 +373,36 @@ const bfd_arch_info_type bfd_powerpc_archs[] = powerpc_compatible, bfd_default_scan, bfd_arch_default_fill, + &bfd_powerpc_archs[19] + }, + { + 64, /* 64 bits in a word */ + 64, /* 64 bits in an address */ + 8, /* 8 bits in a byte */ + bfd_arch_powerpc, + bfd_mach_ppc_e5500, + "powerpc", + "powerpc:e5500", + 3, + FALSE, /* not the default */ + powerpc_compatible, + bfd_default_scan, + bfd_arch_default_fill, + &bfd_powerpc_archs[20] + }, + { + 64, /* 64 bits in a word */ + 64, /* 64 bits in an address */ + 8, /* 8 bits in a byte */ + bfd_arch_powerpc, + bfd_mach_ppc_e6500, + "powerpc", + "powerpc:e6500", + 3, + FALSE, /* not the default */ + powerpc_compatible, + bfd_default_scan, + bfd_arch_default_fill, 0 } }; diff --git a/bfd/elf-m10300.c b/bfd/elf-m10300.c index d5e183d..428de4c 100644 --- a/bfd/elf-m10300.c +++ b/bfd/elf-m10300.c @@ -1,6 +1,6 @@ /* Matsushita 10300 specific support for 32-bit ELF Copyright 1996, 1997, 1998, 1999, 2000, 2001, 2002, 2003, 2004, 2005, - 2006, 2007, 2008, 2009, 2010, 2011 Free Software Foundation, Inc. + 2006, 2007, 2008, 2009, 2010, 2011, 2012 Free Software Foundation, Inc. This file is part of BFD, the Binary File Descriptor library. @@ -5023,13 +5023,6 @@ _bfd_mn10300_elf_adjust_dynamic_symbol (struct bfd_link_info * info, if (!h->non_got_ref) return TRUE; - if (h->size == 0) - { - (*_bfd_error_handler) (_("dynamic variable `%s' is zero size"), - h->root.root.string); - return TRUE; - } - /* We must allocate the symbol in our .dynbss section, which will become part of the .bss section of the executable. There will be an entry for this symbol in the .dynsym section. The dynamic @@ -5047,7 +5040,7 @@ _bfd_mn10300_elf_adjust_dynamic_symbol (struct bfd_link_info * info, copy the initial value out of the dynamic object and into the runtime process image. We need to remember the offset into the .rela.bss section we are going to use. */ - if ((h->root.u.def.section->flags & SEC_ALLOC) != 0) + if ((h->root.u.def.section->flags & SEC_ALLOC) != 0 && h->size != 0) { asection * srel; diff --git a/bfd/elf32-arm.c b/bfd/elf32-arm.c index 62a0b8d..8721f94 100644 --- a/bfd/elf32-arm.c +++ b/bfd/elf32-arm.c @@ -1,6 +1,6 @@ /* 32-bit ELF support for ARM Copyright 1998, 1999, 2000, 2001, 2002, 2003, 2004, 2005, 2006, 2007, - 2008, 2009, 2010, 2011 Free Software Foundation, Inc. + 2008, 2009, 2010, 2011, 2012 Free Software Foundation, Inc. This file is part of BFD, the Binary File Descriptor library. @@ -11268,6 +11268,46 @@ tag_cpu_arch_combine (bfd *ibfd, int oldtag, int *secondary_compat_out, #undef T } +/* Query attributes object to see if integer divide instructions may be + present in an object. */ +static bfd_boolean +elf32_arm_attributes_accept_div (const obj_attribute *attr) +{ + int arch = attr[Tag_CPU_arch].i; + int profile = attr[Tag_CPU_arch_profile].i; + + switch (attr[Tag_DIV_use].i) + { + case 0: + /* Integer divide allowed if instruction contained in archetecture. */ + if (arch == TAG_CPU_ARCH_V7 && (profile == 'R' || profile == 'M')) + return TRUE; + else if (arch >= TAG_CPU_ARCH_V7E_M) + return TRUE; + else + return FALSE; + + case 1: + /* Integer divide explicitly prohibited. */ + return FALSE; + + default: + /* Unrecognised case - treat as allowing divide everywhere. */ + case 2: + /* Integer divide allowed in ARM state. */ + return TRUE; + } +} + +/* Query attributes object to see if integer divide instructions are + forbidden to be in the object. This is not the inverse of + elf32_arm_attributes_accept_div. */ +static bfd_boolean +elf32_arm_attributes_forbid_div (const obj_attribute *attr) +{ + return attr[Tag_DIV_use].i == 1; +} + /* Merge EABI object attributes from IBFD into OBFD. Raise an error if there are conflicting attributes. */ @@ -11709,29 +11749,22 @@ elf32_arm_merge_eabi_attributes (bfd *ibfd, bfd *obfd) break; case Tag_DIV_use: - /* This tag is set to zero if we can use UDIV and SDIV in Thumb - mode on a v7-M or v7-R CPU; to one if we can not use UDIV or - SDIV at all; and to two if we can use UDIV or SDIV on a v7-A - CPU. We will merge as follows: If the input attribute's value - is one then the output attribute's value remains unchanged. If - the input attribute's value is zero or two then if the output - attribute's value is one the output value is set to the input - value, otherwise the output value must be the same as the - inputs. */ - if (in_attr[i].i != 1 && out_attr[i].i != 1) - { - if (in_attr[i].i != out_attr[i].i) - { - _bfd_error_handler - (_("DIV usage mismatch between %B and %B"), - ibfd, obfd); - result = FALSE; - } - } - - if (in_attr[i].i != 1) - out_attr[i].i = in_attr[i].i; - + /* A value of zero on input means that the divide instruction may + be used if available in the base architecture as specified via + Tag_CPU_arch and Tag_CPU_arch_profile. A value of 1 means that + the user did not want divide instructions. A value of 2 + explicitly means that divide instructions were allowed in ARM + and Thumb state. */ + if (in_attr[i].i == out_attr[i].i) + /* Do nothing. */ ; + else if (elf32_arm_attributes_forbid_div (in_attr) + && !elf32_arm_attributes_accept_div (out_attr)) + out_attr[i].i = 1; + else if (elf32_arm_attributes_forbid_div (out_attr) + && elf32_arm_attributes_accept_div (in_attr)) + out_attr[i].i = in_attr[i].i; + else if (in_attr[i].i == 2) + out_attr[i].i = in_attr[i].i; break; case Tag_MPextension_use_legacy: @@ -12846,13 +12879,6 @@ elf32_arm_adjust_dynamic_symbol (struct bfd_link_info * info, if (info->shared || globals->root.is_relocatable_executable) return TRUE; - if (h->size == 0) hooks/post-receive -- Repository for Project Archer.
next reply other threads:[~2012-03-17 5:42 UTC|newest] Thread overview: 4+ messages / expand[flat|nested] mbox.gz Atom feed top 2012-03-17 5:42 jkratoch [this message] -- strict thread matches above, loose matches on Subject: below -- 2012-03-29 5:49 jkratoch 2012-03-04 20:15 jkratoch 2012-01-29 23:02 jkratoch
Reply instructions: You may reply publicly to this message via plain-text email using any one of the following methods: * Save the following mbox file, import it into your mail client, and reply-to-all from there: mbox Avoid top-posting and favor interleaved quoting: https://en.wikipedia.org/wiki/Posting_style#Interleaved_style * Reply using the --to, --cc, and --in-reply-to switches of git-send-email(1): git send-email \ --in-reply-to=20120317054153.25171.qmail@sourceware.org \ --to=jkratoch@sourceware.org \ --cc=archer-commits@sourceware.org \ /path/to/YOUR_REPLY https://kernel.org/pub/software/scm/git/docs/git-send-email.html * If your mail client supports setting the In-Reply-To header via mailto: links, try the mailto: linkBe sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions for how to clone and mirror all data and code used for this inbox; as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).