public inbox for archer-commits@sourceware.org
help / color / mirror / Atom feed
* [SCM]  archer-jankratochvil-autoload: Merge branch 'x-pathvec0-1-secmove-misc2-safepath-debug-warn' into x-pathvec0-1-secmove-misc2-safepath-debug-warn-warnlocal
@ 2012-04-17 15:57 jkratoch
  0 siblings, 0 replies; 2+ messages in thread
From: jkratoch @ 2012-04-17 15:57 UTC (permalink / raw)
  To: archer-commits

The branch, archer-jankratochvil-autoload has been updated
       via  1b9ddccb5cf8f411848e756876b97acbe87971f6 (commit)
       via  7a13c6ed112159f7c0f10808016f0670a729bea6 (commit)
       via  bc8a378bfc2641cc0ae162c29a94b02c77ec087c (commit)
       via  afe10a50f8f4bc389823696fb3b4f51d1dd02a88 (commit)
       via  a9f019cb4e212c98022e4199b1610722cfbd8ce8 (commit)
       via  327113a3678c53a33449ba656f0b1f289224779b (commit)
       via  1e85da0d3d5cef7e5c03f274bc29bef60f906bc1 (commit)
       via  e0ae2d5cd3851da6f7c8f34ba7d78297b18938ff (commit)
       via  38de72c623eb30f1899e9646de647978af76f0b9 (commit)
       via  fdc9cbc972f1903aab4b4fd5c2e2091926c74a1e (commit)
       via  0cd0446a52975f2a0db8e0c4381bdb162fd5dceb (commit)
       via  b459d825daa93fa5d5d8f958fbb25dc3ca61c71b (commit)
       via  147553516266424336f21e37692b8fb2fff53c22 (commit)
       via  0b1eb47f56a5b020234745785c1fe344993bc082 (commit)
       via  9016a8bc1ad540e8dc3fa2b920e8deb111f894ed (commit)
       via  a61310a8da48fd0d5359a18baeffb1551ecbe43c (commit)
       via  dca8c56e347bb54d684f1f01242ea68846d9fee0 (commit)
       via  3d0f869a6ca2403da7b86a84a950b5aba7276e3a (commit)
       via  52f11d611cebf62a4d86b6ea5960f127fce2bf2e (commit)
       via  55104b5a62c397309d1cfc5b71220a2c41daed17 (commit)
       via  b0125a37071fec40a2e7c5ee244fa9f4c1edf215 (commit)
       via  5cdd65d24d60b8ae57cc5d13b3a67b9ea496e59b (commit)
       via  a5390e3a5e44fb3913138930da1d3b3f303b38a8 (commit)
       via  dd40bfcf6892134d25b62603084e764ccc11e0c5 (commit)
       via  6d303df02a3b64158c014e9e2296be6cf22aced7 (commit)
       via  6056bf891a1f565fb589d5d8f591e62b65058882 (commit)
       via  3712fb3df65b9aa4fa6c999eb5a56985fc1c068e (commit)
       via  5522f30ac7eb287aefa35a7540532f5e22132caf (commit)
       via  7413761f1c8e63f69d35968f2756a9028ef1d2af (commit)
       via  246d6fd2bf02a9df4e9e4e052faed2d6103a7e25 (commit)
       via  c6a2abf5b90bae0bd35619cb12e75a1731f35ba2 (commit)
       via  3fd2c5b6bb1c315022cbe99414b1e6672a7ed93b (commit)
       via  afe00b76d1c37d95eabf9daaffd1be57db577215 (commit)
       via  e2ecdef557cd3055843a5602b47d9c401f5cc5bc (commit)
       via  0832b2adf62c5279c3da15f7fc0a6455c85b3571 (commit)
       via  644b04427d4085e77bcb10d99c66857bc120c223 (commit)
       via  40546935db599b2a01cc94f1884c588946fc0364 (commit)
       via  1f772bc0f6835804a0f562a57ed589abdc6348b3 (commit)
       via  b083503149cb3f63b901b219de84a43bb2e94703 (commit)
       via  4ebbf274fde46d88b7f19704e3e2678be1862c71 (commit)
       via  29db280c3d4fd4920b54a28812ca9c77e69f34a9 (commit)
       via  aa9a4a6646d3e41d9905446285ea6d6692cab6a3 (commit)
       via  7b7d8343c26bef1d2424daee5e29859ac9cbbc39 (commit)
       via  80880bb2b0ea92f0b2ef1a9f41560c8e1533b479 (commit)
       via  f3dd19f1d57046fe84fa83d2043619a417b3ed47 (commit)
       via  ede932826641ed8f0608915f57701ce45a1e7fe2 (commit)
       via  946318a11fbc4e65b08adc318be5dce288713620 (commit)
       via  85ecc8be53683a760a5e998ec20b46f3c29bc1e9 (commit)
       via  cf8fdba6193a875eff9a59901c83179f235fbd11 (commit)
       via  c7802f96f1f3da9ec136361ee61008974d41e0f7 (commit)
       via  27f3c1724a28d082a4601e30ba56ade83e5c8f01 (commit)
       via  75efb10fe939e49578824d826015e07153aac86e (commit)
       via  6d13cc3bfd6b3f497ceb42639868b853c92ca73b (commit)
       via  3a1444ef9f1a1e2c6711cbbf330acfe5e921231f (commit)
       via  2653d338f24931a6b40658008dfa03b4670c4ed6 (commit)
       via  c37f38512fb72c845d52f779b69f4cd2446531dc (commit)
       via  8dcfdef29b12f9632fdb9dbbfb639312f3dbe8cd (commit)
       via  408b7710229a3e9dc3ba67a71a0e47c7fbb8f2b7 (commit)
       via  31a37791c5478f1cec1eea7906a11d5abb84a1b4 (commit)
       via  435e1517be448016cd7033582396590ce2eae147 (commit)
       via  189cafb94ee9c92a47a5164caf6cf7b7b36add46 (commit)
       via  b43ccd746df01a27ab368b819be83e9474078a3a (commit)
       via  ec6e45fec627bc96a6ccff56984018f5d8437650 (commit)
       via  62167df338cd1b9dbc4920694bc23b004aeacc32 (commit)
       via  74362f856f9048a0db743a4e1bc04ba5e10771b5 (commit)
       via  396860900b72f6c96a041add1f4ee3ca84d3fe68 (commit)
       via  74bed105a858403f75238bff60a210dbb80c37a3 (commit)
       via  3d5fe521853578ece9cd59f3c4fb19277d4bc200 (commit)
       via  35a4b72f7e93e1dfce7f4acbcdd14192742fb23e (commit)
       via  c4a171f98b4049699e7983413eaa0d9b7a9b92d3 (commit)
       via  95baaa94487a175b48495501a41405d1f1268d93 (commit)
       via  ed3dbaa1937553ee85c4699f64b59cc2ba75e84f (commit)
       via  b07db5295cfcd5d6233c820129675308040a8828 (commit)
       via  95e1db518e6a63bbb1754435b46588a10cafe449 (commit)
       via  3537dfc5c719c5dcafa14d0b055e6100fd6c6d6a (commit)
       via  99be09d078681bc5bee716a93c0ee1b1e05d4b96 (commit)
       via  0567b5f5e7b764e73a295887fb1a9d3c948dae7b (commit)
       via  8da22002688d645ec819af4883dbb0525f4be03a (commit)
       via  7d0a281e40d1cd28b0000830bd9d5a18e40f5f45 (commit)
       via  ba18e27c42c6baab0a90a19d2379292c6a459b91 (commit)
       via  9cbb8cd6add8994f0eb0123d9037f66eb62a84ed (commit)
       via  56d1f337a29fb11c61e7d4b886181618d7725db3 (commit)
       via  1e90e54821c3d5c188f1e57154e4910fc52dc312 (commit)
       via  23e3b84e063888f0b2b23b625b54fa0d214b0331 (commit)
       via  6eef21b44e41941b50896c15a68f51753ab8b21f (commit)
       via  62383a0b28edf21925d503b780515f2f7461efba (commit)
       via  904b1e91792c8c460f8c0c29509a04cb8e955225 (commit)
       via  85abc218aea323dcf87cf71f48e86388cfcb6c0d (commit)
       via  d4554722ac21482b71ace68131ac34696fd334f0 (commit)
       via  d2ac0fe1ff8eaac71c65e9c3e8ffe6920ea0b5b4 (commit)
       via  5d893c0190dfcba6c6c14233dae2b8ef02970f28 (commit)
       via  d2a610e69ecfd222da97c56c26a61a357b8bca6e (commit)
       via  23fb6ff04e76c4fedac2d303a821643bbcfb729f (commit)
       via  014d62fa7f6a2a296acd42c784377f2a4610e359 (commit)
       via  bb87b42b481a79dc37427b5b50d0a6680f73d4ca (commit)
       via  e519e7e8a11ac79900f84f8bdea3c790f2df02d1 (commit)
       via  ad07253f54e9778f2c6a6d1f3a233bf2ef090363 (commit)
       via  a62c8d49a36b5b5c884b3a7bbe4dc0617f5de89d (commit)
       via  3d58b67aaf7807c8677dc94af022a49a0d2f65d1 (commit)
       via  366ed0cd731e40684469ce15c945992cea623203 (commit)
       via  31d8302a68810b85315174aec832ae3ac1b3e1c9 (commit)
       via  7776007c421fd596fd54d789e893ed7c8fe401ef (commit)
       via  aaedd91cbe43e5d8ef89f7d68312eccd9d9ca0ff (commit)
       via  8ab28f25aa3521c6941d3b4be0258d64807ba174 (commit)
       via  915c214987398603f656badbe8db108695c883c0 (commit)
       via  705d0b5f490eb8444b7da19183c2dab6d678cee8 (commit)
       via  a76908c46c0dddfd66dc977a386f4d74112897ef (commit)
       via  4ba4e57cc4338557e651f1ae8171fd763d1caab7 (commit)
       via  add11f8d9864177b3c70efe28bb33f34017ca7f3 (commit)
       via  2ba87f0ca2e81a3e7fa16cd627a6b0c49c41c551 (commit)
       via  17d50b0c57e2a9bae689df508f097822a1ac4f24 (commit)
       via  957f392c496f428d10ab1bc21602f89938acf80d (commit)
       via  7ae28ed1ba37f8eb0df8a2aa3c2b79d06efc531f (commit)
       via  346d9e31de4ebdbf9f7300632253765268b2a346 (commit)
       via  3340cc81252947b013d24a3fbe01b88998063c94 (commit)
       via  3d5b32f8d5120cf8d059699f1c20e963cae5fdaa (commit)
       via  9357b45b2777b6666c1d1bf7bc6160a30b9e2af0 (commit)
       via  85910feca67928dafc00880cfbbec76889a78d56 (commit)
       via  a88ce504e76240ca5e134f89f9ccb0a965399f37 (commit)
       via  e3b69961beda8956d22948f1dcef12724ecfba33 (commit)
       via  486763132d8e31770e316331f81343c2aa79d52a (commit)
       via  fe367806053d9120d6ac42138dbd7f5cbc2f8e21 (commit)
       via  3b98a57ded05174d316a1d31bfaab8ffacab3f80 (commit)
      from  77dcb826019c7bd1461a18751ae6574a5880d8d9 (commit)

Those revisions listed above that are new to this repository have
not appeared on any other notification email.

- Log -----------------------------------------------------------------
commit 1b9ddccb5cf8f411848e756876b97acbe87971f6
Merge: fdc9cbc 7a13c6e
Author: Jan Kratochvil <jan.kratochvil@redhat.com>
Date:   Tue Apr 17 17:40:54 2012 +0200

    Merge branch 'x-pathvec0-1-secmove-misc2-safepath-debug-warn' into x-pathvec0-1-secmove-misc2-safepath-debug-warn-warnlocal

commit 7a13c6ed112159f7c0f10808016f0670a729bea6
Merge: 0cd0446 bc8a378
Author: Jan Kratochvil <jan.kratochvil@redhat.com>
Date:   Tue Apr 17 17:40:54 2012 +0200

    Merge branch 'x-pathvec0-1-secmove-misc2-safepath-debug' into x-pathvec0-1-secmove-misc2-safepath-debug-warn

commit bc8a378bfc2641cc0ae162c29a94b02c77ec087c
Merge: b459d82 afe10a5
Author: Jan Kratochvil <jan.kratochvil@redhat.com>
Date:   Tue Apr 17 17:40:54 2012 +0200

    Merge branch 'x-pathvec0-1-secmove-misc2-safepath' into x-pathvec0-1-secmove-misc2-safepath-debug

commit afe10a50f8f4bc389823696fb3b4f51d1dd02a88
Merge: 1475535 a9f019c
Author: Jan Kratochvil <jan.kratochvil@redhat.com>
Date:   Tue Apr 17 17:40:53 2012 +0200

    Merge branch 'x-pathvec0-1-secmove-misc2' into x-pathvec0-1-secmove-misc2-safepath

commit a9f019cb4e212c98022e4199b1610722cfbd8ce8
Merge: 0b1eb47 327113a
Author: Jan Kratochvil <jan.kratochvil@redhat.com>
Date:   Tue Apr 17 17:40:53 2012 +0200

    Merge branch 'x-pathvec0-1-secmove' into x-pathvec0-1-secmove-misc2

commit 327113a3678c53a33449ba656f0b1f289224779b
Merge: 9016a8b 1e85da0
Author: Jan Kratochvil <jan.kratochvil@redhat.com>
Date:   Tue Apr 17 17:40:53 2012 +0200

    Merge branch 'x-pathvec0-1' into x-pathvec0-1-secmove

commit 1e85da0d3d5cef7e5c03f274bc29bef60f906bc1
Merge: a61310a e0ae2d5
Author: Jan Kratochvil <jan.kratochvil@redhat.com>
Date:   Tue Apr 17 17:40:53 2012 +0200

    Merge branch 'x-pathvec0' into x-pathvec0-1

commit e0ae2d5cd3851da6f7c8f34ba7d78297b18938ff
Merge: dca8c56 38de72c
Author: Jan Kratochvil <jan.kratochvil@redhat.com>
Date:   Tue Apr 17 17:40:53 2012 +0200

    Merge branch 'x' into x-pathvec0

commit 38de72c623eb30f1899e9646de647978af76f0b9
Merge: 52f11d6 3d0f869
Author: Jan Kratochvil <jan.kratochvil@redhat.com>
Date:   Tue Apr 17 17:40:52 2012 +0200

    Merge remote-tracking branch 'gdb/master' into x

commit fdc9cbc972f1903aab4b4fd5c2e2091926c74a1e
Merge: c4a171f 0cd0446
Author: Jan Kratochvil <jan.kratochvil@redhat.com>
Date:   Tue Apr 17 16:16:15 2012 +0200

    Merge branch 'x-pathvec0-1-secmove-misc2-safepath-debug-warn' into x-pathvec0-1-secmove-misc2-safepath-debug-warn-warnlocal

commit 0cd0446a52975f2a0db8e0c4381bdb162fd5dceb
Merge: 95baaa9 b459d82
Author: Jan Kratochvil <jan.kratochvil@redhat.com>
Date:   Tue Apr 17 16:16:14 2012 +0200

    Merge branch 'x-pathvec0-1-secmove-misc2-safepath-debug' into x-pathvec0-1-secmove-misc2-safepath-debug-warn

commit b459d825daa93fa5d5d8f958fbb25dc3ca61c71b
Merge: ed3dbaa 1475535
Author: Jan Kratochvil <jan.kratochvil@redhat.com>
Date:   Tue Apr 17 16:16:13 2012 +0200

    Merge branch 'x-pathvec0-1-secmove-misc2-safepath' into x-pathvec0-1-secmove-misc2-safepath-debug

commit 147553516266424336f21e37692b8fb2fff53c22
Merge: b07db52 0b1eb47
Author: Jan Kratochvil <jan.kratochvil@redhat.com>
Date:   Tue Apr 17 16:16:13 2012 +0200

    Merge branch 'x-pathvec0-1-secmove-misc2' into x-pathvec0-1-secmove-misc2-safepath

commit 0b1eb47f56a5b020234745785c1fe344993bc082
Merge: 95e1db5 9016a8b
Author: Jan Kratochvil <jan.kratochvil@redhat.com>
Date:   Tue Apr 17 16:16:09 2012 +0200

    Merge branch 'x-pathvec0-1-secmove' into x-pathvec0-1-secmove-misc2
    
    Conflicts:
    	gdb/NEWS

commit 9016a8bc1ad540e8dc3fa2b920e8deb111f894ed
Merge: 3537dfc a61310a
Author: Jan Kratochvil <jan.kratochvil@redhat.com>
Date:   Tue Apr 17 16:15:46 2012 +0200

    Merge branch 'x-pathvec0-1' into x-pathvec0-1-secmove

commit a61310a8da48fd0d5359a18baeffb1551ecbe43c
Merge: 99be09d dca8c56
Author: Jan Kratochvil <jan.kratochvil@redhat.com>
Date:   Tue Apr 17 16:15:46 2012 +0200

    Merge branch 'x-pathvec0' into x-pathvec0-1

commit dca8c56e347bb54d684f1f01242ea68846d9fee0
Merge: 0567b5f 52f11d6
Author: Jan Kratochvil <jan.kratochvil@redhat.com>
Date:   Tue Apr 17 16:15:45 2012 +0200

    Merge branch 'x' into x-pathvec0

commit 3d0f869a6ca2403da7b86a84a950b5aba7276e3a
Author: Pedro Alves <pedro@codesourcery.com>
Date:   Tue Apr 17 13:55:27 2012 +0000

    2012-04-17  Pedro Alves  <palves@redhat.com>
    
    	* gdbtypes.h (FIELD_BITPOS): Rename to ...
    	(FIELD_BITPOS_LVAL): ... this.
    	(FIELD_BITPOS): New.
    	(SET_FIELD_BITPOS): Adjust to use FIELD_BITPOS_LVAL.
    	* dwarf2read.c (dwarf2_add_field): Use SET_FIELD_BITPOS.
    	* gdbtypes.c (append_composite_type_field_aligned): Adjust to use
    	SET_FIELD_BITPOS.
    	* gnu-v3-abi.c (build_gdb_vtable_type): Adjust to use
    	SET_FIELD_BITPOS.
    	* stabsread.c (read_cpp_abbrev, read_one_struct_field)
    	(read_baseclasses): Adjust to use SET_FIELD_BITPOS.
    	* target-descriptions.c (tdesc_gdb_type): Adjust to use
    	SET_FIELD_BITPOS.

commit 52f11d611cebf62a4d86b6ea5960f127fce2bf2e
Merge: b0125a3 55104b5
Author: Jan Kratochvil <jan.kratochvil@redhat.com>
Date:   Tue Apr 17 15:32:15 2012 +0200

    Merge remote-tracking branch 'gdb/master' into x

commit 55104b5a62c397309d1cfc5b71220a2c41daed17
Author: Jan Kratochvil <jan.kratochvil@redhat.com>
Date:   Tue Apr 17 12:43:16 2012 +0000

    gdb/
    	Do not rely on FIELD_LOC_KIND_BITPOS being zero.
    	* ada-lang.c (ada_template_to_fixed_record_type_1): Replace
    	TYPE_FIELD_BITPOS used as lvalue by SET_FIELD_BITPOS.
    	* gdbtypes.c (append_flags_type_flag): Likewise, twice.
    	* jv-lang.c (java_link_class_type): Likewise, once.
    	* stabsread.c (read_enum_type): Likewise.

commit b0125a37071fec40a2e7c5ee244fa9f4c1edf215
Merge: 6056bf8 5cdd65d
Author: Jan Kratochvil <jan.kratochvil@redhat.com>
Date:   Tue Apr 17 13:49:45 2012 +0200

    Merge branch 'master' into x

commit 5cdd65d24d60b8ae57cc5d13b3a67b9ea496e59b
Author: Tristan Gingold <gingold@adacore.com>
Date:   Tue Apr 17 10:51:07 2012 +0000

    2012-04-17  Tristan Gingold  <gingold@adacore.com>
    
    	* vms-lib.c (_bfd_vms_lib_get_module): Append .obj extension to
    	member of an object archive.<

commit a5390e3a5e44fb3913138930da1d3b3f303b38a8
Author: Tristan Gingold <gingold@adacore.com>
Date:   Tue Apr 17 10:28:16 2012 +0000

    2012-04-17  Tristan Gingold  <gingold@adacore.com>
    
    	* vms-lib.c (MAX_EKEYLEN): Define.
    	(MAX_KEYLEN): Fix value.
    	(vms_write_index): Add comments and fix indentation.
    	Adjust comparaison.  Add assertions.  Free kbn_blk.
    	(_bfd_vms_lib_write_archive_contents): Use MAX_EKEYLEN.
    	Compense MAX_KEYLEN adjustment.

commit dd40bfcf6892134d25b62603084e764ccc11e0c5
Author: gdbadmin <gdbadmin@sourceware.org>
Date:   Tue Apr 17 00:00:33 2012 +0000

    *** empty log message ***

commit 6d303df02a3b64158c014e9e2296be6cf22aced7
Author: Alan Modra <amodra@bigpond.net.au>
Date:   Tue Apr 17 00:00:05 2012 +0000

    daily update

commit 6056bf891a1f565fb589d5d8f591e62b65058882
Merge: 644b044 5522f30
Author: Jan Kratochvil <jan.kratochvil@redhat.com>
Date:   Mon Apr 16 17:52:30 2012 +0200

    Merge branch 'master' into x

commit 3712fb3df65b9aa4fa6c999eb5a56985fc1c068e
Author: qiyao <qiyao>
Date:   Mon Apr 16 15:38:52 2012 +0000

    gdb/gdbserver/
    	* tracepoint.c (cmd_qtstart): Download tracepoints even when they are
    	duplicated on address.

commit 5522f30ac7eb287aefa35a7540532f5e22132caf
Author: Maciej W. Rozycki <macro@linux-mips.org>
Date:   Mon Apr 16 11:45:55 2012 +0000

    	* elfxx-mips.c (mips16_stub_symndx): Handle n64 compound relocs.
    	(_bfd_mips_elf_check_relocs): Update accordingly.

commit 7413761f1c8e63f69d35968f2756a9028ef1d2af
Author: qiyao <qiyao>
Date:   Mon Apr 16 11:29:07 2012 +0000

    gdb/testsuite/
    
    	* lib/trace-support.exp (get_in_proc_agent): New.
    	* gdb.trace/change-loc.exp: Call get_in_proc_agent to get the location
    	of in process trace agent.
    	* gdb.trace/ftrace.exp: Likewise.
    	* gdb.trace/pending.exp: Likewise.
    	* gdb.trace/trace-break.exp: Likewise.
    	* gdb.trace/trace-mt.exp
    	* gdb.trace/tspeed.exp: Likewise.
    	* gdb.trace/tstatus.exp
    	* gdb.trace/strace.exp: Likewise.

commit 246d6fd2bf02a9df4e9e4e052faed2d6103a7e25
Author: qiyao <qiyao>
Date:   Mon Apr 16 11:24:43 2012 +0000

    gdb/
    
    	* common/agent.c (agent_run_command): Add one more parameter `len'.
    	Update callers.
    	* common/agent.h: Update declaration.
    	* linux-nat.c (linux_child_static_tracepoint_markers_by_strid):
    	Update.
    	(linux_child_static_tracepoint_markers_by_strid): Ditto.
    
    gdb/gdbserver/
    
    	* tracepoint.c (COPY_FIELD_TO_BUF): New macro.
    	(struct tracepoint_action_ops) <send>: New field.
    	(m_tracepoint_action_send, r_tracepoint_action_send): New.
    	(agent_expr_send, x_tracepoint_action_send): New.
    	(l_tracepoint_action_send): New.
    	(cmd_qtdp): Download and install tracepoint
    	according to `use_agent'.
    	(run_inferior_command): Add one more parameter `len'.
    	Update callers.
    	(tracepoint_send_agent): New.
    	(cmd_qtdp, cmd_qtstart): Call tracepoint_send_agent.

commit c6a2abf5b90bae0bd35619cb12e75a1731f35ba2
Author: qiyao <qiyao>
Date:   Mon Apr 16 11:16:30 2012 +0000

    gdb/gdbserver/
    
    	* tracepoint.c (download_tracepoints): Moved to ...
    	(cmd_qtstart): ... here.

commit 3fd2c5b6bb1c315022cbe99414b1e6672a7ed93b
Author: tschwinge <tschwinge>
Date:   Mon Apr 16 08:02:09 2012 +0000

    gdb/testsuite/
    
    	* gdb.asm/sh.inc (gdbasm_startup): Only set up the stack pointer if the
    	symbol _stack is defined.  Get rid of a hard-coded constant for _stack.

commit afe00b76d1c37d95eabf9daaffd1be57db577215
Author: tschwinge <tschwinge>
Date:   Mon Apr 16 07:59:51 2012 +0000

    gdb/testsuite/
    
    	* gdb.asm/sh.inc (gdbasm_end) <.size>: Refer to the function's name.

commit e2ecdef557cd3055843a5602b47d9c401f5cc5bc
Author: gdbadmin <gdbadmin@sourceware.org>
Date:   Mon Apr 16 00:00:33 2012 +0000

    *** empty log message ***

commit 0832b2adf62c5279c3da15f7fc0a6455c85b3571
Author: Alan Modra <amodra@bigpond.net.au>
Date:   Mon Apr 16 00:00:04 2012 +0000

    daily update

commit 644b04427d4085e77bcb10d99c66857bc120c223
Author: Jan Kratochvil <jan.kratochvil@redhat.com>
Date:   Sun Apr 15 21:26:21 2012 +0200

    .

commit 40546935db599b2a01cc94f1884c588946fc0364
Author: gdbadmin <gdbadmin@sourceware.org>
Date:   Sun Apr 15 00:00:32 2012 +0000

    *** empty log message ***

commit 1f772bc0f6835804a0f562a57ed589abdc6348b3
Author: Alan Modra <amodra@bigpond.net.au>
Date:   Sun Apr 15 00:00:06 2012 +0000

    daily update

commit b083503149cb3f63b901b219de84a43bb2e94703
Author: xgsa <xgsa>
Date:   Sat Apr 14 12:18:41 2012 +0000

    gdb/doc/ChangeLog:
    
    2012-04-14  Anton Gorenkov <xgsa@yandex.ru>
    
    	PR mi/13393
    	* gdb.texinfo (Print Settings): Extend the description for "set print
    	object".
    	(GDB/MI Variable Objects): Extend the description for -var-create and
    	-var-list-children.
    
    
    gdb/testsuite/ChangeLog:
    
    2012-04-14  Anton Gorenkov <xgsa@yandex.ru>
    
    	PR mi/13393
    	* gdb.mi/mi-var-rtti.cc: New file.
    	* gdb.mi/mi-var-rtti.exp: New file.
    	* lib/mi-support.exp (mi_varobj_update_with_child_type_change): New
    	function.
    	(mi_varobj_update_with_type_change): updated to avoid code duplication.
    
    
    gdb/ChangeLog:
    
    2012-04-14  Anton Gorenkov <xgsa@yandex.ru>
    
    	PR mi/13393
    	* value.c (value_actual_type): New function.
    	* value.h (value_actual_type): New declaration.
    	* varobj.c (update_type_if_necessary): New function.
    	(varobj_create): Call value_actual_type instead of
    	value_type.
    	(install_dynamic_child): distinct changed and type changed MI variable
    	objects.
    	(update_dynamic_varobj_children): Updated for install_dynamic_child
    	change.  All callers updated.
    	(varobj_update): Support for MI variable object type change if
    	the value changed and RTTI is used to determine the type.
    	(create_child_with_value): Call value_actual_type instead of
    	value_type.
    	(adjust_value_for_child_access): Extended with a new parameter which
    	specify whether the given value should be casted to enclosing type.
    	All callers updated.

commit 4ebbf274fde46d88b7f19704e3e2678be1862c71
Author: qiyao <qiyao>
Date:   Sat Apr 14 05:36:24 2012 +0000

    gdb/gdbserver/
    	* tracepoint.c: Include inttypes.h.
    	(struct collect_memory_action): Use sized types.
    	(struct tracepoint): Likewise.
    	(cmd_qtdp, stop_tracing): Update print specifiers.
    	(cmd_qtp, response_tracepoint): Likewise.
    	(collect_data_at_tracepoint): Likewise.
    	(collect_data_at_step): Likewise.

commit 29db280c3d4fd4920b54a28812ca9c77e69f34a9
Author: qiyao <qiyao>
Date:   Sat Apr 14 05:24:52 2012 +0000

    gdb/
    	Import gnulib module inttypes from git
    	(250b80067c1e1d8faa0c42fb572f721975b929c5)
    	* Makefile.in (HFILES_NO_SRCDIR): Add gnulib/inttypes.in.h.
    	(aclocal_m4_deps): Add gnulib/m4/inttypes.m4 and gnulib/m4/inttypes-pri.m4
    	* aclocal.m4, config.in, configure: Regenerated.
    	* gnulib/Makefile.am: Update.
    	* gnulib/Makefile.in: Update.
    	* gnulib/m4/gnulib-cache.m4: Update.
    	* gnulib/m4/gnulib-comp.m4: Update.
    	* gnulib/inttypes.in.h: New.
    	* gnulib/m4/inttypes-pri.m4: New.
     	* gnulib/m4/inttypes.m4: New.
    
    gdb/gdbserver/
    	Import gnulib module inttypes.
    	* aclocal.m4, config.in, configure: Regenerated.

commit aa9a4a6646d3e41d9905446285ea6d6692cab6a3
Author: qiyao <qiyao>
Date:   Sat Apr 14 04:14:03 2012 +0000

    gdb/gdbserver/
    
    	* Makefile.in (maintainer-clean, realclean, distclean): Remove
    	Makefile and config.status at last.

commit 7b7d8343c26bef1d2424daee5e29859ac9cbbc39
Author: qiyao <qiyao>
Date:   Sat Apr 14 04:10:04 2012 +0000

    gdb/gdbserver/
    
    	* tracepoint.c: Include stdint.h unconditionally.

commit 80880bb2b0ea92f0b2ef1a9f41560c8e1533b479
Author: gdbadmin <gdbadmin@sourceware.org>
Date:   Sat Apr 14 00:00:33 2012 +0000

    *** empty log message ***

commit f3dd19f1d57046fe84fa83d2043619a417b3ed47
Author: Alan Modra <amodra@bigpond.net.au>
Date:   Sat Apr 14 00:00:05 2012 +0000

    daily update

commit ede932826641ed8f0608915f57701ce45a1e7fe2
Author: H.J. Lu <hjl.tools@gmail.com>
Date:   Fri Apr 13 23:19:58 2012 +0000

    Set reloc_count to 0 for reloc sections
    
    bfd/
    
    2012-04-13  Alan Modra  <amodra@gmail.com>
    
    	PR ld/13947
    	* elflink.c (bfd_elf_final_link): Set reloc_count to 0 for
    	reloc sections.
    
    ld/testsuite/
    
    2012-04-13  H.J. Lu  <hongjiu.lu@intel.com>
    
    	PR ld/13947
    	* ld-x86-64/x86-64.exp: Run pr13947.
    	* ld-x86-64/pr13947.d: New file.
    	* ld-x86-64/pr13947.s: Likewise.

commit 946318a11fbc4e65b08adc318be5dce288713620
Author: Luis Machado <luisgpm@br.ibm.com>
Date:   Fri Apr 13 20:46:34 2012 +0000

    2012-04-13  Luis Machado  <lgustavo@codesourcery.com>
    
    	* infrun.c (resume): Update PC address to the real PC after
    	preparing to do displaced stepping.

commit 85ecc8be53683a760a5e998ec20b46f3c29bc1e9
Author: Thiago Jung Bauermann <bauerman@br.ibm.com>
Date:   Fri Apr 13 19:56:05 2012 +0000

    	* acinclude.m4 (GDBSERVER_HAVE_THREAD_DB_TYPE): New macro based
    	on BFD_HAVE_SYS_PROCFS_TYPE.
    	* configure.ac: Look for lwpid_t and psaddr_t in libthread_db.h.
    	* configure: Regenerate.
    	* config.in: Likewise.

commit cf8fdba6193a875eff9a59901c83179f235fbd11
Author: H.J. Lu <hjl.tools@gmail.com>
Date:   Fri Apr 13 14:39:40 2012 +0000

    Enable x32 support in gdbserver
    
    	* Makefile.in (clean): Also remove x32.c x32-linux.c
    	x32-avx.c x32-avx-linux.c.
    	(x32.o): New target.
    	(x32.c): Likewise.
    	(x32-linux.o): Likewise.
    	(x32-linux.c): Likewise.
    	(x32-avx.o): Likewise.
    	(x32-avx.c): Likewise.
    	(x32-avx-linux.o): Likewise.
    	(x32-avx-linux.c): Likewise.
    
    	* configure.srv (srv_amd64_regobj): Add x32.o x32-avx.o.
    	(srv_amd64_linux_regobj): Add x32-linux.o x32-avx-linux.o.
    	(srv_i386_64bit_xmlfiles): Add i386/x32-core.xml.
    	(srv_amd64_xmlfiles): Add i386/x32.xml i386/x32-avx.xml.
    	(srv_amd64_linux_xmlfiles): Add i386/x32-linux.xml
    	i386/x32-avx-linux.xml.
    
    	* linux-x86-low.c (init_registers_x32_linux): New prototype.
    	(init_registers_x32_avx_linux): Likwise.
    	(x86_linux_update_xmltarget): Call init_registers_x32_linux
    	or init_registers_x32_avx_linux if linux_is_elf64 is false.

commit c7802f96f1f3da9ec136361ee61008974d41e0f7
Author: Pedro Alves <pedro@codesourcery.com>
Date:   Fri Apr 13 13:12:32 2012 +0000

    2012-04-13  Pedro Alves  <palves@redhat.com>
    
    	* Makefile.in (GNULIB_FLAGS_TO_PASS): New.
    	(FLAGS_TO_PASS): Don't change or set $top_srcdir, $srcdir and VPATH.
    	(all, uninstall, clean-info, all-lib, clean, maintainer-clean)
    	(realclean, distclean): Explicitly pass $GNULIB_FLAGS_TO_PASS to
    	the sub-make.

commit 27f3c1724a28d082a4601e30ba56ade83e5c8f01
Author: Doug Evans <dje@google.com>
Date:   Fri Apr 13 02:03:19 2012 +0000

    	* dwarf2read.c (lookup_signatured_type): Remove arg "objfile", unused.
    	All callers updated.

commit 75efb10fe939e49578824d826015e07153aac86e
Author: Alan Modra <amodra@bigpond.net.au>
Date:   Fri Apr 13 00:00:06 2012 +0000

    daily update

commit 6d13cc3bfd6b3f497ceb42639868b853c92ca73b
Author: gdbadmin <gdbadmin@sourceware.org>
Date:   Fri Apr 13 00:00:03 2012 +0000

    *** empty log message ***

commit 3a1444ef9f1a1e2c6711cbbf330acfe5e921231f
Author: H.J. Lu <hjl.tools@gmail.com>
Date:   Thu Apr 12 21:06:12 2012 +0000

    Convert siginfo for x32 in gdbserver
    
    	* linux-x86-low.c (compat_x32_clock_t): New.
    	(compat_x32_siginfo_t): Likewise.
    	(compat_x32_siginfo_from_siginfo): Likewise.
    	(siginfo_from_compat_x32_siginfo): Likewise.
    	(linux_is_elf64): Likewise.
    	(x86_siginfo_fixup): Call compat_x32_siginfo_from_siginfo
    	and siginfo_from_compat_x32_siginfo for x32.
    	(x86_arch_setup): Set linux_is_elf64.

commit 2653d338f24931a6b40658008dfa03b4670c4ed6
Author: David S. Miller <davem@redhat.com>
Date:   Thu Apr 12 16:25:54 2012 +0000

    Support R_SPARC_WDISP10 and R_SPARC_H34.
    
    include/
    
    	* elf/sparc.h (R_SPARC_WDISP10): New reloc.
    	* opcode/sparc.h: Define '=' as generating R_SPARC_WDISP10.
    
    opcodes/
    
    	* sparc-dis.c (X_DISP10): Define.
    	(print_insn_sparc): Handle '='.
    
    bfd/
    
    	* reloc.c (BFD_RELOC_SPARC_H34, BFD_RELOC_SPARC_SIZE32,
    	BFD_RELOC_SPARC_SIZE64, BFD_RELOC_SPARC_WDISP10): New relocs.
    	* libbfd.h: Regenerate.
    	* bfd-in2.h: Likewise.
    	* elfxx-sparc.c (sparc_elf_wdisp10_reloc): New function.
    	(_bfd_sparc_elf_howto_table): Add entries for R_SPARC_H34,
    	R_SPARC_SIZE32, R_SPARC_64, and R_SPARC_WDISP10.
    	(_bfd_sparc_elf_reloc_type_lookup): Handle new relocs.
    	(_bfd_sparc_elf_check_relocs): Likewise.
    	(_bfd_sparc_elf_gc_sweep_hook): Likewise.
    	(_bfd_sparc_elf_relocate_section): Likewise.
    
    gas/
    
    	* config/tc-sparc.c (sparc_ip): Handle '=', "%h34", "%l34", and
    	BFD_RELOC_SPARC_H34.
    	(md_apply_fix): Handle BFD_RELOC_SPARC_WDISP10 and BFD_RELOC_SPARC_H34.
    	(tc_gen_reloc): Likewise.
    
    gas/testsuite/
    
    	* gas/sparc/reloc64.s: Add abs34 code model tests.
    	* gas/sparc/reloc64.d: Update.
    
    elfcpp/
    
    	* sparc.h (R_SPARC_WDISP10): New relocation.
    
    gold/
    
    	* sparc.cc (Reloc::wdisp10): New relocation method.
    	(Reloc::h34): Likewise.
    	(Target_sparc::Scan::check_non_pic): Handle R_SPARC_H34.
    	(Target_sparc::Scan::get_reference_flags): Handle R_SPARC_H34 and
    	R_SPARC_WDISP10.
    	(Target_sparc::Scan::local): Likewise.
    	(Target_sparc::Scan::global): Likewise.
    	(Target_sparc::Relocate::relocate): Likewise.

commit c37f38512fb72c845d52f779b69f4cd2446531dc
Author: H.J. Lu <hjl.tools@gmail.com>
Date:   Thu Apr 12 15:35:32 2012 +0000

    Check if GDBserver is compatible with process
    
    	PR gdb/13969
    	* linux-low.c (linux_pid_exe_is_elf_64_file): Also return the
    	e_machine field.
    	(linux_qxfer_libraries_svr4): Update call to elf_64_file_p.
    	* linux-low.h (linux_pid_exe_is_elf_64_file): Updated.
    	* linux-x86-low.c (x86_arch_setup): Check if GDBserver is
    	compatible with process.

commit 8dcfdef29b12f9632fdb9dbbfb639312f3dbe8cd
Author: Nick Clifton <nickc@redhat.com>
Date:   Thu Apr 12 13:01:11 2012 +0000

    	* elf32-arm.c (elf32_arm_nacl_plt0_entry, elf32_arm_nacl_plt_entry):
    	New variables.
    	(struct elf32_arm_link_hash_table): New member `nacl_p'.
    	(elf32_arm_link_hash_table_create): Initialize it.
    	(elf32_arm_nacl_link_hash_table_create): New function.
    	(arm_movw_immediate, arm_movt_immediate): New functions.
    	(elf32_arm_populate_plt_entry): Test HTAB->nacl_p.
    	(elf32_arm_finish_dynamic_sections): Likewise.
    	(elf32_arm_output_plt_map_1): Likewise.
    	(bfd_elf32_littlearm_nacl_vec, bfd_elf32_bigarm_nacl_vec):
    	New backend vector stanza.
    	(elf32_arm_nacl_modify_segment_map): New function.
    	* config.bfd: Handle arm-*-nacl*, armeb-*-nacl*.
    	* targets.c: Support bfd_elf32_{big,little}_nacl_vec.
    	* configure.in: Likewise.
    	(bfd_elf32_bigarm_nacl_vec): Add elf-nacl.lo here.
    	(bfd_elf32_littlearm_nacl_vec): Likewise.
    	(bfd_elf32_bigarm_vec, bfd_elf32_littlearm_vec): Likewise.
    	(bfd_elf32_bigarm_symbian_vec): Likewise.
    	(bfd_elf32_littlearm_symbian_vec): Likewise.
    	(bfd_elf32_bigarm_vxworks_vec): Likewise.
    	(bfd_elf32_littlearm_vxworks_vec): Likewise.
    	* configure: Regenerated.
    
    	* configure.tgt (arm-*-nacl*): Match it.
    	* config/te-nacl.h (FPU_DEFAULT, EABI_DEFAULT): Define.
    	(LOCAL_LABELS_DOLLAR): Define.
    	* config/tc-arm.c (elf32_arm_target_format) [TE_NACL]:
    	Use nacl format variants.
    
    	* gas/elf/elf.exp (run_elf_list_test): Treat arm-*-nacl* targets
    	as -armeabi.
    
    	* gas/arm/any-idiv.d: Match *-*-nacl* targets too.
    	* gas/arm/arch4t.d: Likewise.
    	* gas/arm/arch4t-eabi.d: Likewise.
    	* gas/arm/attr-any-armv4t.d: Likewise.
    	* gas/arm/attr-any-thumbv6.d: Likewise.
    	* gas/arm/attr-cpu-directive.d: Likewise.
    	* gas/arm/attr-default.d: Likewise.
    	* gas/arm/attr-march-all.d: Likewise.
    	* gas/arm/attr-march-armv1.d: Likewise.
    	* gas/arm/attr-march-armv2a.d: Likewise.
    	* gas/arm/attr-march-armv2.d: Likewise.
    	* gas/arm/attr-march-armv2s.d: Likewise.
    	* gas/arm/attr-march-armv3.d: Likewise.
    	* gas/arm/attr-march-armv3m.d: Likewise.
    	* gas/arm/attr-march-armv4.d: Likewise.
    	* gas/arm/attr-march-armv4t.d: Likewise.
    	* gas/arm/attr-march-armv4txm.d: Likewise.
    	* gas/arm/attr-march-armv4xm.d: Likewise.
    	* gas/arm/attr-march-armv5.d: Likewise.
    	* gas/arm/attr-march-armv5t.d: Likewise.
    	* gas/arm/attr-march-armv5te.d: Likewise.
    	* gas/arm/attr-march-armv5tej.d: Likewise.
    	* gas/arm/attr-march-armv5texp.d: Likewise.
    	* gas/arm/attr-march-armv5txm.d: Likewise.
    	* gas/arm/attr-march-armv6.d: Likewise.
    	* gas/arm/attr-march-armv6j.d: Likewise.
    	* gas/arm/attr-march-armv6k.d: Likewise.
    	* gas/arm/attr-march-armv6k+sec.d: Likewise.
    	* gas/arm/attr-march-armv6kt2.d: Likewise.
    	* gas/arm/attr-march-armv6-m.d: Likewise.
    	* gas/arm/attr-march-armv6-m+os.d: Likewise.
    	* gas/arm/attr-march-armv6s-m.d: Likewise.
    	* gas/arm/attr-march-armv6t2.d: Likewise.
    	* gas/arm/attr-march-armv6z.d: Likewise.
    	* gas/arm/attr-march-armv6zk.d: Likewise.
    	* gas/arm/attr-march-armv6zkt2.d: Likewise.
    	* gas/arm/attr-march-armv6zt2.d: Likewise.
    	* gas/arm/attr-march-armv7-a.d: Likewise.
    	* gas/arm/attr-march-armv7a.d: Likewise.
    	* gas/arm/attr-march-armv7-a+idiv.d: Likewise.
    	* gas/arm/attr-march-armv7-a+mp.d: Likewise.
    	* gas/arm/attr-march-armv7-a+sec.d: Likewise.
    	* gas/arm/attr-march-armv7-a+sec+virt.d: Likewise.
    	* gas/arm/attr-march-armv7-a+virt.d: Likewise.
    	* gas/arm/attr-march-armv7.d: Likewise.
    	* gas/arm/attr-march-armv7em.d: Likewise.
    	* gas/arm/attr-march-armv7-m.d: Likewise.
    	* gas/arm/attr-march-armv7m.d: Likewise.
    	* gas/arm/attr-march-armv7-r.d: Likewise.
    	* gas/arm/attr-march-armv7r.d: Likewise.
    	* gas/arm/attr-march-armv7-r+mp.d: Likewise.
    	* gas/arm/attr-march-iwmmxt2.d: Likewise.
    	* gas/arm/attr-march-iwmmxt.d: Likewise.
    	* gas/arm/attr-march-xscale.d: Likewise.
    	* gas/arm/attr-mcpu.d: Likewise.
    	* gas/arm/attr-mfpu-arm1020e.d: Likewise.
    	* gas/arm/attr-mfpu-arm1020t.d: Likewise.
    	* gas/arm/attr-mfpu-arm1136jf-s.d: Likewise.
    	* gas/arm/attr-mfpu-arm1136jfs.d: Likewise.
    	* gas/arm/attr-mfpu-arm7500fe.d: Likewise.
    	* gas/arm/attr-mfpu-fpa10.d: Likewise.
    	* gas/arm/attr-mfpu-fpa11.d: Likewise.
    	* gas/arm/attr-mfpu-fpa.d: Likewise.
    	* gas/arm/attr-mfpu-fpe2.d: Likewise.
    	* gas/arm/attr-mfpu-fpe3.d: Likewise.
    	* gas/arm/attr-mfpu-fpe.d: Likewise.
    	* gas/arm/attr-mfpu-maverick.d: Likewise.
    	* gas/arm/attr-mfpu-neon.d: Likewise.
    	* gas/arm/attr-mfpu-neon-fp16.d: Likewise.
    	* gas/arm/attr-mfpu-softfpa.d: Likewise.
    	* gas/arm/attr-mfpu-softvfp.d: Likewise.
    	* gas/arm/attr-mfpu-softvfp+vfp.d: Likewise.
    	* gas/arm/attr-mfpu-vfp10.d: Likewise.
    	* gas/arm/attr-mfpu-vfp10-r0.d: Likewise.
    	* gas/arm/attr-mfpu-vfp3.d: Likewise.
    	* gas/arm/attr-mfpu-vfp9.d: Likewise.
    	* gas/arm/attr-mfpu-vfp.d: Likewise.
    	* gas/arm/attr-mfpu-vfpv2.d: Likewise.
    	* gas/arm/attr-mfpu-vfpv3-d16.d: Likewise.
    	* gas/arm/attr-mfpu-vfpv3.d: Likewise.
    	* gas/arm/attr-mfpu-vfpv4-d16.d: Likewise.
    	* gas/arm/attr-mfpu-vfpv4.d: Likewise.
    	* gas/arm/attr-mfpu-vfpxd.d: Likewise.
    	* gas/arm/attr-names.d: Likewise.
    	* gas/arm/attr-order.d: Likewise.
    	* gas/arm/attr-override-cpu-directive.d: Likewise.
    	* gas/arm/attr-override-mcpu.d: Likewise.
    	* gas/arm/got_prel.d: Likewise.
    	* gas/arm/mapdir.d: Likewise.
    	* gas/arm/mapmisc.d: Likewise.
    	* gas/arm/mapsecs.d: Likewise.
    	* gas/arm/mapshort-eabi.d: Likewise.
    	* gas/arm/mapshort-elf.d: Likewise.
    	* gas/arm/mov-highregs-any.d: Likewise.
    	* gas/arm/mov-lowregs-any.d: Likewise.
    	* gas/arm/pr12198-1.d: Likewise.
    	* gas/arm/pr12198-2.d: Likewise.
    	* gas/arm/thumb.d: Likewise.
    	* gas/arm/thumb-eabi.d: Likewise.
    	* gas/arm/thumbrel.d: Likewise.
    
    	* configure.tgt (arm*-*-nacl*, arm*b-*-nacl*): Handle them.
    	* emulparams/armelf_nacl.sh: New file.
    	* emulparams/armelfb_nacl.sh: New file.
    	* Makefile.am (ALL_EMULATION_SOURCES): Add earmelf_nacl.c
    	and earmelfb_nacl.c here.
    	(earmelf_nacl.c, earmelfb_nacl.c): New targets.
    	* Makefile.in: Regenerated.
    
    	* ld-arm/arm-elf.exp (armelftests): Split out into ...
    	(armelftests_common, armelftests_nonacl): ... these two.
    	(armeabitests): Split out into ...
    	(armeabitests_common, armeabitests_nonacl): ... these two.
    	Omit _nonacl sets for arm*-*-nacl* targets.
    
    	* ld-arm/farcall-mix.d: Don't match exact addresses, only symbolic ones.
    	* ld-arm/farcall-mix2.d: Likewise.
    	* ld-arm/farcall-group.d: Likewise.
    
    	* ld-arm/tls-gdesc-got.d: Match variant file formats too.
    	Accept some variation in exact addresses.
    
    	* ld-arm/thumb2-b-interwork.d: Match variant file formats too.
    	Fix regexps not to care about exact addresses where not relevant.
    
    	* ld-arm/thumb2-bl-undefweak.d: Match any hex strings, not any
    	strings of particular exact lengths.
    	* ld-arm/thumb2-bl-undefweak1.d: Likewise.
    
    	* ld-arm/arm-app.r: Match variant file formats too.
    	* ld-arm/arm-app-abs32.r: Likewise.
    	* ld-arm/arm-lib.d: Likewise.
    	* ld-arm/arm-lib.r: Likewise.
    	* ld-arm/arm-static-app.r: Likewise.
    	* ld-arm/armv4-bx.d: Likewise.
    	* ld-arm/data-only-map.d: Likewise.
    	* ld-arm/group-relocs.d: Likewise.
    	* ld-arm/jump19.d: Likewise.
    	* ld-arm/reloc-boundaries.d: Likewise.
    	* ld-arm/thumb1-bl.d: Likewise.
    	* ld-arm/thumb2-bl.d: Likewise.
    	* ld-arm/tls-app.d: Likewise.
    	* ld-arm/tls-app.r: Likewise.
    	* ld-arm/tls-gdierelax.d: Likewise.
    	* ld-arm/tls-gdierelax2.d: Likewise.
    	* ld-arm/tls-gdlerelax.d: Likewise.
    	* ld-arm/tls-lib.d: Likewise.
    	* ld-arm/tls-lib.r: Likewise.
    	* ld-arm/tls-mixed.r: Likewise.
    	* ld-arm/vfp11-fix-none.d: Likewise.
    	* ld-arm/vfp11-fix-scalar.d: Likewise.
    	* ld-arm/vfp11-fix-vector.d: Likewise.
    	* ld-arm/arm-static-app.d: Likewise.
    	Fix regexps not to care about exact number of leading spaces.
    	* ld-arm/arm-app-abs32.d: Likewise.
    	* ld-arm/fix-arm1176-off.d: Likewise.
    	* ld-arm/fix-arm1176-on.d: Likewise.
    
    	* ld-arm/arm-elf.exp: Treat nacl targets like eabi targets.

commit 408b7710229a3e9dc3ba67a71a0e47c7fbb8f2b7
Author: qiyao <qiyao>
Date:   Thu Apr 12 11:11:00 2012 +0000

    gdb/gdbserver/
    
    	* Makefile.in: Define abs_top_srcdir and abs_srcdir.
    	(INCLUDE_CFLAGS): Append GNULIB_INCLUDE_DIR.
    	(install-only, install-info, clean): Handle sub dir gnulib.
    	(all-lib, am--refresh): New targets.
    	(memmem.o): Remove target.
    	* configure.ac: Remove AC_CONFIG_LIBOBJ_DIR.
    	Invoke gl_EARLY.  Invoke AC_CHECK_PROGS for make.
    	(AC_REPLACE_FUNCS): Remove memmem.
    	Invoke gl_INIT and AM_INIT_AUTOMAKE.
    	(AC_OUTPUT): Generate Makefile in gnulib/.
    	* aclocal.m4, config.in, configure: Regenerated.

commit 31a37791c5478f1cec1eea7906a11d5abb84a1b4
Author: Mark Kettenis <kettenis@gnu.org>
Date:   Thu Apr 12 10:32:21 2012 +0000

    * i386bsd-nat.c (_initialize_i386bsd_nat): Add missing prototype.

commit 435e1517be448016cd7033582396590ce2eae147
Author: Nick Clifton <nickc@redhat.com>
Date:   Thu Apr 12 07:34:56 2012 +0000

    	* configure.ac (ia64*-*-*vms*): Add support for ld.
    	* configure: Regenerate.
    
    	* scripttempl/ia64vms.sc: New file.
    	* emultempl/vms.em (_before_parse): Support for ia64.
    	(elf64-ia64-vms): New fragment for ia64.
    	* emulparams/elf64_ia64_vms.sh: New file.
    	* configure.tgt (ia64-*-*vms*): Add.
    	* Makefile.am (ALL_64_EMULATION_SOURCES): Add eelf64_ia64_vms.c
    	(eelf64_ia64_vms.c): New rule.
    	* Makefile.in: Regenerate.
    
    	* elflink.c (elf_link_output_extsym): Add a guard.
    	(bfd_elf_final_link): Remove assertion.
    	(bfd_elf_final_link): Add a guard.
    	* elfnn-ia64.c (INCLUDE_IA64_VMS): Removed.
    	(elfNN_vms_section_from_shdr, elfNN_vms_object_p)
    	(elfNN_vms_post_process_headers, elfNN_vms_section_processing)
    	(elfNN_vms_final_write_processing, elfNN_vms_close_and_cleanup):
    	Remove.
    	(elfNN-ia64-vms target): Move to ...
    	* elf64-ia64-vms.c: New file.
    	* configure.in (bfd_elf64_ia64_vms_vec): Add elf64-ia64-vms.lo
    	* Makefile.am (BFD64_BACKENDS): Add elf64-ia64-vms.lo.
    	(BFD64_BACKENDS_CFILES): Ad elf64-ia64-vms.c.
    	* configure: Regenerate.
    	* Makefile.in: Regenerate.

commit 189cafb94ee9c92a47a5164caf6cf7b7b36add46
Author: Mike Frysinger <vapier@gentoo.org>
Date:   Thu Apr 12 05:33:15 2012 +0000

    gdb: add callback defines for new ARGV handling
    
    The common sim code has slightly unfinished support for these already,
    but even arch ports are unable to handle these if the common header does
    not define them.  This is because the generated callback header includes
    simple common gdb/sim headers only which causes it to skip the new ARGV
    syscalls.  Plus, it isn't like providing these in the common header will
    break any sim targets which don't want them.
    
    Signed-off-by: Mike Frysinger <vapier@gentoo.org>

commit b43ccd746df01a27ab368b819be83e9474078a3a
Author: Doug Evans <dje@google.com>
Date:   Thu Apr 12 02:09:14 2012 +0000

    	* dwarf2read.c (create_all_type_units): Renamed from
    	create_debug_types_hash_table.  All callers updated.

commit ec6e45fec627bc96a6ccff56984018f5d8437650
Author: Doug Evans <dje@google.com>
Date:   Thu Apr 12 01:39:20 2012 +0000

    	* dwarf2read.c (create_signatured_type_table_from_index): Rename
    	local type_sig to sig_type, type_offset to type_offset_in_tu.
    	(hash_signatured_type): Renamed from hash_type_signature,
    	all callers updated.
    	(eq_signatured_type): Renamed from eq_type_signature,
    	all callers updated.
    	(create_debug_types_hash_table): Rename local type_sig to sig_type.
    	(process_enumeration_scope): Ditto.
    	(lookup_signatured_type_at_offset): Ditto.
    	(load_full_type_unit, read_signatured_type): Ditto.

commit 62167df338cd1b9dbc4920694bc23b004aeacc32
Author: qiyao <qiyao>
Date:   Thu Apr 12 00:56:03 2012 +0000

    gdb/
    	* remote.c (async_remote_interrupt): Correct function name in
    	debug message.
    	(async_remote_interrupt_twice): Ditto.

commit 74362f856f9048a0db743a4e1bc04ba5e10771b5
Author: Alan Modra <amodra@bigpond.net.au>
Date:   Thu Apr 12 00:00:05 2012 +0000

    daily update

commit 396860900b72f6c96a041add1f4ee3ca84d3fe68
Author: gdbadmin <gdbadmin@sourceware.org>
Date:   Thu Apr 12 00:00:02 2012 +0000

    *** empty log message ***

commit 74bed105a858403f75238bff60a210dbb80c37a3
Author: Doug Evans <dje@google.com>
Date:   Wed Apr 11 18:37:12 2012 +0000

    	* source.c (find_and_open_source): Consistently pass resulting
    	full path through xfullpath.

commit 3d5fe521853578ece9cd59f3c4fb19277d4bc200
Author: Jan Kratochvil <jan.kratochvil@redhat.com>
Date:   Wed Apr 11 16:58:57 2012 +0000

    gdb/
    	Provide more specific displaced-stepping memory error message.
    	* infrun.c (displaced_step_prepare): New variable status.  Call
    	target_read_memory instead of read_memory, provide more specific
    	error message.

commit 35a4b72f7e93e1dfce7f4acbcdd14192742fb23e
Author: Nick Clifton <nickc@redhat.com>
Date:   Wed Apr 11 14:16:06 2012 +0000

    	PR binutils/13897
    	* elf64-ppc.c (opd_entry_value): When dealing with sections
    	without relocs, keep the last section loaded in order to avoid
    	unnecessary reloads.

commit c4a171f98b4049699e7983413eaa0d9b7a9b92d3
Merge: 77dcb82 95baaa9
Author: Jan Kratochvil <jan.kratochvil@redhat.com>
Date:   Wed Apr 11 16:10:34 2012 +0200

    Merge branch 'pathvec0-1-secmove-misc2-safepath-debug-warn' into pathvec0-1-secmove-misc2-safepath-debug-warn-warnlocal

commit 95baaa94487a175b48495501a41405d1f1268d93
Merge: af3c992 ed3dbaa
Author: Jan Kratochvil <jan.kratochvil@redhat.com>
Date:   Wed Apr 11 16:10:34 2012 +0200

    Merge branch 'pathvec0-1-secmove-misc2-safepath-debug' into pathvec0-1-secmove-misc2-safepath-debug-warn

commit ed3dbaa1937553ee85c4699f64b59cc2ba75e84f
Merge: e3a092c b07db52
Author: Jan Kratochvil <jan.kratochvil@redhat.com>
Date:   Wed Apr 11 16:10:33 2012 +0200

    Merge branch 'pathvec0-1-secmove-misc2-safepath' into pathvec0-1-secmove-misc2-safepath-debug

commit b07db5295cfcd5d6233c820129675308040a8828
Merge: 5b63048 95e1db5
Author: Jan Kratochvil <jan.kratochvil@redhat.com>
Date:   Wed Apr 11 16:10:33 2012 +0200

    Merge branch 'pathvec0-1-secmove-misc2' into pathvec0-1-secmove-misc2-safepath

commit 95e1db518e6a63bbb1754435b46588a10cafe449
Merge: 07c9286 3537dfc
Author: Jan Kratochvil <jan.kratochvil@redhat.com>
Date:   Wed Apr 11 16:10:32 2012 +0200

    Merge branch 'pathvec0-1-secmove' into pathvec0-1-secmove-misc2

commit 3537dfc5c719c5dcafa14d0b055e6100fd6c6d6a
Merge: b1ffbb3 99be09d
Author: Jan Kratochvil <jan.kratochvil@redhat.com>
Date:   Wed Apr 11 16:10:32 2012 +0200

    Merge branch 'pathvec0-1' into pathvec0-1-secmove

commit 99be09d078681bc5bee716a93c0ee1b1e05d4b96
Merge: b6cd7d2 0567b5f
Author: Jan Kratochvil <jan.kratochvil@redhat.com>
Date:   Wed Apr 11 16:10:31 2012 +0200

    Merge branch 'pathvec0' into pathvec0-1

commit 0567b5f5e7b764e73a295887fb1a9d3c948dae7b
Merge: 7858ec7 5d893c0
Author: Jan Kratochvil <jan.kratochvil@redhat.com>
Date:   Wed Apr 11 16:10:31 2012 +0200

    Merge remote-tracking branch 'gdb/master' into pathvec0

commit 8da22002688d645ec819af4883dbb0525f4be03a
Author: Tristan Gingold <gingold@adacore.com>
Date:   Wed Apr 11 13:42:44 2012 +0000

    2012-04-11  Tristan Gingold  <gingold@adacore.com>
    
    	PR gdb/13901
    	* darwin-nat.c (darwin_execvp): Revert previous patch.

commit 7d0a281e40d1cd28b0000830bd9d5a18e40f5f45
Author: Tristan Gingold <gingold@adacore.com>
Date:   Wed Apr 11 13:17:00 2012 +0000

    2012-04-11  Tristan Gingold  <gingold@adacore.com>
    
    	PR gdb/13901
    	* darwin-nat.c (darwin_resume_thread): Call darwin_set_sstep only
    	in case of change.

commit ba18e27c42c6baab0a90a19d2379292c6a459b91
Author: Tristan Gingold <gingold@adacore.com>
Date:   Wed Apr 11 09:52:11 2012 +0000

    2012-04-11  Tristan Gingold  <gingold@adacore.com>
    
    	* i386-darwin-nat.c (i386_darwin_fetch_inferior_registers): Fix
    	warning.

commit 9cbb8cd6add8994f0eb0123d9037f66eb62a84ed
Author: sivachandra <sivachandra>
Date:   Wed Apr 11 06:26:51 2012 +0000

    Fixed a couple of ChangeLog entries.

commit 56d1f337a29fb11c61e7d4b886181618d7725db3
Author: sivachandra <sivachandra>
Date:   Wed Apr 11 05:50:40 2012 +0000

    2012-04-02  Siva Chandra Reddy  <sivachandra@google.com>
    
    	New command 'explore' which helps explore values and types in
    	scope.
    	* NEWS: Add an entry about the new 'explore' command.
    	* data-directory/Makefile.in: Add gdb/command/explore.py
    	* python/lib/gdb/command/explore.py: Implemention of the 'explore'
    	command using the GDB Python API.
    
    	* doc/gdb.texinfo (Examining Data): Document the 'explore'
    	command.
    
    	* testsuite/gdb.python/Makefile.in: Add py-explore to EXECUTABLES.
    	* testsuite/gdb.python/py-explore.c: C program used for testing
    	the new 'explore' command on C constructs.
    	* testsuite/gdb.python/py-explore.cc: C++ program used for testing
    	the new 'explore' command on C++ constructs.
    	* testsuite/gdb-python/py-explore.exp: Tests for the new 'explore'
    	command on C constructs.
    	* testsuite/gdb-python/py-explore-cc.exp: Tests for the new
    	'explore' command on C++ constructs.

commit 1e90e54821c3d5c188f1e57154e4910fc52dc312
Author: Alan Modra <amodra@bigpond.net.au>
Date:   Wed Apr 11 00:00:06 2012 +0000

    daily update

commit 23e3b84e063888f0b2b23b625b54fa0d214b0331
Author: gdbadmin <gdbadmin@sourceware.org>
Date:   Wed Apr 11 00:00:02 2012 +0000

    *** empty log message ***

commit 6eef21b44e41941b50896c15a68f51753ab8b21f
Author: Maciej W. Rozycki <macro@linux-mips.org>
Date:   Tue Apr 10 23:06:56 2012 +0000

    	* mips-tdep.c (mips_skip_pic_trampoline_code): Correct sign
    	extension in jump target calculation.

commit 62383a0b28edf21925d503b780515f2f7461efba
Author: Maciej W. Rozycki <macro@linux-mips.org>
Date:   Tue Apr 10 22:54:23 2012 +0000

    	* mips-tdep.c (mips32_next_pc): Handle JALX.

commit 904b1e91792c8c460f8c0c29509a04cb8e955225
Author: qiyao <qiyao>
Date:   Tue Apr 10 22:48:40 2012 +0000

    gdb/
    	* Makefile.in (gnulib/Makefile): Remove duplicated dependency.

commit 85abc218aea323dcf87cf71f48e86388cfcb6c0d
Author: qiyao <qiyao>
Date:   Tue Apr 10 22:46:12 2012 +0000

    gdb/
    
    	* Makefile.in (aclocal_m4_deps): Add gnulib/m4/gnulib-cache.m4
    	and gnulib/m4/gnulib-tool.m4.

commit d4554722ac21482b71ace68131ac34696fd334f0
Author: Maciej W. Rozycki <macro@linux-mips.org>
Date:   Tue Apr 10 22:33:12 2012 +0000

    	* linux-low.c (get_r_debug): Handle DT_MIPS_RLD_MAP.

-----------------------------------------------------------------------

Summary of changes:
 ChangeLog                                     |    5 +
 bfd/ChangeLog                                 |   96 +
 bfd/Makefile.am                               |    2 +
 bfd/Makefile.in                               |    3 +
 bfd/bfd-in2.h                                 |    4 +
 bfd/config.bfd                                |   18 +-
 bfd/configure                                 |   16 +-
 bfd/configure.in                              |   16 +-
 bfd/elf-nacl.c                                |   12 +-
 bfd/elf.c                                     |   14 +-
 bfd/elf32-arm.c                               |  773 +++--
 bfd/{elfnn-ia64.c => elf64-ia64-vms.c}        | 3577 ++++++++--------
 bfd/elf64-ppc.c                               |   38 +-
 bfd/elflink.c                                 |   14 +-
 bfd/elfnn-ia64.c                              |  364 +--
 bfd/elfxx-mips.c                              |   13 +-
 bfd/elfxx-sparc.c                             |   69 +
 bfd/libbfd.h                                  |    4 +
 bfd/reloc.c                                   |    8 +
 bfd/targets.c                                 |    2 +
 bfd/version.h                                 |    2 +-
 bfd/vms-lib.c                                 |   75 +-
 configure                                     |    7 +-
 configure.ac                                  |    9 +-
 gdb/ChangeLog                                 |  251 ++-
 gdb/Makefile.in                               |    9 +-
 gdb/NEWS                                      |    5 +
 gdb/aclocal.m4                                |    2 +
 gdb/ada-exp.y                                 |    6 +
 gdb/ada-lang.c                                |    2 +-
 gdb/amd64-tdep.c                              |    9 +-
 gdb/c-exp.y                                   |    6 +
 gdb/common/agent.c                            |    3 +-
 gdb/common/agent.h                            |    2 +-
 gdb/config.in                                 |   41 +
 gdb/configure                                 | 2724 +++++++++---
 gdb/cp-name-parser.y                          |    6 +
 gdb/darwin-nat.c                              |   60 +-
 gdb/data-directory/Makefile.in                |    3 +-
 gdb/doc/ChangeLog                             |   12 +
 gdb/doc/gdb.texinfo                           |  160 +-
 gdb/dwarf2read.c                              |  197 +-
 gdb/f-exp.y                                   |    6 +
 gdb/features/Makefile                         |   12 +
 gdb/features/i386/x32-avx-linux.c             |  171 +
 gdb/features/i386/x32-avx-linux.xml           |   18 +
 gdb/features/i386/x32-avx.c                   |  166 +
 gdb/features/i386/x32-avx.xml                 |   16 +
 gdb/features/i386/x32-core.xml                |   73 +
 gdb/features/i386/x32-linux.c                 |  153 +
 gdb/features/i386/x32-linux.xml               |   17 +
 gdb/features/i386/x32.c                       |  148 +
 gdb/features/i386/x32.xml                     |   15 +
 gdb/gdbserver/ChangeLog                       |  128 +
 gdb/gdbserver/Makefile.in                     |  101 +-
 gdb/gdbserver/acinclude.m4                    |   18 +
 gdb/gdbserver/aclocal.m4                      |  998 +++++
 gdb/gdbserver/config.in                       |  292 ++-
 gdb/gdbserver/configure                       | 5696 +++++++++++++++++++++++--
 gdb/gdbserver/configure.ac                    |   43 +-
 gdb/gdbserver/configure.srv                   |   10 +-
 gdb/gdbserver/linux-low.c                     |   76 +-
 gdb/gdbserver/linux-low.h                     |    2 +-
 gdb/gdbserver/linux-x86-low.c                 |  226 +-
 gdb/gdbserver/tracepoint.c                    |  385 ++-
 gdb/gdbtypes.c                                |   13 +-
 gdb/gdbtypes.h                                |    5 +-
 gdb/gnu-v3-abi.c                              |    8 +-
 gdb/gnulib/Makefile.am                        |   43 +-
 gdb/gnulib/Makefile.in                        |   93 +-
 gdb/gnulib/inttypes.in.h                      | 1104 +++++
 gdb/gnulib/m4/gnulib-cache.m4                 |    3 +-
 gdb/gnulib/m4/gnulib-comp.m4                  |    6 +
 gdb/gnulib/m4/inttypes-pri.m4                 |   36 +
 gdb/gnulib/m4/inttypes.m4                     |  302 ++
 gdb/i386-darwin-nat.c                         |    4 +-
 gdb/i386bsd-nat.c                             |    3 +
 gdb/infrun.c                                  |   12 +-
 gdb/jv-exp.y                                  |    6 +
 gdb/jv-lang.c                                 |    2 +-
 gdb/linux-nat.c                               |    4 +-
 gdb/m2-exp.y                                  |    6 +
 gdb/mips-tdep.c                               |   22 +-
 gdb/objc-exp.y                                |    6 +
 gdb/p-exp.y                                   |    6 +
 gdb/python/lib/gdb/command/explore.py         |  755 ++++
 gdb/regformats/i386/x32-avx-linux.dat         |   78 +
 gdb/regformats/i386/x32-avx.dat               |   77 +
 gdb/regformats/i386/x32-linux.dat             |   62 +
 gdb/regformats/i386/x32.dat                   |   61 +
 gdb/remote.c                                  |    4 +-
 gdb/source.c                                  |   11 +-
 gdb/sparc64-tdep.c                            |   15 +-
 gdb/stabsread.c                               |   11 +-
 gdb/target-descriptions.c                     |    4 +-
 gdb/testsuite/ChangeLog                       |   51 +
 gdb/testsuite/gdb.asm/sh.inc                  |   14 +-
 gdb/testsuite/gdb.base/funcargs.exp           |    2 +-
 gdb/testsuite/gdb.mi/mi-var-rtti.cc           |  360 ++
 gdb/testsuite/gdb.mi/mi-var-rtti.exp          |  124 +
 gdb/testsuite/gdb.python/Makefile.in          |    3 +-
 gdb/testsuite/gdb.python/py-explore-cc.exp    |  146 +
 gdb/testsuite/gdb.python/py-explore.c         |   82 +
 gdb/testsuite/gdb.python/py-explore.cc        |   54 +
 gdb/testsuite/gdb.python/py-explore.exp       |  469 ++
 gdb/testsuite/gdb.trace/change-loc.exp        |    6 +-
 gdb/testsuite/gdb.trace/ftrace.exp            |    4 +-
 gdb/testsuite/gdb.trace/pending.exp           |    2 +-
 gdb/testsuite/gdb.trace/strace.exp            |    2 +-
 gdb/testsuite/gdb.trace/trace-break.exp       |    4 +-
 gdb/testsuite/gdb.trace/trace-mt.exp          |    4 +-
 gdb/testsuite/gdb.trace/tspeed.exp            |    2 +-
 gdb/testsuite/gdb.trace/tstatus.exp           |    4 +-
 gdb/testsuite/lib/mi-support.exp              |    8 +-
 gdb/testsuite/lib/trace-support.exp           |   12 +
 gdb/v850-tdep.c                               |   12 +-
 gdb/value.c                                   |   41 +
 gdb/value.h                                   |   16 +
 gdb/varobj.c                                  |  185 +-
 gdb/version.in                                |    2 +-
 include/ChangeLog                             |   14 +
 include/bfdlink.h                             |    7 +-
 include/elf/sparc.h                           |    1 +
 include/gdb/ChangeLog                         |    4 +
 include/gdb/callback.h                        |    5 +
 include/opcode/sparc.h                        |    3 +-
 include/splay-tree.h                          |   19 +-
 libiberty/ChangeLog                           |    4 +
 libiberty/pex-unix.c                          |    6 +-
 opcodes/ChangeLog                             |    5 +
 opcodes/sparc-dis.c                           |    6 +
 sim/bfin/ChangeLog                            |   70 +
 sim/bfin/bfin-sim.c                           |  322 +-
 sim/bfin/bfin-sim.h                           |   12 +
 sim/bfin/configure                            |    2 +
 sim/bfin/configure.ac                         |    2 +
 sim/bfin/dv-bfin_gpio2.c                      |  284 ++
 sim/bfin/dv-bfin_gpio2.h                      |   25 +
 sim/bfin/dv-bfin_pint.c                       |  298 ++
 sim/bfin/dv-bfin_pint.h                       |   24 +
 sim/bfin/machs.c                              |   82 +-
 sim/bfin/machs.h                              |    2 +
 sim/testsuite/sim/bfin/ChangeLog              |   35 +
 sim/testsuite/sim/bfin/random_0017.S          |   23 +
 sim/testsuite/sim/bfin/random_0018.S          |   69 +
 sim/testsuite/sim/bfin/random_0025.S          |  681 +++
 sim/testsuite/sim/bfin/random_0036.S          |  309 ++
 sim/testsuite/sim/bfin/random_0037.S          |   84 +
 sim/testsuite/sim/bfin/se_all16bitopcodes.S   |   11 +-
 sim/testsuite/sim/bfin/se_all32bitopcodes.S   |   18 +-
 sim/testsuite/sim/bfin/se_all64bitg0opcodes.S |    8 +-
 sim/testsuite/sim/bfin/se_all64bitg1opcodes.S |    7 +-
 sim/testsuite/sim/bfin/se_all64bitg2opcodes.S |    7 +-
 sim/testsuite/sim/bfin/se_allopcodes.h        |   47 +-
 154 files changed, 20258 insertions(+), 4018 deletions(-)
 copy bfd/{elfnn-ia64.c => elf64-ia64-vms.c} (60%)
 create mode 100644 gdb/features/i386/x32-avx-linux.c
 create mode 100644 gdb/features/i386/x32-avx-linux.xml
 create mode 100644 gdb/features/i386/x32-avx.c
 create mode 100644 gdb/features/i386/x32-avx.xml
 create mode 100644 gdb/features/i386/x32-core.xml
 create mode 100644 gdb/features/i386/x32-linux.c
 create mode 100644 gdb/features/i386/x32-linux.xml
 create mode 100644 gdb/features/i386/x32.c
 create mode 100644 gdb/features/i386/x32.xml
 create mode 100644 gdb/gnulib/inttypes.in.h
 create mode 100644 gdb/gnulib/m4/inttypes-pri.m4
 create mode 100644 gdb/gnulib/m4/inttypes.m4
 create mode 100644 gdb/python/lib/gdb/command/explore.py
 create mode 100644 gdb/regformats/i386/x32-avx-linux.dat
 create mode 100644 gdb/regformats/i386/x32-avx.dat
 create mode 100644 gdb/regformats/i386/x32-linux.dat
 create mode 100644 gdb/regformats/i386/x32.dat
 create mode 100644 gdb/testsuite/gdb.mi/mi-var-rtti.cc
 create mode 100644 gdb/testsuite/gdb.mi/mi-var-rtti.exp
 create mode 100644 gdb/testsuite/gdb.python/py-explore-cc.exp
 create mode 100644 gdb/testsuite/gdb.python/py-explore.c
 create mode 100644 gdb/testsuite/gdb.python/py-explore.cc
 create mode 100644 gdb/testsuite/gdb.python/py-explore.exp
 create mode 100644 sim/bfin/dv-bfin_gpio2.c
 create mode 100644 sim/bfin/dv-bfin_gpio2.h
 create mode 100644 sim/bfin/dv-bfin_pint.c
 create mode 100644 sim/bfin/dv-bfin_pint.h
 create mode 100644 sim/testsuite/sim/bfin/random_0017.S
 create mode 100644 sim/testsuite/sim/bfin/random_0018.S
 create mode 100644 sim/testsuite/sim/bfin/random_0025.S
 create mode 100644 sim/testsuite/sim/bfin/random_0036.S
 create mode 100644 sim/testsuite/sim/bfin/random_0037.S

First 500 lines of diff:
diff --git a/ChangeLog b/ChangeLog
index cff1dfb..c4b159f 100644
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,3 +1,8 @@
+2012-03-19  Tristan Gingold  <gingold@adacore.com>
+
+	* configure.ac (ia64*-*-*vms*): Add support for ld.
+	* configure: Regenerate.
+
 2012-03-14  Rainer Orth  <ro@CeBiTec.Uni-Bielefeld.DE>
 
 	* configure.ac (enable_libgomp): Remove *-*-irix6*.
diff --git a/bfd/ChangeLog b/bfd/ChangeLog
index 56a1121..7871002 100644
--- a/bfd/ChangeLog
+++ b/bfd/ChangeLog
@@ -1,3 +1,99 @@
+2012-04-17  Tristan Gingold  <gingold@adacore.com>
+
+	* vms-lib.c (_bfd_vms_lib_get_module): Append .obj extension to
+	member of an object archive.<
+
+2012-04-17  Tristan Gingold  <gingold@adacore.com>
+
+	* vms-lib.c (MAX_EKEYLEN): Define.
+	(MAX_KEYLEN): Fix value.
+	(vms_write_index): Add comments and fix indentation.
+	Adjust comparaison.  Add assertions.  Free kbn_blk.
+	(_bfd_vms_lib_write_archive_contents): Use MAX_EKEYLEN.
+	Compense MAX_KEYLEN adjustment.
+
+2012-04-16  Maciej W. Rozycki  <macro@linux-mips.org>
+
+	* elfxx-mips.c (mips16_stub_symndx): Handle n64 compound relocs.
+	(_bfd_mips_elf_check_relocs): Update accordingly.
+
+2012-04-13  Alan Modra  <amodra@gmail.com>
+
+	PR ld/13947
+	* elflink.c (bfd_elf_final_link): Set reloc_count to 0 for
+	reloc sections.
+
+2012-04-12  David S. Miller  <davem@davemloft.net>
+
+	* reloc.c (BFD_RELOC_SPARC_H34, BFD_RELOC_SPARC_SIZE32,
+	BFD_RELOC_SPARC_SIZE64, BFD_RELOC_SPARC_WDISP10): New relocs.
+	* libbfd.h: Regenerate.
+	* bfd-in2.h: Likewise.
+	* elfxx-sparc.c (sparc_elf_wdisp10_reloc): New function.
+	(_bfd_sparc_elf_howto_table): Add entries for R_SPARC_H34,
+	R_SPARC_SIZE32, R_SPARC_64, and R_SPARC_WDISP10.
+	(_bfd_sparc_elf_reloc_type_lookup): Handle new relocs.
+	(_bfd_sparc_elf_check_relocs): Likewise.
+	(_bfd_sparc_elf_gc_sweep_hook): Likewise.
+	(_bfd_sparc_elf_relocate_section): Likewise.
+
+2012-04-12  Roland McGrath  <mcgrathr@google.com>
+
+	* elf32-arm.c (elf32_arm_nacl_plt0_entry, elf32_arm_nacl_plt_entry):
+	New variables.
+	(struct elf32_arm_link_hash_table): New member `nacl_p'.
+	(elf32_arm_link_hash_table_create): Initialize it.
+	(elf32_arm_nacl_link_hash_table_create): New function.
+	(arm_movw_immediate, arm_movt_immediate): New functions.
+	(elf32_arm_populate_plt_entry): Test HTAB->nacl_p.
+	(elf32_arm_finish_dynamic_sections): Likewise.
+	(elf32_arm_output_plt_map_1): Likewise.
+	(bfd_elf32_littlearm_nacl_vec, bfd_elf32_bigarm_nacl_vec):
+	New backend vector stanza.
+	(elf32_arm_nacl_modify_segment_map): New function.
+	* config.bfd: Handle arm-*-nacl*, armeb-*-nacl*.
+	* targets.c: Support bfd_elf32_{big,little}_nacl_vec.
+	* configure.in: Likewise.
+	(bfd_elf32_bigarm_nacl_vec): Add elf-nacl.lo here.
+	(bfd_elf32_littlearm_nacl_vec): Likewise.
+	(bfd_elf32_bigarm_vec, bfd_elf32_littlearm_vec): Likewise.
+	(bfd_elf32_bigarm_symbian_vec): Likewise.
+	(bfd_elf32_littlearm_symbian_vec): Likewise.
+	(bfd_elf32_bigarm_vxworks_vec): Likewise.
+	(bfd_elf32_littlearm_vxworks_vec): Likewise.
+	* configure: Regenerated.
+
+2012-04-12  Tristan Gingold  <gingold@adacore.com>
+
+	* elflink.c (elf_link_output_extsym): Add a guard.
+	(bfd_elf_final_link): Remove assertion.
+	(bfd_elf_final_link): Add a guard.
+	* elfnn-ia64.c (INCLUDE_IA64_VMS): Removed.
+	(elfNN_vms_section_from_shdr, elfNN_vms_object_p)
+	(elfNN_vms_post_process_headers, elfNN_vms_section_processing)
+	(elfNN_vms_final_write_processing, elfNN_vms_close_and_cleanup):
+	Remove.
+	(elfNN-ia64-vms target): Move to ...
+	* elf64-ia64-vms.c: New file.
+	* configure.in (bfd_elf64_ia64_vms_vec): Add elf64-ia64-vms.lo
+	* Makefile.am (BFD64_BACKENDS): Add elf64-ia64-vms.lo.
+	(BFD64_BACKENDS_CFILES): Ad elf64-ia64-vms.c.
+	* configure: Regenerate.
+	* Makefile.in: Regenerate.
+
+2012-04-11  Nick Clifton  <nickc@redhat.com>
+
+	PR binutils/13897
+	* elf64-ppc.c (opd_entry_value): When dealing with sections
+	without relocs, keep the last section loaded in order to avoid
+	unnecessary reloads.
+
+2012-04-09  Roland McGrath  <mcgrathr@google.com>
+
+	* elf.c (_bfd_elf_map_sections_to_segments): Set INFO->user_phdrs.
+	* elf-nacl.c (nacl_modify_segment_map): Do nothing if INFO->user_phdrs.
+	(nacl_modify_program_headers): Likewise.
+
 2012-04-03  Roland McGrath  <mcgrathr@google.com>
 
 	* elf-nacl.c: New file.
diff --git a/bfd/Makefile.am b/bfd/Makefile.am
index 50c84ee..627f1bb 100644
--- a/bfd/Makefile.am
+++ b/bfd/Makefile.am
@@ -619,6 +619,7 @@ BFD64_BACKENDS = \
 	elf64-gen.lo \
 	elf64-hppa.lo \
 	elf64-ia64.lo \
+	elf64-ia64-vms.lo \
 	elf64-mips.lo \
 	elf64-mmix.lo \
 	elf64-ppc.lo \
@@ -654,6 +655,7 @@ BFD64_BACKENDS_CFILES = \
 	elf64-alpha.c \
 	elf64-gen.c \
 	elf64-hppa.c \
+	elf64-ia64-vms.c \
 	elf64-mips.c \
 	elf64-mmix.c \
 	elf64-ppc.c \
diff --git a/bfd/Makefile.in b/bfd/Makefile.in
index cf7b380..6d9c760 100644
--- a/bfd/Makefile.in
+++ b/bfd/Makefile.in
@@ -920,6 +920,7 @@ BFD64_BACKENDS = \
 	elf64-gen.lo \
 	elf64-hppa.lo \
 	elf64-ia64.lo \
+	elf64-ia64-vms.lo \
 	elf64-mips.lo \
 	elf64-mmix.lo \
 	elf64-ppc.lo \
@@ -955,6 +956,7 @@ BFD64_BACKENDS_CFILES = \
 	elf64-alpha.c \
 	elf64-gen.c \
 	elf64-hppa.c \
+	elf64-ia64-vms.c \
 	elf64-mips.c \
 	elf64-mmix.c \
 	elf64-ppc.c \
@@ -1416,6 +1418,7 @@ distclean-compile:
 @AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/elf64-alpha.Plo@am__quote@
 @AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/elf64-gen.Plo@am__quote@
 @AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/elf64-hppa.Plo@am__quote@
+@AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/elf64-ia64-vms.Plo@am__quote@
 @AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/elf64-ia64.Plo@am__quote@
 @AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/elf64-mips.Plo@am__quote@
 @AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/elf64-mmix.Plo@am__quote@
diff --git a/bfd/bfd-in2.h b/bfd/bfd-in2.h
index 07898be..859f825 100644
--- a/bfd/bfd-in2.h
+++ b/bfd/bfd-in2.h
@@ -2595,6 +2595,10 @@ relocation types already defined.  */
   BFD_RELOC_SPARC_M44,
   BFD_RELOC_SPARC_L44,
   BFD_RELOC_SPARC_REGISTER,
+  BFD_RELOC_SPARC_H34,
+  BFD_RELOC_SPARC_SIZE32,
+  BFD_RELOC_SPARC_SIZE64,
+  BFD_RELOC_SPARC_WDISP10,
 
 /* SPARC little endian relocation  */
   BFD_RELOC_SPARC_REV32,
diff --git a/bfd/config.bfd b/bfd/config.bfd
index e84ba58..ab72cf3 100644
--- a/bfd/config.bfd
+++ b/bfd/config.bfd
@@ -216,6 +216,18 @@ case "${targ}" in
     targ_selvecs=bfd_elf32_bigarc_vec
     ;;
 
+  arm-*-nacl*)
+    targ_defvec=bfd_elf32_littlearm_nacl_vec
+    targ_selvecs="bfd_elf32_bigarm_nacl_vec bfd_elf32_i386_nacl_vec"
+    targ64_selvecs="bfd_elf32_x86_64_nacl_vec bfd_elf64_x86_64_nacl_vec"
+    targ_archs="$targ_archs bfd_i386_arch"
+    ;;
+  armeb-*-nacl*)
+    targ_defvec=bfd_elf32_bigarm_nacl_vec
+    targ_selvecs="bfd_elf32_littlearm_nacl_vec bfd_elf32_i386_nacl_vec"
+    targ64_selvecs="bfd_elf32_x86_64_nacl_vec bfd_elf64_x86_64_nacl_vec"
+    targ_archs="$targ_archs bfd_i386_arch"
+    ;;
   armeb-*-netbsdelf*)
     targ_defvec=bfd_elf32_bigarm_vec
     targ_selvecs="bfd_elf32_littlearm_vec armnetbsd_vec"
@@ -573,8 +585,9 @@ case "${targ}" in
     ;;
   i[3-7]86-*-nacl*)
     targ_defvec=bfd_elf32_i386_nacl_vec
-    targ_selvecs="bfd_elf32_i386_vec"
+    targ_selvecs="bfd_elf32_bigarm_nacl_vec bfd_elf32_littlearm_nacl_vec"
     targ64_selvecs="bfd_elf64_x86_64_nacl_vec bfd_elf32_x86_64_nacl_vec"
+    targ_archs="$targ_archs bfd_arm_arch"
     ;;
 #ifdef BFD64
   x86_64-*-darwin*)
@@ -615,7 +628,8 @@ case "${targ}" in
     ;;
   x86_64-*-nacl*)
     targ_defvec=bfd_elf32_x86_64_nacl_vec
-    targ_selvecs="bfd_elf32_i386_nacl_vec bfd_elf64_x86_64_nacl_vec"
+    targ_selvecs="bfd_elf32_i386_nacl_vec bfd_elf64_x86_64_nacl_vec bfd_elf32_bigarm_nacl_vec bfd_elf32_littlearm_nacl_vec"
+    targ_archs="$targ_archs bfd_arm_arch"
     want64=true
     ;;
   x86_64-*-mingw* | x86_64-*-pe | x86_64-*-pep)
diff --git a/bfd/configure b/bfd/configure
index dd274bd..fc5c9ad 100755
--- a/bfd/configure
+++ b/bfd/configure
@@ -15200,11 +15200,12 @@ do
     bfd_elf32_bfinfdpic_vec)	tb="$tb elf32-bfin.lo elf32.lo $elf" ;;
     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_vec)	tb="$tb elf32-arm.lo elf32.lo elf-nacl.lo elf-vxworks.lo $elf" ;;
+    bfd_elf32_bigarm_nacl_vec)	tb="$tb elf32-arm.lo elf32.lo elf-nacl.lo elf-vxworks.lo $elf" ;;
     bfd_elf32_bigarm_symbian_vec)
-                                tb="$tb elf32-arm.lo elf32.lo elf-vxworks.lo $elf" ;;
+                                tb="$tb elf32-arm.lo elf32.lo elf-nacl.lo elf-vxworks.lo $elf" ;;
     bfd_elf32_bigarm_vxworks_vec)
-                                tb="$tb elf32-arm.lo elf32.lo elf-vxworks.lo $elf" ;;
+                                tb="$tb elf32-arm.lo elf32.lo elf-nacl.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)
 			 	tb="$tb elf32-mips.lo elfxx-mips.lo elf-vxworks.lo elf32.lo $elf ecofflink.lo" ;;
@@ -15242,10 +15243,11 @@ do
     bfd_elf32_little_generic_vec) tb="$tb elf32-gen.lo elf32.lo $elf" ;;
     bfd_elf32_littlearc_vec)	tb="$tb elf32-arc.lo elf32.lo $elf" ;;
     bfd_elf32_littlearm_symbian_vec)
-                                tb="$tb elf32-arm.lo elf32.lo elf-vxworks.lo $elf" ;;
+                                tb="$tb elf32-arm.lo elf32.lo elf-nacl.lo elf-vxworks.lo $elf" ;;
     bfd_elf32_littlearm_vxworks_vec)
-                                tb="$tb elf32-arm.lo elf32.lo elf-vxworks.lo $elf" ;;
-    bfd_elf32_littlearm_vec)	tb="$tb elf32-arm.lo elf32.lo elf-vxworks.lo $elf" ;;
+                                tb="$tb elf32-arm.lo elf32.lo elf-nacl.lo elf-vxworks.lo $elf" ;;
+    bfd_elf32_littlearm_vec)	tb="$tb elf32-arm.lo elf32.lo elf-nacl.lo elf-vxworks.lo $elf" ;;
+    bfd_elf32_littlearm_nacl_vec) tb="$tb elf32-arm.lo elf32.lo elf-nacl.lo elf-vxworks.lo $elf" ;;
     bfd_elf32_littlemips_vec) 	tb="$tb elf32-mips.lo elfxx-mips.lo elf-vxworks.lo elf32.lo $elf ecofflink.lo" ;;
     bfd_elf32_littlemips_vxworks_vec)
 			 	tb="$tb elf32-mips.lo elfxx-mips.lo elf-vxworks.lo elf32.lo $elf ecofflink.lo" ;;
@@ -15341,7 +15343,7 @@ do
     bfd_elf64_ia64_big_vec)	tb="$tb elf64-ia64.lo elfxx-ia64.lo elf64.lo $elf"; target_size=64 ;;
     bfd_elf64_ia64_hpux_big_vec) tb="$tb elf64-ia64.lo elfxx-ia64.lo elf64.lo $elf"; target_size=64 ;;
     bfd_elf64_ia64_little_vec)	tb="$tb elf64-ia64.lo elfxx-ia64.lo elf64.lo $elf"; target_size=64 ;;
-    bfd_elf64_ia64_vms_vec)	tb="$tb elf64-ia64.lo elfxx-ia64.lo  elf64.lo vms-lib.lo vms-misc.lo $elf"; target_size=64 ;;
+    bfd_elf64_ia64_vms_vec)	tb="$tb elf64-ia64-vms.lo elf64-ia64.lo elfxx-ia64.lo elf64.lo vms-lib.lo vms-misc.lo $elf"; target_size=64 ;;
     bfd_elf64_little_generic_vec) tb="$tb elf64-gen.lo elf64.lo $elf"; target_size=64 ;;
     bfd_elf64_littlemips_vec) 	tb="$tb elf64-mips.lo elf64.lo elfxx-mips.lo elf-vxworks.lo elf32.lo $elf ecofflink.lo"; target_size=64 ;;
     bfd_elf64_mmix_vec) 	tb="$tb elf64-mmix.lo elf64.lo $elf" target_size=64 ;;
diff --git a/bfd/configure.in b/bfd/configure.in
index af3622b..3cb4b70 100644
--- a/bfd/configure.in
+++ b/bfd/configure.in
@@ -686,11 +686,12 @@ do
     bfd_elf32_bfinfdpic_vec)	tb="$tb elf32-bfin.lo elf32.lo $elf" ;;
     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_vec)	tb="$tb elf32-arm.lo elf32.lo elf-nacl.lo elf-vxworks.lo $elf" ;;
+    bfd_elf32_bigarm_nacl_vec)	tb="$tb elf32-arm.lo elf32.lo elf-nacl.lo elf-vxworks.lo $elf" ;;
     bfd_elf32_bigarm_symbian_vec)
-                                tb="$tb elf32-arm.lo elf32.lo elf-vxworks.lo $elf" ;;
+                                tb="$tb elf32-arm.lo elf32.lo elf-nacl.lo elf-vxworks.lo $elf" ;;
     bfd_elf32_bigarm_vxworks_vec)
-                                tb="$tb elf32-arm.lo elf32.lo elf-vxworks.lo $elf" ;;
+                                tb="$tb elf32-arm.lo elf32.lo elf-nacl.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)
 			 	tb="$tb elf32-mips.lo elfxx-mips.lo elf-vxworks.lo elf32.lo $elf ecofflink.lo" ;;
@@ -728,10 +729,11 @@ do
     bfd_elf32_little_generic_vec) tb="$tb elf32-gen.lo elf32.lo $elf" ;;
     bfd_elf32_littlearc_vec)	tb="$tb elf32-arc.lo elf32.lo $elf" ;;
     bfd_elf32_littlearm_symbian_vec)
-                                tb="$tb elf32-arm.lo elf32.lo elf-vxworks.lo $elf" ;;
+                                tb="$tb elf32-arm.lo elf32.lo elf-nacl.lo elf-vxworks.lo $elf" ;;
     bfd_elf32_littlearm_vxworks_vec)
-                                tb="$tb elf32-arm.lo elf32.lo elf-vxworks.lo $elf" ;;
-    bfd_elf32_littlearm_vec)	tb="$tb elf32-arm.lo elf32.lo elf-vxworks.lo $elf" ;;
+                                tb="$tb elf32-arm.lo elf32.lo elf-nacl.lo elf-vxworks.lo $elf" ;;
+    bfd_elf32_littlearm_vec)	tb="$tb elf32-arm.lo elf32.lo elf-nacl.lo elf-vxworks.lo $elf" ;;
+    bfd_elf32_littlearm_nacl_vec) tb="$tb elf32-arm.lo elf32.lo elf-nacl.lo elf-vxworks.lo $elf" ;;
     bfd_elf32_littlemips_vec) 	tb="$tb elf32-mips.lo elfxx-mips.lo elf-vxworks.lo elf32.lo $elf ecofflink.lo" ;;
     bfd_elf32_littlemips_vxworks_vec)
 			 	tb="$tb elf32-mips.lo elfxx-mips.lo elf-vxworks.lo elf32.lo $elf ecofflink.lo" ;;
@@ -827,7 +829,7 @@ do
     bfd_elf64_ia64_big_vec)	tb="$tb elf64-ia64.lo elfxx-ia64.lo elf64.lo $elf"; target_size=64 ;;
     bfd_elf64_ia64_hpux_big_vec) tb="$tb elf64-ia64.lo elfxx-ia64.lo elf64.lo $elf"; target_size=64 ;;
     bfd_elf64_ia64_little_vec)	tb="$tb elf64-ia64.lo elfxx-ia64.lo elf64.lo $elf"; target_size=64 ;;
-    bfd_elf64_ia64_vms_vec)	tb="$tb elf64-ia64.lo elfxx-ia64.lo  elf64.lo vms-lib.lo vms-misc.lo $elf"; target_size=64 ;;
+    bfd_elf64_ia64_vms_vec)	tb="$tb elf64-ia64-vms.lo elf64-ia64.lo elfxx-ia64.lo elf64.lo vms-lib.lo vms-misc.lo $elf"; target_size=64 ;;    
     bfd_elf64_little_generic_vec) tb="$tb elf64-gen.lo elf64.lo $elf"; target_size=64 ;;
     bfd_elf64_littlemips_vec) 	tb="$tb elf64-mips.lo elf64.lo elfxx-mips.lo elf-vxworks.lo elf32.lo $elf ecofflink.lo"; target_size=64 ;;
     bfd_elf64_mmix_vec) 	tb="$tb elf64-mmix.lo elf64.lo $elf" target_size=64 ;;
diff --git a/bfd/elf-nacl.c b/bfd/elf-nacl.c
index 3ba7f55..842e367 100644
--- a/bfd/elf-nacl.c
+++ b/bfd/elf-nacl.c
@@ -62,13 +62,18 @@ segment_nonexecutable_and_has_contents (struct elf_segment_map *seg)
    The first non-executable PT_LOAD segment appears first in the file
    and contains the ELF file header and phdrs.  */
 bfd_boolean
-nacl_modify_segment_map (bfd *abfd, struct bfd_link_info *info ATTRIBUTE_UNUSED)
+nacl_modify_segment_map (bfd *abfd, struct bfd_link_info *info)
 {
   struct elf_segment_map **m = &elf_tdata (abfd)->segment_map;
   struct elf_segment_map **first_load = NULL;
   struct elf_segment_map **last_load = NULL;
   bfd_boolean moved_headers = FALSE;
 
+  if (info != NULL && info->user_phdrs)
+    /* The linker script used PHDRS explicitly, so don't change what the
+       user asked for.  */
+    return TRUE;
+
   while (*m != NULL)
     {
       struct elf_segment_map *seg = *m;
@@ -141,6 +146,11 @@ nacl_modify_program_headers (bfd *abfd,
   Elf_Internal_Phdr *phdr = elf_tdata (abfd)->phdr;
   Elf_Internal_Phdr *p = phdr;
 
+  if (info != NULL && info->user_phdrs)
+    /* The linker script used PHDRS explicitly, so don't change what the
+       user asked for.  */
+    return TRUE;
+
   /* Find the PT_LOAD that contains the headers (should be the first).  */
   while (*m != NULL)
     {
diff --git a/bfd/elf.c b/bfd/elf.c
index df43a6a..7faa8f6 100644
--- a/bfd/elf.c
+++ b/bfd/elf.c
@@ -2527,7 +2527,7 @@ _bfd_elf_init_reloc_shdr (bfd *abfd,
   rel_hdr = bfd_zalloc (abfd, amt);
   reldata->hdr = rel_hdr;
 
-  amt = sizeof ".rela" + strlen (asect->name);      
+  amt = sizeof ".rela" + strlen (asect->name);
   name = (char *) bfd_alloc (abfd, amt);
   if (name == NULL)
     return FALSE;
@@ -3744,6 +3744,10 @@ _bfd_elf_map_sections_to_segments (bfd *abfd, struct bfd_link_info *info)
   bfd_boolean no_user_phdrs;
 
   no_user_phdrs = elf_tdata (abfd)->segment_map == NULL;
+
+  if (info != NULL)
+    info->user_phdrs = !no_user_phdrs;
+
   if (no_user_phdrs && bfd_count_sections (abfd) != 0)
     {
       asection *s;
@@ -4351,7 +4355,7 @@ assign_file_positions_for_load_sections (bfd *abfd,
       elf_elfheader (abfd)->e_phoff = 0;
       elf_elfheader (abfd)->e_phentsize = 0;
     }
-  
+
   elf_elfheader (abfd)->e_phnum = alloc;
 
   if (elf_tdata (abfd)->program_header_size == (bfd_size_type) -1)
@@ -5428,7 +5432,7 @@ rewrite_elf_program_header (bfd *ibfd, bfd *obfd)
        1. It is within the address space of the segment -- we use the LMA
 	  if that is set for the segment and the VMA otherwise,
        2. It is an allocated section or a NOTE section in a PT_NOTE
-	  segment.         
+	  segment.
        3. There is an output section associated with it,
        4. The section has not already been allocated to a previous segment.
        5. PT_GNU_STACK segments do not include any sections.
@@ -6148,7 +6152,7 @@ copy_elf_program_header (bfd *ibfd, bfd *obfd)
       if (map->includes_filehdr && lowest_section != NULL)
 	/* We need to keep the space used by the headers fixed.  */
 	map->header_size = lowest_section->vma - segment->p_vaddr;
-      
+
       if (!map->includes_phdrs
 	  && !map->includes_filehdr
 	  && map->p_paddr_valid)
@@ -9633,7 +9637,7 @@ _bfd_elf_get_synthetic_symtab (bfd *abfd,
       if (p->addend != 0)
 	{
 	  char buf[30], *a;
-	  
+
 	  memcpy (names, "+0x", sizeof ("+0x") - 1);
 	  names += sizeof ("+0x") - 1;
 	  bfd_sprintf_vma (abfd, buf, p->addend);
diff --git a/bfd/elf32-arm.c b/bfd/elf32-arm.c
index 8721f94..f5b5c4d 100644
--- a/bfd/elf32-arm.c
+++ b/bfd/elf32-arm.c
@@ -26,6 +26,7 @@
 #include "libiberty.h"
 #include "libbfd.h"
 #include "elf-bfd.h"
+#include "elf-nacl.h"
 #include "elf-vxworks.h"
 #include "elf/arm.h"
 
@@ -2078,24 +2079,24 @@ typedef unsigned short int insn16;
 #define ELF_DYNAMIC_INTERPRETER     "/usr/lib/ld.so.1"
 
 static const unsigned long tls_trampoline [] =
-  {
-    0xe08e0000,		/* add r0, lr, r0 */
-    0xe5901004,		/* ldr r1, [r0,#4] */
-    0xe12fff11,		/* bx  r1 */
-  };
+{
+  0xe08e0000,		/* add r0, lr, r0 */
+  0xe5901004,		/* ldr r1, [r0,#4] */
+  0xe12fff11,		/* bx  r1 */
+};
 
 static const unsigned long dl_tlsdesc_lazy_trampoline [] =
-  {
-    0xe52d2004, /*	push    {r2}			*/
-    0xe59f200c, /*      ldr     r2, [pc, #3f - . - 8]	*/
-    0xe59f100c, /*      ldr     r1, [pc, #4f - . - 8]	*/
-    0xe79f2002, /* 1:   ldr     r2, [pc, r2]		*/
-    0xe081100f, /* 2:   add     r1, pc			*/
-    0xe12fff12, /*      bx      r2			*/
-    0x00000014, /* 3:   .word  _GLOBAL_OFFSET_TABLE_ - 1b - 8
+{
+  0xe52d2004, /*	push    {r2}			*/
+  0xe59f200c, /*      ldr     r2, [pc, #3f - . - 8]	*/
+  0xe59f100c, /*      ldr     r1, [pc, #4f - . - 8]	*/
+  0xe79f2002, /* 1:   ldr     r2, [pc, r2]		*/
+  0xe081100f, /* 2:   add     r1, pc			*/
+  0xe12fff12, /*      bx      r2			*/
+  0x00000014, /* 3:   .word  _GLOBAL_OFFSET_TABLE_ - 1b - 8
 		   		+ dl_tlsdesc_lazy_resolver(GOT)   */
-    0x00000018, /* 4:   .word  _GLOBAL_OFFSET_TABLE_ - 2b - 8 */ 
-  };
+  0x00000018, /* 4:   .word  _GLOBAL_OFFSET_TABLE_ - 2b - 8 */
+};
 
 #ifdef FOUR_WORD_PLT
 
@@ -2104,22 +2105,22 @@ static const unsigned long dl_tlsdesc_lazy_trampoline [] =
    called before the relocation has been set up calls the dynamic
    linker first.  */
 static const bfd_vma elf32_arm_plt0_entry [] =
-  {
-    0xe52de004,		/* str   lr, [sp, #-4]! */
-    0xe59fe010,		/* ldr   lr, [pc, #16]  */
-    0xe08fe00e,		/* add   lr, pc, lr     */
-    0xe5bef008,		/* ldr   pc, [lr, #8]!  */
-  };
+{
+  0xe52de004,		/* str   lr, [sp, #-4]! */
+  0xe59fe010,		/* ldr   lr, [pc, #16]  */
+  0xe08fe00e,		/* add   lr, pc, lr     */
+  0xe5bef008,		/* ldr   pc, [lr, #8]!  */
+};
 
 /* Subsequent entries in a procedure linkage table look like
    this.  */
 static const bfd_vma elf32_arm_plt_entry [] =
-  {
-    0xe28fc600,		/* add   ip, pc, #NN	*/
-    0xe28cca00,		/* add	 ip, ip, #NN	*/
-    0xe5bcf000,		/* ldr	 pc, [ip, #NN]! */
-    0x00000000,		/* unused		*/
-  };
+{
+  0xe28fc600,		/* add   ip, pc, #NN	*/
+  0xe28cca00,		/* add	 ip, ip, #NN	*/
+  0xe5bcf000,		/* ldr	 pc, [ip, #NN]! */
+  0x00000000,		/* unused		*/
+};
 
 #else
 
@@ -2128,72 +2129,111 @@ static const bfd_vma elf32_arm_plt_entry [] =
    called before the relocation has been set up calls the dynamic
    linker first.  */
 static const bfd_vma elf32_arm_plt0_entry [] =
-  {


hooks/post-receive
--
Repository for Project Archer.


^ permalink raw reply	[flat|nested] 2+ messages in thread

* [SCM]  archer-jankratochvil-autoload: Merge branch 'x-pathvec0-1-secmove-misc2-safepath-debug-warn' into x-pathvec0-1-secmove-misc2-safepath-debug-warn-warnlocal
@ 2012-04-18  8:20 jkratoch
  0 siblings, 0 replies; 2+ messages in thread
From: jkratoch @ 2012-04-18  8:20 UTC (permalink / raw)
  To: archer-commits

The branch, archer-jankratochvil-autoload has been updated
       via  35e7f68698003a0e4a5829b23d11ec2a871db3e8 (commit)
       via  542ec3c0be40af3faec8133bb182674d09201408 (commit)
       via  26d76862a97a89a0def83ab04139f6cc96b39db8 (commit)
       via  4af4fb2b54ade651de90ff2c59ecdce74d5e5220 (commit)
       via  b2d20f69410b0a033793bceb7754ab9bb49be634 (commit)
       via  09f9008e2eb38762fbfda8e464ae5edd5bfcef39 (commit)
       via  8de993e913593c01aaba5b154f0ab5c5a8d84512 (commit)
       via  a0a3cb07801254d04f6c4f03114c6fe917dceb56 (commit)
       via  5556e51d07c9f18355e75cacfce18de90feb2c31 (commit)
       via  2f100c1174d54217d9dab89582d6933980e26837 (commit)
       via  47dd2061619730e7aebb4d3bcbe42638adfa9c6c (commit)
       via  c149f8fe9692c413c8399779dd2be96a6f784d13 (commit)
       via  003127c06ae6d278797d1b9cbb52e0d022e215b7 (commit)
       via  6388f952b8db5b542d0fc3341e79401046d0822b (commit)
       via  cb5de33dd14e8327d44c75cb41ae3189230991ec (commit)
       via  546a08ddc72650ec560d510e52d706bba9b1acce (commit)
       via  86f0d8d5bf1baceaf64c5caa481b6fba33241764 (commit)
       via  31a54d666f4bacdaf2f9eaaadf8ee32168e1e40f (commit)
       via  6967f47519e220af61bc18a67736040793dc0c0f (commit)
       via  1e20d6a28a174d91cfb851925764e1947acaf052 (commit)
       via  253b0509388a097b446d818ead7b528d46a99886 (commit)
       via  dfd32e4e7ae35a6e083c81b33dc0e4022c492be6 (commit)
       via  bee9e486b2a5452a7848638900d9995e4ce68dd4 (commit)
       via  5699dd65012ac6ff62e07d6fefa14176251889e6 (commit)
       via  b5c483d78be895a978a69ea8459b489444ae361f (commit)
       via  55d46db483658a880473a96de19c5d84ab771c45 (commit)
       via  16b461160ce7c7e46303eb69ab3d5a009c01b8de (commit)
       via  d01cf71fd928aebea93fd6edfc72e29b14fb77f3 (commit)
       via  051deafb93866d0145be7a02b561ea1a39caa2f2 (commit)
       via  308a1847562142d68f6a174ca0eccae72490c651 (commit)
       via  bbfa7b50eaffc627954a53d3d1aa3b10258f308f (commit)
       via  46d2a9917828eac10fcce472962b6a1c25a7cf3e (commit)
       via  042a04674bc66cccebf9f86eb706a0d841c27ad1 (commit)
       via  2721fb590810ec202f4d96448d86d52539b2d65e (commit)
       via  5b6f9393cfbab8bc012ea4adc729f7944eb726da (commit)
       via  f120985591fcde3eb530a59eb014ac372ce14e60 (commit)
       via  0acff7a79e754ba90c7d1622ad2c10debab3c732 (commit)
       via  0c4f1245d79b822f306dc2b7d2edefe4f67ed0a2 (commit)
       via  262d0bbf6bec25981bb6472164f06310247075e6 (commit)
       via  f28d9fe47a02e0387b0f5429e54c22707ca124f4 (commit)
      from  1b9ddccb5cf8f411848e756876b97acbe87971f6 (commit)

Those revisions listed above that are new to this repository have
not appeared on any other notification email.

- Log -----------------------------------------------------------------
commit 35e7f68698003a0e4a5829b23d11ec2a871db3e8
Merge: 1b9ddcc 542ec3c
Author: Jan Kratochvil <jan.kratochvil@redhat.com>
Date:   Wed Apr 18 10:18:07 2012 +0200

    Merge branch 'x-pathvec0-1-secmove-misc2-safepath-debug-warn' into x-pathvec0-1-secmove-misc2-safepath-debug-warn-warnlocal

commit 542ec3c0be40af3faec8133bb182674d09201408
Merge: 7a13c6e 26d7686
Author: Jan Kratochvil <jan.kratochvil@redhat.com>
Date:   Wed Apr 18 10:18:06 2012 +0200

    Merge branch 'x-pathvec0-1-secmove-misc2-safepath-debug' into x-pathvec0-1-secmove-misc2-safepath-debug-warn

commit 26d76862a97a89a0def83ab04139f6cc96b39db8
Merge: 47dd206 4af4fb2
Author: Jan Kratochvil <jan.kratochvil@redhat.com>
Date:   Wed Apr 18 10:18:06 2012 +0200

    Merge branch 'x-pathvec0-1-secmove-misc2-safepath' into x-pathvec0-1-secmove-misc2-safepath-debug

commit 4af4fb2b54ade651de90ff2c59ecdce74d5e5220
Merge: b2d20f6 09f9008
Author: Jan Kratochvil <jan.kratochvil@redhat.com>
Date:   Wed Apr 18 10:18:06 2012 +0200

    Merge branch 'x-pathvec0-1-secmove-misc2' into x-pathvec0-1-secmove-misc2-safepath

commit b2d20f69410b0a033793bceb7754ab9bb49be634
Merge: c149f8f 31a54d6
Author: Jan Kratochvil <jan.kratochvil@redhat.com>
Date:   Wed Apr 18 10:18:02 2012 +0200

    Merge branch 'master' into x-pathvec0-1-secmove-misc2-safepath

commit 09f9008e2eb38762fbfda8e464ae5edd5bfcef39
Merge: 8de993e a0a3cb0
Author: Jan Kratochvil <jan.kratochvil@redhat.com>
Date:   Wed Apr 18 10:17:47 2012 +0200

    Merge branch 'x-pathvec0-1-secmove' into x-pathvec0-1-secmove-misc2

commit 8de993e913593c01aaba5b154f0ab5c5a8d84512
Merge: 003127c 31a54d6
Author: Jan Kratochvil <jan.kratochvil@redhat.com>
Date:   Wed Apr 18 10:17:40 2012 +0200

    Merge branch 'master' into x-pathvec0-1-secmove-misc2

commit a0a3cb07801254d04f6c4f03114c6fe917dceb56
Merge: 6388f95 5556e51
Author: Jan Kratochvil <jan.kratochvil@redhat.com>
Date:   Wed Apr 18 10:12:06 2012 +0200

    Merge branch 'x-pathvec0-1' into x-pathvec0-1-secmove

commit 5556e51d07c9f18355e75cacfce18de90feb2c31
Merge: cb5de33 2f100c1
Author: Jan Kratochvil <jan.kratochvil@redhat.com>
Date:   Wed Apr 18 10:12:06 2012 +0200

    Merge branch 'x-pathvec0' into x-pathvec0-1

commit 2f100c1174d54217d9dab89582d6933980e26837
Merge: 546a08d 86f0d8d
Author: Jan Kratochvil <jan.kratochvil@redhat.com>
Date:   Wed Apr 18 10:12:06 2012 +0200

    Merge branch 'x' into x-pathvec0

commit 47dd2061619730e7aebb4d3bcbe42638adfa9c6c
Merge: bc8a378 5b6f939
Author: Jan Kratochvil <jan.kratochvil@redhat.com>
Date:   Wed Apr 18 10:11:51 2012 +0200

    Merge commit '5b6f9393cfbab8bc012ea4adc729f7944eb726da' into x-pathvec0-1-secmove-misc2-safepath-debug

commit c149f8fe9692c413c8399779dd2be96a6f784d13
Merge: afe10a5 f120985
Author: Jan Kratochvil <jan.kratochvil@redhat.com>
Date:   Wed Apr 18 10:11:38 2012 +0200

    Merge commit 'f120985591fcde3eb530a59eb014ac372ce14e60' into x-pathvec0-1-secmove-misc2-safepath

commit 003127c06ae6d278797d1b9cbb52e0d022e215b7
Merge: a9f019c 0acff7a
Author: Jan Kratochvil <jan.kratochvil@redhat.com>
Date:   Wed Apr 18 10:11:27 2012 +0200

    Merge commit '0acff7a79e754ba90c7d1622ad2c10debab3c732' into x-pathvec0-1-secmove-misc2

commit 6388f952b8db5b542d0fc3341e79401046d0822b
Merge: 327113a 0c4f124
Author: Jan Kratochvil <jan.kratochvil@redhat.com>
Date:   Wed Apr 18 10:11:11 2012 +0200

    Merge commit '0c4f1245d79b822f306dc2b7d2edefe4f67ed0a2' into x-pathvec0-1-secmove

commit cb5de33dd14e8327d44c75cb41ae3189230991ec
Merge: 1e85da0 262d0bb
Author: Jan Kratochvil <jan.kratochvil@redhat.com>
Date:   Wed Apr 18 10:11:01 2012 +0200

    Merge commit '262d0bbf6bec25981bb6472164f06310247075e6' into x-pathvec0-1

commit 546a08ddc72650ec560d510e52d706bba9b1acce
Merge: e0ae2d5 f28d9fe
Author: Jan Kratochvil <jan.kratochvil@redhat.com>
Date:   Wed Apr 18 10:10:52 2012 +0200

    Merge commit 'f28d9fe47a02e0387b0f5429e54c22707ca124f4' into x-pathvec0

commit 86f0d8d5bf1baceaf64c5caa481b6fba33241764
Merge: 38de72c 31a54d6
Author: Jan Kratochvil <jan.kratochvil@redhat.com>
Date:   Wed Apr 18 10:09:27 2012 +0200

    Merge branch 'master' into x

commit 31a54d666f4bacdaf2f9eaaadf8ee32168e1e40f
Author: Jan Kratochvil <jan.kratochvil@redhat.com>
Date:   Wed Apr 18 07:03:57 2012 +0000

    gdb/doc/
    	* gdb.texinfo (Auto-loading verbose mode): Fix smallexample typo.

commit 6967f47519e220af61bc18a67736040793dc0c0f
Author: Jan Kratochvil <jan.kratochvil@redhat.com>
Date:   Wed Apr 18 07:00:24 2012 +0000

    Fix up comment to match reality.

commit 1e20d6a28a174d91cfb851925764e1947acaf052
Author: Jan Kratochvil <jan.kratochvil@redhat.com>
Date:   Wed Apr 18 06:52:25 2012 +0000

    gdb/
    	Fix 64-bit constants on 32-bit hosts.
    	* dwarf2read.c (read_unsigned_leb128): Change declaration return type
    	from unsigned long to ULONGEST.
    	(read_signed_leb128): Change declaration return type from long to
    	LONGEST.
    	(dwarf2_const_value_attr): Change declaration parameter value from long
    	to LONGEST.
    	(dwarf2_compute_name): Change variable value from long to LONGEST.
    	(read_unsigned_leb128): Change return type, variable result and some
    	casts from unsigned long to ULONGEST.
    	(read_signed_leb128): Change return type, variable result and some
    	casts from long to LONGEST.
    	(dwarf2_const_value_data, dwarf2_const_value_attr): Change parameter
    	value from long to LONGEST.
    	(dwarf2_const_value): Change variable value from long to LONGEST.
    	* symmisc.c (print_symbol): Change SYMBOL_VALUE format strings to use
    	plongest and hex_string.
    	* symtab.h (struct general_symbol_info): Change ivalue from long to
    	LONGEST, remove the comment.
    	* tracepoint.c (validate_actionline, collect_symbol, scope_info):
    	Change SYMBOL_VALUE format strings to use plongest and hex_string.

commit 253b0509388a097b446d818ead7b528d46a99886
Author: Jan Kratochvil <jan.kratochvil@redhat.com>
Date:   Wed Apr 18 06:51:05 2012 +0000

    Forgotten commit for:
    gdb/testsuite/
    	PR symtab/7259:
    	* gdb.base/enumval.c: New test case.
    	* gdb.base/enumval.exp: New test case.

commit dfd32e4e7ae35a6e083c81b33dc0e4022c492be6
Author: Jan Kratochvil <jan.kratochvil@redhat.com>
Date:   Wed Apr 18 06:46:45 2012 +0000

    gdb/
    	PR symtab/7259:
    	* ada-exp.y (convert_char_literal): Use TYPE_FIELD_ENUMVAL.
    	* ada-lang.c (ada_discrete_type_high_bound)
    	(ada_discrete_type_low_bound): Use TYPE_FIELD_ENUMVAL for
    	TYPE_CODE_ENUM.
    	(ada_identical_enum_types_p): Use TYPE_FIELD_ENUMVAL.
    	(pos_atr, value_val_atr): Use TYPE_FIELD_ENUMVAL for TYPE_CODE_ENUM.
    	* ada-typeprint.c (print_enum_type): Change variable lastval to LONGEST.
    	Use TYPE_FIELD_ENUMVAL.
    	* ada-valprint.c (print_optional_low_bound, ada_print_scalar)
    	(ada_val_print_1): Use TYPE_FIELD_ENUMVAL for TYPE_CODE_ENUM.
    	* c-typeprint.c (c_type_print_base): Move variable lastval to inner
    	block, change it to LONGEST.  Use TYPE_FIELD_ENUMVAL for
    	TYPE_CODE_ENUM.
    	* coffread.c (coff_read_enum_type): Use SET_FIELD_ENUMVAL.
    	* dwarf2read.c (process_enumeration_scope): Likewise.
    	* gdb-gdb.py (TypeFlagsPrinter): Use field.enumval instead of
    	field.bitpos.
    	(class StructMainTypePrettyPrinter): Support also
    	FIELD_LOC_KIND_ENUMVAL.
    	* gdbtypes.c (get_discrete_bounds): Use TYPE_FIELD_ENUMVAL for
    	TYPE_CODE_ENUM.
    	(recursive_dump_type): Use TYPE_FIELD_ENUMVAL for TYPE_CODE_ENUM.
    	(copy_type_recursive): Support also FIELD_LOC_KIND_ENUMVAL.
    	* gdbtypes.h (enum field_loc_kind): New FIELD_LOC_KIND_ENUMVAL.
    	(struct main_type.flds_bnds.fields.loc): Adjust bitpos comment.  New
    	field enumval.
    	(struct main_type.flds_bnds.bields): Adjust loc_kind and bitsize to
    	accommodate enumval.
    	(struct call_site): Adjust loc_kind to accommodate enumval.
    	(FIELD_ENUMVAL, FIELD_ENUMVAL_LVAL, SET_FIELD_ENUMVAL)
    	(TYPE_FIELD_ENUMVAL): New macros.
    	* m2-typeprint.c (m2_enum): Use TYPE_FIELD_ENUMVAL.
    	* mdebugread.c (parse_symbol): Use TYPE_FIELD_ENUMVAL for
    	TYPE_CODE_ENUM.
    	* p-typeprint.c (pascal_type_print_base): Likewise.
    	* python/lib/gdb/printing.py (class FlagEnumerationPrinter): Use
    	enumval.
    	* python/lib/gdb/types.py (make_enum_dict): Likewise.
    	* python/py-type.c (convert_field): New variable addrstring.  Use
    	TYPE_FIELD_ENUMVAL for TYPE_CODE_ENUM.
    	(check_types_equal): Support also FIELD_LOC_KIND_ENUMVAL.
    	* stabsread.c (read_enum_type): Use SET_FIELD_ENUMVAL.
    	* typepint.c (print_type_scalar): Use TYPE_FIELD_ENUMVAL for
    	TYPE_CODE_ENUM.
    	* valprint.c (generic_val_print): Likewise.
    
    gdb/testsuite/
    	PR symtab/7259:
    	* gdb.base/enumval.c: New test case.
    	* gdb.base/enumval.exp: New test case.
    	* gdb.python/py-type.exp (test_enums): Use field.enumval instead of
    	field.bitpos.

commit bee9e486b2a5452a7848638900d9995e4ce68dd4
Author: Doug Evans <dje@google.com>
Date:   Wed Apr 18 06:24:48 2012 +0000

    	* dwarf2read.c (lookup_signatured_type): Return NULL instead of 0.

commit 5699dd65012ac6ff62e07d6fefa14176251889e6
Author: Doug Evans <dje@google.com>
Date:   Wed Apr 18 06:21:04 2012 +0000

    	* dwarf2read.c: Whitespace fixes.
    	(lookup_signatured_type): Tweak comment.
    	(get_die_type_at_offset): Fix comment.

commit b5c483d78be895a978a69ea8459b489444ae361f
Author: Joel Brobecker <brobecker@gnat.com>
Date:   Wed Apr 18 00:25:08 2012 +0000

    pspace != NULL failed assertion on ppc-aix
    
    This patch fixes the following problem:
    
        % gdb foo
        (gdb) b main
        /[...]/progspace.c:216: internal-error: set_current_program_space: Assertion `pspace != NULL' failed.
        A problem internal to GDB has been detected,
        further debugging may prove unreliable.
        Quit this debugging session? (y or n)
    
    The problem happens when we try to get the program space from
    a minimal symbol.  For that, we go through the minimal symbol's
    obj_section->objfile->pspace.  But the minimal symbol's obj_section
    is not set, and thus we somehow get a NULL program space. And
    the reason why the obj_section is not set is because the XCOFF
    reader did not pass the bfd_section when calling minsyms.c's
    prim_record_minimal_symbol_and_info.
    
    gdb/ChangeLog:
    
            * xcoffread.c (xcoff_secnum_to_sections): New function.
            (secnum_to_section, secnum_to_bfd_section): Reimplement
            using xcoff_secnum_to_sections.  Rename "secnum" parameter
            into "n_scnum".
            (RECORD_MINIMAL_SYMBOL): Delete.
            (record_minimal_symbol): New function.
            (scan_xcoff_symtab): Replace uses of RECORD_MINIMAL_SYMBOL
            by call to record_minimal_symbol and set misc_func_recorded
            to 1.  Set last_csect_sec to the XCOFF section index instead
            of GDB's section_offset index.  Update calls to
            prim_record_minimal_symbol_and_info to pass the BFD section
            as well.

commit 55d46db483658a880473a96de19c5d84ab771c45
Author: Joel Brobecker <brobecker@gnat.com>
Date:   Wed Apr 18 00:24:56 2012 +0000

    Unused local variables in xcoffread.c:read_xcoff_symtab
    
    gdb/ChangeLog:
    
            * xcoffread.c (read_xcoff_symtab): Delete variables
            last_csect_val and last_csect_sec and associated code.

commit 16b461160ce7c7e46303eb69ab3d5a009c01b8de
Author: Alan Modra <amodra@bigpond.net.au>
Date:   Wed Apr 18 00:00:05 2012 +0000

    daily update

commit d01cf71fd928aebea93fd6edfc72e29b14fb77f3
Author: gdbadmin <gdbadmin@sourceware.org>
Date:   Wed Apr 18 00:00:02 2012 +0000

    *** empty log message ***

commit 051deafb93866d0145be7a02b561ea1a39caa2f2
Author: Kaz Kojima <kkojima@rr.iij4u.or.jp>
Date:   Tue Apr 17 21:58:50 2012 +0000

    	* elf32-sh.c (allocate_dynrelocs): Don't allocate dynamic
    	relocations when LE conversion happens on the IE tls symbol.

commit 308a1847562142d68f6a174ca0eccae72490c651
Author: Doug Evans <dje@google.com>
Date:   Tue Apr 17 21:24:46 2012 +0000

    	* cleanups.c (make_my_cleanup,make_my_cleanup2): Make static.
    	(discard_my_cleanups,save_my_cleanups,restore_my_cleanups): Ditto.
    	* cleanups.h (make_my_cleanup,make_my_cleanup2): Delete
    	(discard_my_cleanups,save_my_cleanups,restore_my_cleanups): Delete.

commit bbfa7b50eaffc627954a53d3d1aa3b10258f308f
Author: Doug Evans <dje@google.com>
Date:   Tue Apr 17 21:13:17 2012 +0000

    	* cleanups.h: New file.
    	* cleanups.c: New file.
    	* Makefile.in (SFILES): Add cleanups.c.
    	(HFILES_NO_SRCDIR): Add cleanups.h.
    	(COMMON_OBS): Add cleanups.o.
    	* defs.h (struct cleanup): Moved to cleanups.h.
    	(do_cleanups,do_final_cleanups): Ditto.
    	(discard_cleanups,discard_final_cleanups): Ditto
    	(make_cleanup,make_cleanup_dtor,make_final_cleanup): Ditto.
    	(save_cleanups,save_final_cleanups): Ditto.
    	(restore_cleanups,restore_final_cleanups): Ditto.
    	(null_cleanup): Ditto.
    	(make_my_cleanup,make_my_cleanup2): Ditto.
    	(discard_my_cleanups,save_my_cleanups,restore_my_cleanups): Ditto.
    	* utils.c (cleanup_chain,final_cleanup_chain): Moved to cleanups.c.
    	(do_cleanups,do_final_cleanups): Ditto.
    	(discard_cleanups,discard_final_cleanups): Ditto
    	(make_cleanup,make_cleanup_dtor,make_final_cleanup): Ditto.
    	(save_cleanups,save_final_cleanups): Ditto.
    	(restore_cleanups,restore_final_cleanups): Ditto.
    	(null_cleanup): Ditto.
    	(make_my_cleanup,make_my_cleanup2): Ditto.
    	(discard_my_cleanups,save_my_cleanups,restore_my_cleanups): Ditto.

commit 46d2a9917828eac10fcce472962b6a1c25a7cf3e
Author: Doug Evans <dje@google.com>
Date:   Tue Apr 17 20:48:17 2012 +0000

    	* utils.c (make_cleanup_freeargv): Use make_cleanup instead of
    	make_my_cleanup.
    	(make_cleanup_dyn_string_delete): Ditto.
    	(make_cleanup_ui_file_delete): Ditto.
    	(make_cleanup_ui_out_redirect_pop): Ditto.
    	(make_cleanup_free_section_addr_info): Ditto.
    	(make_cleanup_restore_integer): Ditto.
    	(make_cleanup_unpush_target): Ditto.
    	(make_cleanup_value_free_to_mark): Ditto.
    	(make_cleanup_value_free): Ditto.
    	(make_cleanup_free_so): Ditto.

commit 042a04674bc66cccebf9f86eb706a0d841c27ad1
Author: Roland McGrath <roland@gnu.org>
Date:   Tue Apr 17 19:53:18 2012 +0000

    * elf64-x86-64.c (elf_x86_64_nacl_plt0_entry): Fix nop padding
    so that 32-byte boundary is a proper instruction boundary.

commit 2721fb590810ec202f4d96448d86d52539b2d65e
Author: Pedro Alves <pedro@codesourcery.com>
Date:   Tue Apr 17 17:43:10 2012 +0000

    2012-04-17  Pedro Alves  <palves@redhat.com>
    
    	* Makefile.in (site.exp): Make site.exp source
    	$srcdir/lib/append_gdb_boards_dir.exp.
    	* lib/append_gdb_boards_dir.exp: New file.

commit 5b6f9393cfbab8bc012ea4adc729f7944eb726da
Author: Jan Kratochvil <jan.kratochvil@redhat.com>
Date:   Tue Apr 17 15:56:20 2012 +0000

    gdb/
    	New option "set debug auto-load".
    	* NEWS: New commands "set debug auto-load" and "show debug auto-load".
    	* auto-load.c (debug_auto_load, show_debug_auto_load: New.
    	(auto_load_safe_path_vec_update)
    	(filename_is_in_auto_load_safe_path_vec): Call fprintf_unfiltered
    	if DEBUG_AUTO_LOAD.
    	(file_is_auto_load_safe): New parameters debug_fmt and ....
    	Call fprintf_unfiltered if DEBUG_AUTO_LOAD.
    	(source_gdb_script_for_objfile): Extend the file_is_auto_load_safe
    	caller by explanatory string.
    	(_initialize_auto_load): Register "set debug auto-load".
    	* auto-load.h (file_is_auto_load_safe): New parameters debug_fmt
    	and ....
    	* linux-thread-db.c (try_thread_db_load_from_pdir_1)
    	(try_thread_db_load_from_dir): Extend the file_is_auto_load_safe caller
    	by explanatory string.
    	* main.c (captured_main): Likewise.
    	* python/py-auto-load.c (gdbpy_load_auto_script_for_objfile)
    	(source_section_scripts): Likewise.
    
    gdb/doc/
    	New option "set debug auto-load".
    	* gdb.texinfo (Auto-loading): New menu item for auto-load verbose mode.
    	(auto-load verbose mode): New node.

commit f120985591fcde3eb530a59eb014ac372ce14e60
Author: Jan Kratochvil <jan.kratochvil@redhat.com>
Date:   Tue Apr 17 15:54:28 2012 +0000

    gdb/
    	New option "set auto-load safe-path".
    	* NEWS: New commands "set auto-load safe-path"
    	and "show auto-load safe-path".
    	* auto-load.c: Include gdb_vecs.h, readline/tilde.h and completer.h.
    	(auto_load_safe_path, auto_load_safe_path_vec)
    	(auto_load_safe_path_vec_update, set_auto_load_safe_path)
    	(show_auto_load_safe_path, add_auto_load_safe_path, filename_is_in_dir)
    	(filename_is_in_auto_load_safe_path_vec, file_is_auto_load_safe): New.
    	(source_gdb_script_for_objfile): New variable is_safe.  Call
    	file_is_auto_load_safe.  Return if it is not.
    	(struct loaded_script): New field loaded.
    	(maybe_add_script): Add parameter loaded.  Initialize SLOT with it.
    	(print_script): Use LOADED indicator instead of FULL_PATH.  Change
    	output "Missing" to "No".
    	(_initialize_auto_load): New variable cmd.  Initialize
    	auto_load_safe_path.  Register "set auto-load safe-path",
    	"show auto-load safe-path" and "add-auto-load-safe-path".
    	* auto-load.h (maybe_add_script): Add parameter loaded.
    	(file_is_auto_load_safe): New declaration.
    	* config.in: Regenerate.
    	* configure: Regenerate.
    	* configure.ac: New parameters --with-auto-load-safe-path
    	and --without-auto-load-safe-path.
    	* linux-thread-db.c (try_thread_db_load_from_pdir_1)
    	(try_thread_db_load_from_dir): Check file_is_auto_load_safe first.
    	* main.c (captured_main): Check file_is_auto_load_safe for
    	LOCAL_GDBINIT.
    	* python/py-auto-load.c (gdbpy_load_auto_script_for_objfile): New
    	variable is_safe.  Call file_is_auto_load_safe.  Return if it is not.
    	(source_section_scripts): Call file_is_auto_load_safe.  Return if it is
    	not.
    
    gdb/doc/
    	New option "set auto-load safe-path".
    	* gdb.texinfo (Auto-loading): Extend the "show auto-load"
    	and "info auto-load" examples for safe-path.  Put there also references
    	for "set auto-load safe-path" and "show auto-load safe-path".
    	New menu item for Auto-loading safe path.
    	(Auto-loading safe path): New node.
    	(Python Auto-loading): Update the expected output from "Missing"
    	to "No".
    
    gdb/testsuite/
    	New option "set auto-load safe-path".
    	* gdb.python/py-objfile-script.exp (set auto-load safe-path): New.
    	* gdb.python/py-section-script.exp (set auto-load safe-path): New.

commit 0acff7a79e754ba90c7d1622ad2c10debab3c732
Author: Jan Kratochvil <jan.kratochvil@redhat.com>
Date:   Tue Apr 17 15:51:41 2012 +0000

    gdb/
    	auto-load: Implementation.
    	* NEWS: New descriptions for "info auto-load",
    	"info auto-load gdb-scripts", "info auto-load python-scripts",
    	"info auto-load local-gdbinit" and "info auto-load libthread-db".
    	Deprecate "info auto-load-scripts", "set auto-load-scripts on|off"
    	and "show auto-load-scripts".  New description for "set auto-load",
    	"show auto-load", "set auto-load gdb-scripts",
    	"show auto-load gdb-scripts", "set auto-load python-scripts",
    	"show auto-load python-scripts", "set auto-load local-gdbinit",
    	"show auto-load local-gdbinit", "set auto-load libthread-db" and
    	"show auto-load libthread-db".
    	* auto-load.c: Remove include python/python-internal.h.  Add includes
    	exceptions.h, cli/cli-script.h, gdbcmd.h, cli/cli-decode.h and
    	cli/cli-setshow.h.
    	(GDB_AUTO_FILE_NAME, source_gdb_script_for_objfile)
    	(auto_load_gdb_scripts, show_auto_load_gdb_scripts): New.
    	(gdbpy_global_auto_load): Rename to ...
    	(global_auto_load): ... here.
    	(auto_load_local_gdbinit, auto_load_local_gdbinit_pathname)
    	(auto_load_local_gdbinit_loaded, show_auto_load_local_gdbinit)
    	(script_language_gdb, source_gdb_script_for_objfile): New.
    	(struct loaded_script): New field language.
    	(hash_loaded_script_entry, eq_loaded_script_entry): Calculate also
    	LANGUAGE.
    	(maybe_add_script): Add parameter language.  Drop redundant
    	entry.full_path initialization.  Initialize entry.language and
    	(*slot)->language.
    	(auto_load_objfile_script): Change parameter suffix to language.
    	Remove the call of maybe_add_script.
    	Call language->source_script_for_objfile.
    	(load_auto_scripts_for_objfile, struct collect_matching_scripts_data):
    	New.
    	(collect_matching_scripts): Adjust it for
    	struct collect_matching_scripts_data.
    	(auto_load_info_scripts_pattern_nl): New variable.
    	(info_auto_load_scripts): Rename to ...
    	(auto_load_info_scripts): ... here, add parameter language.  Adjust it
    	for struct collect_matching_scripts_data.
    	(info_auto_load_gdb_scripts, info_auto_load_local_gdbinit)
    	(set_auto_load_cmd, auto_load_set_cmdlist_get, show_auto_load_cmd)
    	(auto_load_show_cmdlist_get, info_auto_load_cmd)
    	(auto_load_info_cmdlist_get): New.
    	(_initialize_auto_load): Move add_info of "auto-load-scripts" to
    	python/py-auto-load.c.  New installment for "set auto-load gdb-scripts",
    	"info auto-load gdb-scripts", "set auto-load local-gdbinit" and
    	"info auto-load local-gdbinit".
    	* auto-load.h (struct script_language): New.
    	(gdbpy_global_auto_load): Rename to ...
    	(global_auto_load): ... here.
    	(auto_load_local_gdbinit, auto_load_local_gdbinit_pathname)
    	(auto_load_local_gdbinit_loaded): New declarations.
    	(maybe_add_script): New parameter language.
    	(auto_load_objfile_script): Change parameter suffix to language.
    	(load_auto_scripts_for_objfile, auto_load_info_scripts_pattern_nl)
    	(auto_load_info_scripts, auto_load_set_cmdlist_get)
    	(auto_load_show_cmdlist_get, auto_load_info_cmdlist_get): New
    	declarations.
    	* linux-thread-db.c: Include auto-load.h and ctype.h.
    	(auto_load_thread_db, show_auto_load_thread_db): New.
    	(struct thread_db_info): New field filename.
    	(delete_thread_db_info): Call xfree for FILENAME.
    	(try_thread_db_load): Initialize FILENAME.
    	(try_thread_db_load_from_pdir, try_thread_db_load_from_dir): Return
    	if !AUTO_LOAD_THREAD_DB.
    	(info_auto_load_libthread_db_compare, info_auto_load_libthread_db): New.
    	(_initialize_thread_db): Install auto_load_thread_db
    	as "set auto-load libthread-db" and install info_auto_load_libthread_db
    	as "info auto-load libthread-db".
    	* main.c (captured_main): Rename gdbpy_global_auto_load to
    	global_auto_load.  Initialize AUTO_LOAD_LOCAL_GDBINIT_PATHNAME and
    	AUTO_LOAD_LOCAL_GDBINIT_LOADED.
    	(print_gdb_help): Extend the help for 'local init file'.
    	* python/py-auto-load.c: Remove a comment about gdb scripts extension.
    	(GDBPY_AUTO_SECTION_NAME): Extend the comment it is Python specific.
    	(auto_load_scripts): Rename to ...
    	(auto_load_python_scripts): ... here, update the comment.
    	(gdbpy_load_auto_script_for_objfile): New declaration.
    	(show_auto_load_python_scripts, script_language_python)
    	(gdbpy_load_auto_script_for_objfile): New.
    	(source_section_scripts): Refactor the code.
    	(load_auto_scripts_for_objfile): Rename to ...
    	(gdbpy_load_auto_scripts_for_objfile): ... here, update the
    	auto_load_objfile_script caller, drop GDBPY_GLOBAL_AUTO_LOAD checking.
    	(info_auto_load_python_scripts): New.
    	(gdbpy_initialize_auto_load): New variables cmd and cmd_name.
    	Rename "set auto-load-scripts" to "set auto-load python-scripts".
    	Register "set auto-load-scripts" as its deprecated alias.  Register
    	"info auto-load python-scripts".  Register "info auto-load-scripts" as
    	its deprecated alias.
    	(load_auto_scripts_for_objfile): Rename to ...
    	(gdbpy_load_auto_scripts_for_objfile): ... here.
    	* python/python.h (load_auto_scripts_for_objfile): Rename to ...
    	(gdbpy_load_auto_scripts_for_objfile): ... here.
    
    gdb/doc/
    	auto-load: Implementation.
    	* gdb.texinfo (Mode Options): New anchor for -nx.
    	(Startup): New anchors for Option -init-eval-command,
    	Home Directory Init File
    	and Init File in the Current Directory during Startup.
    	Mention set auto-load local-gdbinit with a reference.
    	Change the sample code to "set auto-load python-scripts".
    	(Threads): New anchor set libthread-db-search-path.
    	Provide references to libthread_db.so.1 file.
    	(Controlling GDB): New menu item for Auto-loading.
    	(Auto-loading, Init File in the Current Directory)
    	(libthread_db.so.1 file, objfile-gdb.gdb file): New nodes.
    	(Python): Rename the menu item Auto-loading to Python Auto-loading.
    	(Writing a Pretty-Printer, Objfiles In Python): Update the renamed
    	reference.
    	(Auto-loading): Rename to ...
    	(Python Auto-loading): ... here.  Change "set auto-load-scripts" to
    	"set auto-load python-scripts", new anchor for it.  Change
    	"show auto-load-scripts" to "show auto-load python-scripts", new anchor
    	for it.  Change "info auto-load-scripts"
    	to "info auto-load python-scripts", new anchor for it.  Change "scripts"
    	to "Python scripts".
    
    gdb/testsuite/
    	auto-load: Implementation.
    	* gdb.base/help.exp (test set height): Increase the height.
    	* gdb.python/py-objfile-script.exp (info auto-load-scripts): Change
    	to ...
    	(info auto-load python-scripts): ... here.
    	* gdb.python/py-section-script.exp (info auto-load-scripts *): Change
    	to ...
    	(info auto-load python-scripts *): ... here.

commit 0c4f1245d79b822f306dc2b7d2edefe4f67ed0a2
Author: Jan Kratochvil <jan.kratochvil@redhat.com>
Date:   Tue Apr 17 15:49:11 2012 +0000

    gdb/
    	auto-load: Move files.
    	* Makefile.in (SFILES): Add auto-load.c.
    	(HFILES_NO_SRCDIR): Add auto-load.h.
    	(COMMON_OBS): Add auto-load.o.
    	(distclean): Change .gdbinit for gdb-gdb.gdb.
    	* auto-load.c: New file, with parts from python/py-auto-load.c.
    	* auto-load.h: New file, with parts from python/python.h.
    	* configure: Regenerate.
    	* configure.ac (AC_OUTPUT): Change .gdbinit for gdb-gdb.gdb.
    	* gdb-gdb.gdb.in: New file, renamed from gdbinit.in.
    	* gdbinit.in: Remove file, rename it to gdb-gdb.gdb.in.
    	* main.c: Include auto-load.h.
    	* python/py-auto-load.c: Move include filenames.h, gdb_regex.h,
    	command.h, observer.h and progspace.h to auto-load.c.  Add include
    	auto-load.h.
    	(gdbpy_global_auto_load, struct auto_load_pspace_info)
    	(struct loaded_script, auto_load_pspace_data)
    	(auto_load_pspace_data_cleanup, get_auto_load_pspace_data)
    	(hash_loaded_script_entry, eq_loaded_script_entry)
    	(init_loaded_scripts_info, get_auto_load_pspace_data_for_loading)
    	(maybe_add_script): Move to auto-load.c.
    	(source_section_scripts): Change maybe_add_script parameters passing,
    	use script_not_found_warning_print.
    	(clear_section_scripts, auto_load_objfile_script)
    	(auto_load_new_objfile, loaded_script_ptr)
    	(DEF_VEC_P (loaded_script_ptr), collect_matching_scripts, print_script)
    	(sort_scripts_by_name, info_auto_load_scripts): Move to auto-load.c.
    	(gdbpy_initialize_auto_load): Move auto_load_pspace_data,
    	auto_load_new_objfile and info_auto_load_scripts initizations to
    	auto-load.c.
    	* python/python.h (gdbpy_global_auto_load): Move to auto-load.h.

commit 262d0bbf6bec25981bb6472164f06310247075e6
Author: Jan Kratochvil <jan.kratochvil@redhat.com>
Date:   Tue Apr 17 15:47:08 2012 +0000

    gdb/
    	Code cleanup.
    	* charset.c (find_charset_names): Remove variables ix and elt.
    	Use free_char_ptr_vec.
    	* elfread.c (build_id_to_debug_filename): New variables debugdir_vec,
    	back_to and ix.  Use dirnames_to_char_ptr_vec.  Remove variable
    	debugdir_end.  New variable debugdir_len.
    	* gdb_vecs.h (free_char_ptr_vec, make_cleanup_free_char_ptr_vec)
    	(dirnames_to_char_ptr_vec_append, dirnames_to_char_ptr_vec): New
    	declarations.
    	* progspace.c (clear_program_space_solib_cache): Remove variables ix
    	and elt.  Use free_char_ptr_vec.
    	* source.c (add_path): Remove variables argv, arg and argv_index.
    	New variables dir_vec, back_to, ix and name.
    	Use dirnames_to_char_ptr_vec_append.  Use freeargv instead of
    	make_cleanup_freeargv.  Remove variable separator.  Simplify the code
    	no longer expecting DIRNAME_SEPARATOR.
    	(openp): Remove variable p, p1 and len.  New variables dir_vec,
    	back_to, ix and dir.  Use dirnames_to_char_ptr_vec.  Simplify the code
    	no longer expecting DIRNAME_SEPARATOR.
    	* symfile.c (find_separate_debug_file): New variables debugdir_vec,
    	back_to and ix.  Use dirnames_to_char_ptr_vec.  Remove variable
    	debugdir_end.
    	* utils.c (free_char_ptr_vec, do_free_char_ptr_vec)
    	(make_cleanup_free_char_ptr_vec, dirnames_to_char_ptr_vec_append)
    	(dirnames_to_char_ptr_vec): New functions.

commit f28d9fe47a02e0387b0f5429e54c22707ca124f4
Author: Jan Kratochvil <jan.kratochvil@redhat.com>
Date:   Tue Apr 17 15:45:05 2012 +0000

    gdb/
    	Code cleanup.
    	* source.c (add_path): Remove always true conditional 'p == 0' and
    	unindent its code block.

-----------------------------------------------------------------------

Summary of changes:
 bfd/ChangeLog                               |   10 +
 bfd/elf32-sh.c                              |    3 +
 bfd/elf64-x86-64.c                          |    9 +-
 bfd/version.h                               |    2 +-
 gdb/ChangeLog                               |  364 +++++++++++++++++++++++++++
 gdb/Makefile.in                             |    6 +-
 gdb/ada-exp.y                               |    2 +-
 gdb/ada-lang.c                              |   12 +-
 gdb/ada-typeprint.c                         |   10 +-
 gdb/ada-valprint.c                          |    6 +-
 gdb/c-typeprint.c                           |   12 +-
 gdb/cleanups.c                              |  245 ++++++++++++++++++
 gdb/cleanups.h                              |   85 +++++++
 gdb/coffread.c                              |    2 +-
 gdb/defs.h                                  |   63 +-----
 gdb/doc/ChangeLog                           |   46 ++++
 gdb/doc/gdb.texinfo                         |    2 +-
 gdb/dwarf2read.c                            |   41 ++--
 gdb/gdb-gdb.py                              |    6 +-
 gdb/gdbtypes.c                              |   27 ++-
 gdb/gdbtypes.h                              |   19 +-
 gdb/m2-typeprint.c                          |    7 +-
 gdb/mdebugread.c                            |    2 +-
 gdb/p-typeprint.c                           |    7 +-
 gdb/python/lib/gdb/printing.py              |    4 +-
 gdb/python/lib/gdb/types.py                 |    4 +-
 gdb/python/py-type.c                        |   20 ++-
 gdb/stabsread.c                             |    2 +-
 gdb/symmisc.c                               |   27 ++-
 gdb/symtab.h                                |    5 +-
 gdb/testsuite/ChangeLog                     |   32 +++
 gdb/testsuite/Makefile.in                   |    1 +
 gdb/testsuite/gdb.base/enumval.c            |   30 +++
 gdb/testsuite/gdb.base/enumval.exp          |   31 +++
 gdb/testsuite/gdb.python/py-type.exp        |    4 +-
 gdb/testsuite/lib/append_gdb_boards_dir.exp |   48 ++++
 gdb/tracepoint.c                            |   25 +-
 gdb/typeprint.c                             |    2 +-
 gdb/utils.c                                 |  195 +-------------
 gdb/valprint.c                              |    6 +-
 gdb/version.in                              |    2 +-
 gdb/xcoffread.c                             |  158 +++++++-----
 42 files changed, 1163 insertions(+), 421 deletions(-)
 create mode 100644 gdb/cleanups.c
 create mode 100644 gdb/cleanups.h
 create mode 100644 gdb/testsuite/gdb.base/enumval.c
 create mode 100644 gdb/testsuite/gdb.base/enumval.exp
 create mode 100644 gdb/testsuite/lib/append_gdb_boards_dir.exp

First 500 lines of diff:
diff --git a/bfd/ChangeLog b/bfd/ChangeLog
index 7871002..dacde6d 100644
--- a/bfd/ChangeLog
+++ b/bfd/ChangeLog
@@ -1,3 +1,13 @@
+2012-04-17  Kaz Kojima  <kkojima@rr.iij4u.or.jp>
+
+	* elf32-sh.c (allocate_dynrelocs): Don't allocate dynamic
+	relocations when LE conversion happens on the IE tls symbol.
+
+2012-04-17  Roland McGrath  <mcgrathr@google.com>
+
+	* elf64-x86-64.c (elf_x86_64_nacl_plt0_entry): Fix nop padding
+	so that 32-byte boundary is a proper instruction boundary.
+
 2012-04-17  Tristan Gingold  <gingold@adacore.com>
 
 	* vms-lib.c (_bfd_vms_lib_get_module): Append .obj extension to
diff --git a/bfd/elf32-sh.c b/bfd/elf32-sh.c
index 9bc2dd5..87d4e4f 100644
--- a/bfd/elf32-sh.c
+++ b/bfd/elf32-sh.c
@@ -3104,6 +3104,9 @@ allocate_dynrelocs (struct elf_link_hash_entry *h, void *inf)
 	      && (got_type == GOT_NORMAL || got_type == GOT_FUNCDESC))
 	    htab->srofixup->size += 4;
 	}
+      /* No dynamic relocations required when IE->LE conversion happens.  */
+      else if (got_type == GOT_TLS_IE && !h->def_dynamic && !info->shared)
+	;
       /* R_SH_TLS_IE_32 needs one dynamic relocation if dynamic,
 	 R_SH_TLS_GD needs one if local symbol and two if global.  */
       else if ((got_type == GOT_TLS_GD && h->dynindx == -1)
diff --git a/bfd/elf64-x86-64.c b/bfd/elf64-x86-64.c
index 8ca811c..3b1c0cc 100644
--- a/bfd/elf64-x86-64.c
+++ b/bfd/elf64-x86-64.c
@@ -5134,13 +5134,16 @@ static const bfd_byte elf_x86_64_nacl_plt0_entry[NACL_PLT_ENTRY_SIZE] =
     0x4d, 0x01, 0xfb,             	/* add %r15, %r11		*/
     0x41, 0xff, 0xe3,             	/* jmpq *%r11			*/
 
-    /* 41 bytes of nop to pad out to the standard size.  */
+    /* 9-byte nop sequence to pad out to the next 32-byte boundary.  */
+    0x2e, 0x0f, 0x1f, 0x84, 0, 0, 0, 0, 0, /* nopl %cs:0x0(%rax,%rax,1)	*/
+
+    /* 32 bytes of nop to pad out to the standard size.  */
     0x66, 0x66, 0x66, 0x66, 0x66, 0x66,    /* excess data32 prefixes	*/
     0x2e, 0x0f, 0x1f, 0x84, 0, 0, 0, 0, 0, /* nopw %cs:0x0(%rax,%rax,1)	*/
     0x66, 0x66, 0x66, 0x66, 0x66, 0x66,    /* excess data32 prefixes	*/
     0x2e, 0x0f, 0x1f, 0x84, 0, 0, 0, 0, 0, /* nopw %cs:0x0(%rax,%rax,1)	*/
-    0x66, 0x66,                            /* excess data32 prefixes	*/
-    0x2e, 0x0f, 0x1f, 0x84, 0, 0, 0, 0, 0, /* nopw %cs:0x0(%rax,%rax,1)	*/
+    0x66,                                  /* excess data32 prefix	*/
+    0x90                                   /* nop */
   };
 
 static const bfd_byte elf_x86_64_nacl_plt_entry[NACL_PLT_ENTRY_SIZE] =
diff --git a/bfd/version.h b/bfd/version.h
index 4fb1340..7a26b8f 100644
--- a/bfd/version.h
+++ b/bfd/version.h
@@ -1,4 +1,4 @@
-#define BFD_VERSION_DATE 20120417
+#define BFD_VERSION_DATE 20120418
 #define BFD_VERSION @bfd_version@
 #define BFD_VERSION_STRING  @bfd_version_package@ @bfd_version_string@
 #define REPORT_BUGS_TO @report_bugs_to@
diff --git a/gdb/ChangeLog b/gdb/ChangeLog
index baf556b..d4e5235 100644
--- a/gdb/ChangeLog
+++ b/gdb/ChangeLog
@@ -1,3 +1,367 @@
+2012-04-18  Jan Kratochvil  <jan.kratochvil@redhat.com>
+
+	Fix 64-bit constants on 32-bit hosts.
+	* dwarf2read.c (read_unsigned_leb128): Change declaration return type
+	from unsigned long to ULONGEST.
+	(read_signed_leb128): Change declaration return type from long to
+	LONGEST.
+	(dwarf2_const_value_attr): Change declaration parameter value from long
+	to LONGEST.
+	(dwarf2_compute_name): Change variable value from long to LONGEST.
+	(read_unsigned_leb128): Change return type, variable result and some
+	casts from unsigned long to ULONGEST.
+	(read_signed_leb128): Change return type, variable result and some
+	casts from long to LONGEST.
+	(dwarf2_const_value_data, dwarf2_const_value_attr): Change parameter
+	value from long to LONGEST.
+	(dwarf2_const_value): Change variable value from long to LONGEST.
+	* symmisc.c (print_symbol): Change SYMBOL_VALUE format strings to use
+	plongest and hex_string.
+	* symtab.h (struct general_symbol_info): Change ivalue from long to
+	LONGEST, remove the comment.
+	* tracepoint.c (validate_actionline, collect_symbol, scope_info):
+	Change SYMBOL_VALUE format strings to use plongest and hex_string.
+
+2012-04-18  Siddhesh Poyarekar  <siddhesh@redhat.com>
+
+	PR symtab/7259:
+	* ada-exp.y (convert_char_literal): Use TYPE_FIELD_ENUMVAL.
+	* ada-lang.c (ada_discrete_type_high_bound)
+	(ada_discrete_type_low_bound): Fix function comment.  Use
+	TYPE_FIELD_ENUMVAL for TYPE_CODE_ENUM.
+	(ada_identical_enum_types_p): Use TYPE_FIELD_ENUMVAL.
+	(pos_atr, value_val_atr): Use TYPE_FIELD_ENUMVAL for TYPE_CODE_ENUM.
+	* ada-typeprint.c (print_enum_type): Change variable lastval to LONGEST.
+	Use TYPE_FIELD_ENUMVAL.
+	* ada-valprint.c (print_optional_low_bound, ada_print_scalar)
+	(ada_val_print_1): Use TYPE_FIELD_ENUMVAL for TYPE_CODE_ENUM.
+	* c-typeprint.c (c_type_print_base): Move variable lastval to inner
+	block, change it to LONGEST.  Use TYPE_FIELD_ENUMVAL for
+	TYPE_CODE_ENUM.
+	* coffread.c (coff_read_enum_type): Use SET_FIELD_ENUMVAL.
+	* dwarf2read.c (process_enumeration_scope): Likewise.
+	* gdb-gdb.py (TypeFlagsPrinter): Use field.enumval instead of
+	field.bitpos.
+	(class StructMainTypePrettyPrinter): Support also
+	FIELD_LOC_KIND_ENUMVAL.
+	* gdbtypes.c (get_discrete_bounds): Use TYPE_FIELD_ENUMVAL for
+	TYPE_CODE_ENUM.
+	(recursive_dump_type): Use TYPE_FIELD_ENUMVAL for TYPE_CODE_ENUM.
+	(copy_type_recursive): Support also FIELD_LOC_KIND_ENUMVAL.
+	* gdbtypes.h (enum field_loc_kind): New FIELD_LOC_KIND_ENUMVAL.
+	(struct main_type.flds_bnds.fields.loc): Adjust bitpos comment.  New
+	field enumval.
+	(struct main_type.flds_bnds.bields): Adjust loc_kind and bitsize to
+	accommodate enumval.
+	(struct call_site): Adjust loc_kind to accommodate enumval.
+	(FIELD_ENUMVAL, FIELD_ENUMVAL_LVAL, SET_FIELD_ENUMVAL)
+	(TYPE_FIELD_ENUMVAL): New macros.
+	* m2-typeprint.c (m2_enum): Use TYPE_FIELD_ENUMVAL.
+	* mdebugread.c (parse_symbol): Use TYPE_FIELD_ENUMVAL for
+	TYPE_CODE_ENUM.
+	* p-typeprint.c (pascal_type_print_base): Likewise.
+	* python/lib/gdb/printing.py (class FlagEnumerationPrinter): Use
+	enumval.
+	* python/lib/gdb/types.py (make_enum_dict): Likewise.
+	* python/py-type.c (convert_field): New variable addrstring.  Use
+	TYPE_FIELD_ENUMVAL for TYPE_CODE_ENUM.
+	(check_types_equal): Support also FIELD_LOC_KIND_ENUMVAL.
+	* stabsread.c (read_enum_type): Use SET_FIELD_ENUMVAL.
+	* typepint.c (print_type_scalar): Use TYPE_FIELD_ENUMVAL for
+	TYPE_CODE_ENUM.
+	* valprint.c (generic_val_print): Likewise.
+
+2012-04-17  Doug Evans  <dje@google.com>
+
+	* dwarf2read.c (lookup_signatured_type): Return NULL instead of 0.
+
+	* dwarf2read.c: Whitespace fixes.
+	(lookup_signatured_type): Tweak comment.
+	(get_die_type_at_offset): Fix comment.
+
+2012-04-17  Joel Brobecker  <brobecker@adacore.com>
+
+	* xcoffread.c (xcoff_secnum_to_sections): New function.
+	(secnum_to_section, secnum_to_bfd_section): Reimplement
+	using xcoff_secnum_to_sections.  Rename "secnum" parameter
+	into "n_scnum".
+	(RECORD_MINIMAL_SYMBOL): Delete.
+	(record_minimal_symbol): New function.
+	(scan_xcoff_symtab): Replace uses of RECORD_MINIMAL_SYMBOL
+	by call to record_minimal_symbol and set misc_func_recorded
+	to 1.  Set last_csect_sec to the XCOFF section index instead
+	of GDB's section_offset index.  Update calls to
+	prim_record_minimal_symbol_and_info to pass the BFD section
+	as well.
+
+2012-04-17  Joel Brobecker  <brobecker@adacore.com>
+
+	* xcoffread.c (read_xcoff_symtab): Delete variables
+	last_csect_val and last_csect_sec and associated code.
+
+2012-04-17  Doug Evans  <dje@google.com>
+
+	* cleanups.c (make_my_cleanup,make_my_cleanup2): Make static.
+	(discard_my_cleanups,save_my_cleanups,restore_my_cleanups): Ditto.
+	* cleanups.h (make_my_cleanup,make_my_cleanup2): Delete
+	(discard_my_cleanups,save_my_cleanups,restore_my_cleanups): Delete.
+
+	* cleanups.h: New file.
+	* cleanups.c: New file.
+	* Makefile.in (SFILES): Add cleanups.c.
+	(HFILES_NO_SRCDIR): Add cleanups.h.
+	(COMMON_OBS): Add cleanups.o.
+	* defs.h (struct cleanup): Moved to cleanups.h.
+	(do_cleanups,do_final_cleanups): Ditto.
+	(discard_cleanups,discard_final_cleanups): Ditto
+	(make_cleanup,make_cleanup_dtor,make_final_cleanup): Ditto.
+	(save_cleanups,save_final_cleanups): Ditto.
+	(restore_cleanups,restore_final_cleanups): Ditto.
+	(null_cleanup): Ditto.
+	(make_my_cleanup,make_my_cleanup2): Ditto.
+	(discard_my_cleanups,save_my_cleanups,restore_my_cleanups): Ditto.
+	* utils.c (cleanup_chain,final_cleanup_chain): Moved to cleanups.c.
+	(do_cleanups,do_final_cleanups): Ditto.
+	(discard_cleanups,discard_final_cleanups): Ditto
+	(make_cleanup,make_cleanup_dtor,make_final_cleanup): Ditto.
+	(save_cleanups,save_final_cleanups): Ditto.
+	(restore_cleanups,restore_final_cleanups): Ditto.
+	(null_cleanup): Ditto.
+	(make_my_cleanup,make_my_cleanup2): Ditto.
+	(discard_my_cleanups,save_my_cleanups,restore_my_cleanups): Ditto.
+
+	* utils.c (make_cleanup_freeargv): Use make_cleanup instead of
+	make_my_cleanup.
+	(make_cleanup_dyn_string_delete): Ditto.
+	(make_cleanup_ui_file_delete): Ditto.
+	(make_cleanup_ui_out_redirect_pop): Ditto.
+	(make_cleanup_free_section_addr_info): Ditto.
+	(make_cleanup_restore_integer): Ditto.
+	(make_cleanup_unpush_target): Ditto.
+	(make_cleanup_value_free_to_mark): Ditto.
+	(make_cleanup_value_free): Ditto.
+	(make_cleanup_free_so): Ditto.
+
+2012-04-17  Jan Kratochvil  <jan.kratochvil@redhat.com>
+
+	New option "set debug auto-load".
+	* NEWS: New commands "set debug auto-load" and "show debug auto-load".
+	* auto-load.c (debug_auto_load, show_debug_auto_load: New.
+	(auto_load_safe_path_vec_update)
+	(filename_is_in_auto_load_safe_path_vec): Call fprintf_unfiltered
+	if DEBUG_AUTO_LOAD.
+	(file_is_auto_load_safe): New parameters debug_fmt and ....
+	Call fprintf_unfiltered if DEBUG_AUTO_LOAD.
+	(source_gdb_script_for_objfile): Extend the file_is_auto_load_safe
+	caller by explanatory string.
+	(_initialize_auto_load): Register "set debug auto-load".
+	* auto-load.h (file_is_auto_load_safe): New parameters debug_fmt
+	and ....
+	* linux-thread-db.c (try_thread_db_load_from_pdir_1)
+	(try_thread_db_load_from_dir): Extend the file_is_auto_load_safe caller
+	by explanatory string.
+	* main.c (captured_main): Likewise.
+	* python/py-auto-load.c (gdbpy_load_auto_script_for_objfile)
+	(source_section_scripts): Likewise.
+
+2012-04-17  Jan Kratochvil  <jan.kratochvil@redhat.com>
+
+	New option "set auto-load safe-path".
+	* NEWS: New commands "set auto-load safe-path"
+	and "show auto-load safe-path".
+	* auto-load.c: Include gdb_vecs.h, readline/tilde.h and completer.h.
+	(auto_load_safe_path, auto_load_safe_path_vec)
+	(auto_load_safe_path_vec_update, set_auto_load_safe_path)
+	(show_auto_load_safe_path, add_auto_load_safe_path, filename_is_in_dir)
+	(filename_is_in_auto_load_safe_path_vec, file_is_auto_load_safe): New.
+	(source_gdb_script_for_objfile): New variable is_safe.  Call
+	file_is_auto_load_safe.  Return if it is not.
+	(struct loaded_script): New field loaded.
+	(maybe_add_script): Add parameter loaded.  Initialize SLOT with it.
+	(print_script): Use LOADED indicator instead of FULL_PATH.  Change
+	output "Missing" to "No".
+	(_initialize_auto_load): New variable cmd.  Initialize
+	auto_load_safe_path.  Register "set auto-load safe-path",
+	"show auto-load safe-path" and "add-auto-load-safe-path".
+	* auto-load.h (maybe_add_script): Add parameter loaded.
+	(file_is_auto_load_safe): New declaration.
+	* config.in: Regenerate.
+	* configure: Regenerate.
+	* configure.ac: New parameters --with-auto-load-safe-path
+	and --without-auto-load-safe-path.
+	* linux-thread-db.c (try_thread_db_load_from_pdir_1)
+	(try_thread_db_load_from_dir): Check file_is_auto_load_safe first.
+	* main.c (captured_main): Check file_is_auto_load_safe for
+	LOCAL_GDBINIT.
+	* python/py-auto-load.c (gdbpy_load_auto_script_for_objfile): New
+	variable is_safe.  Call file_is_auto_load_safe.  Return if it is not.
+	(source_section_scripts): Call file_is_auto_load_safe.  Return if it is
+	not.
+
+2012-04-17  Jan Kratochvil  <jan.kratochvil@redhat.com>
+
+	auto-load: Implementation.
+	* NEWS: New descriptions for "info auto-load",
+	"info auto-load gdb-scripts", "info auto-load python-scripts",
+	"info auto-load local-gdbinit" and "info auto-load libthread-db".
+	Deprecate "info auto-load-scripts", "set auto-load-scripts on|off"
+	and "show auto-load-scripts".  New description for "set auto-load",
+	"show auto-load", "set auto-load gdb-scripts",
+	"show auto-load gdb-scripts", "set auto-load python-scripts",
+	"show auto-load python-scripts", "set auto-load local-gdbinit",
+	"show auto-load local-gdbinit", "set auto-load libthread-db" and
+	"show auto-load libthread-db".
+	* auto-load.c: Remove include python/python-internal.h.  Add includes
+	exceptions.h, cli/cli-script.h, gdbcmd.h, cli/cli-decode.h and
+	cli/cli-setshow.h.
+	(GDB_AUTO_FILE_NAME, source_gdb_script_for_objfile)
+	(auto_load_gdb_scripts, show_auto_load_gdb_scripts): New.
+	(gdbpy_global_auto_load): Rename to ...
+	(global_auto_load): ... here.
+	(auto_load_local_gdbinit, auto_load_local_gdbinit_pathname)
+	(auto_load_local_gdbinit_loaded, show_auto_load_local_gdbinit)
+	(script_language_gdb, source_gdb_script_for_objfile): New.
+	(struct loaded_script): New field language.
+	(hash_loaded_script_entry, eq_loaded_script_entry): Calculate also
+	LANGUAGE.
+	(maybe_add_script): Add parameter language.  Drop redundant
+	entry.full_path initialization.  Initialize entry.language and
+	(*slot)->language.
+	(auto_load_objfile_script): Change parameter suffix to language.
+	Remove the call of maybe_add_script.
+	Call language->source_script_for_objfile.
+	(load_auto_scripts_for_objfile, struct collect_matching_scripts_data):
+	New.
+	(collect_matching_scripts): Adjust it for
+	struct collect_matching_scripts_data.
+	(auto_load_info_scripts_pattern_nl): New variable.
+	(info_auto_load_scripts): Rename to ...
+	(auto_load_info_scripts): ... here, add parameter language.  Adjust it
+	for struct collect_matching_scripts_data.
+	(info_auto_load_gdb_scripts, info_auto_load_local_gdbinit)
+	(set_auto_load_cmd, auto_load_set_cmdlist_get, show_auto_load_cmd)
+	(auto_load_show_cmdlist_get, info_auto_load_cmd)
+	(auto_load_info_cmdlist_get): New.
+	(_initialize_auto_load): Move add_info of "auto-load-scripts" to
+	python/py-auto-load.c.  New installment for "set auto-load gdb-scripts",
+	"info auto-load gdb-scripts", "set auto-load local-gdbinit" and
+	"info auto-load local-gdbinit".
+	* auto-load.h (struct script_language): New.
+	(gdbpy_global_auto_load): Rename to ...
+	(global_auto_load): ... here.
+	(auto_load_local_gdbinit, auto_load_local_gdbinit_pathname)
+	(auto_load_local_gdbinit_loaded): New declarations.
+	(maybe_add_script): New parameter language.
+	(auto_load_objfile_script): Change parameter suffix to language.
+	(load_auto_scripts_for_objfile, auto_load_info_scripts_pattern_nl)
+	(auto_load_info_scripts, auto_load_set_cmdlist_get)
+	(auto_load_show_cmdlist_get, auto_load_info_cmdlist_get): New
+	declarations.
+	* linux-thread-db.c: Include auto-load.h and ctype.h.
+	(auto_load_thread_db, show_auto_load_thread_db): New.
+	(struct thread_db_info): New field filename.
+	(delete_thread_db_info): Call xfree for FILENAME.
+	(try_thread_db_load): Initialize FILENAME.
+	(try_thread_db_load_from_pdir, try_thread_db_load_from_dir): Return
+	if !AUTO_LOAD_THREAD_DB.
+	(info_auto_load_libthread_db_compare, info_auto_load_libthread_db): New.
+	(_initialize_thread_db): Install auto_load_thread_db
+	as "set auto-load libthread-db" and install info_auto_load_libthread_db
+	as "info auto-load libthread-db".
+	* main.c (captured_main): Rename gdbpy_global_auto_load to
+	global_auto_load.  Initialize AUTO_LOAD_LOCAL_GDBINIT_PATHNAME and
+	AUTO_LOAD_LOCAL_GDBINIT_LOADED.
+	(print_gdb_help): Extend the help for 'local init file'.
+	* python/py-auto-load.c: Remove a comment about gdb scripts extension.
+	(GDBPY_AUTO_SECTION_NAME): Extend the comment it is Python specific.
+	(auto_load_scripts): Rename to ...
+	(auto_load_python_scripts): ... here, update the comment.
+	(gdbpy_load_auto_script_for_objfile): New declaration.
+	(show_auto_load_python_scripts, script_language_python)
+	(gdbpy_load_auto_script_for_objfile): New.
+	(source_section_scripts): Refactor the code.
+	(load_auto_scripts_for_objfile): Rename to ...
+	(gdbpy_load_auto_scripts_for_objfile): ... here, update the
+	auto_load_objfile_script caller, drop GDBPY_GLOBAL_AUTO_LOAD checking.
+	(info_auto_load_python_scripts): New.
+	(gdbpy_initialize_auto_load): New variables cmd and cmd_name.
+	Rename "set auto-load-scripts" to "set auto-load python-scripts".
+	Register "set auto-load-scripts" as its deprecated alias.  Register
+	"info auto-load python-scripts".  Register "info auto-load-scripts" as
+	its deprecated alias.
+	(load_auto_scripts_for_objfile): Rename to ...
+	(gdbpy_load_auto_scripts_for_objfile): ... here.
+	* python/python.h (load_auto_scripts_for_objfile): Rename to ...
+	(gdbpy_load_auto_scripts_for_objfile): ... here.
+
+2012-04-17  Jan Kratochvil  <jan.kratochvil@redhat.com>
+
+	auto-load: Move files.
+	* Makefile.in (SFILES): Add auto-load.c.
+	(HFILES_NO_SRCDIR): Add auto-load.h.
+	(COMMON_OBS): Add auto-load.o.
+	(distclean): Change .gdbinit for gdb-gdb.gdb.
+	* auto-load.c: New file, with parts from python/py-auto-load.c.
+	* auto-load.h: New file, with parts from python/python.h.
+	* configure: Regenerate.
+	* configure.ac (AC_OUTPUT): Change .gdbinit for gdb-gdb.gdb.
+	* gdb-gdb.gdb.in: New file, renamed from gdbinit.in.
+	* gdbinit.in: Remove file, rename it to gdb-gdb.gdb.in.
+	* main.c: Include auto-load.h.
+	* python/py-auto-load.c: Move include filenames.h, gdb_regex.h,
+	command.h, observer.h and progspace.h to auto-load.c.  Add include
+	auto-load.h.
+	(gdbpy_global_auto_load, struct auto_load_pspace_info)
+	(struct loaded_script, auto_load_pspace_data)
+	(auto_load_pspace_data_cleanup, get_auto_load_pspace_data)
+	(hash_loaded_script_entry, eq_loaded_script_entry)
+	(init_loaded_scripts_info, get_auto_load_pspace_data_for_loading)
+	(maybe_add_script): Move to auto-load.c.
+	(source_section_scripts): Change maybe_add_script parameters passing,
+	use script_not_found_warning_print.
+	(clear_section_scripts, auto_load_objfile_script)
+	(auto_load_new_objfile, loaded_script_ptr)
+	(DEF_VEC_P (loaded_script_ptr), collect_matching_scripts, print_script)
+	(sort_scripts_by_name, info_auto_load_scripts): Move to auto-load.c.
+	(gdbpy_initialize_auto_load): Move auto_load_pspace_data,
+	auto_load_new_objfile and info_auto_load_scripts initizations to
+	auto-load.c.
+	* python/python.h (gdbpy_global_auto_load): Move to auto-load.h.
+
+2012-04-17  Jan Kratochvil  <jan.kratochvil@redhat.com>
+
+	Code cleanup.
+	* charset.c (find_charset_names): Remove variables ix and elt.
+	Use free_char_ptr_vec.
+	* elfread.c (build_id_to_debug_filename): New variables debugdir_vec,
+	back_to and ix.  Use dirnames_to_char_ptr_vec.  Remove variable
+	debugdir_end.  New variable debugdir_len.
+	* gdb_vecs.h (free_char_ptr_vec, make_cleanup_free_char_ptr_vec)
+	(dirnames_to_char_ptr_vec_append, dirnames_to_char_ptr_vec): New
+	declarations.
+	* progspace.c (clear_program_space_solib_cache): Remove variables ix
+	and elt.  Use free_char_ptr_vec.
+	* source.c (add_path): Remove variables argv, arg and argv_index.
+	New variables dir_vec, back_to, ix and name.
+	Use dirnames_to_char_ptr_vec_append.  Use freeargv instead of
+	make_cleanup_freeargv.  Remove variable separator.  Simplify the code
+	no longer expecting DIRNAME_SEPARATOR.
+	(openp): Remove variable p, p1 and len.  New variables dir_vec,
+	back_to, ix and dir.  Use dirnames_to_char_ptr_vec.  Simplify the code
+	no longer expecting DIRNAME_SEPARATOR.
+	* symfile.c (find_separate_debug_file): New variables debugdir_vec,
+	back_to and ix.  Use dirnames_to_char_ptr_vec.  Remove variable
+	debugdir_end.
+	* utils.c (free_char_ptr_vec, do_free_char_ptr_vec)
+	(make_cleanup_free_char_ptr_vec, dirnames_to_char_ptr_vec_append)
+	(dirnames_to_char_ptr_vec): New functions.
+
+2012-04-17  Jan Kratochvil  <jan.kratochvil@redhat.com>
+
+	Code cleanup.
+	* source.c (add_path): Remove always true conditional 'p == 0' and
+	unindent its code block.
+
 2012-04-17  Pedro Alves  <palves@redhat.com>
 
 	* gdbtypes.h (FIELD_BITPOS): Rename to ...
diff --git a/gdb/Makefile.in b/gdb/Makefile.in
index 617b59d..5acf5ee 100644
--- a/gdb/Makefile.in
+++ b/gdb/Makefile.in
@@ -690,7 +690,7 @@ SFILES = ada-exp.y ada-lang.c ada-typeprint.c ada-valprint.c ada-tasks.c \
 	bfd-target.c \
 	block.c blockframe.c breakpoint.c buildsym.c \
 	c-exp.y c-lang.c c-typeprint.c c-valprint.c \
-	charset.c cli-out.c coffread.c coff-pe-read.c \
+	charset.c cleanups.c cli-out.c coffread.c coff-pe-read.c \
 	complaints.c completer.c continuations.c corefile.c corelow.c \
 	cp-abi.c cp-support.c cp-namespace.c cp-valprint.c \
 	d-lang.c d-valprint.c \
@@ -783,7 +783,7 @@ objfiles.h vec.h disasm.h mips-tdep.h ser-base.h \
 gdb_curses.h bfd-target.h memattr.h inferior.h ax.h dummy-frame.h \
 inflow.h fbsd-nat.h ia64-libunwind-tdep.h completer.h inf-ttrace.h \
 solib-target.h gdb_vfork.h alpha-tdep.h dwarf2expr.h \
-m2-lang.h stack.h charset.h addrmap.h command.h solist.h source.h \
+m2-lang.h stack.h charset.h cleanups.h addrmap.h command.h solist.h source.h \
 target.h prologue-value.h cp-abi.h tui/tui-hooks.h tui/tui.h \
 tui/tui-file.h tui/tui-command.h tui/tui-disasm.h tui/tui-wingeneral.h \
 tui/tui-windata.h tui/tui-data.h tui/tui-win.h tui/tui-stack.h \
@@ -858,7 +858,7 @@ COMMON_OBS = $(DEPFILES) $(CONFIG_OBS) $(YYOBJ) \
 	auto-load.o auxv.o \
 	agent.o \
 	bfd-target.o \
-	blockframe.o breakpoint.o findvar.o regcache.o \
+	blockframe.o breakpoint.o findvar.o regcache.o cleanups.o \
 	charset.o continuations.o corelow.o disasm.o dummy-frame.o dfp.o \
 	source.o value.o eval.o valops.o valarith.o valprint.o printcmd.o \
 	block.o symtab.o psymtab.o symfile.o symmisc.o linespec.o dictionary.o \
diff --git a/gdb/ada-exp.y b/gdb/ada-exp.y
index 36ef3d4..1a80b0b 100644
--- a/gdb/ada-exp.y
+++ b/gdb/ada-exp.y
@@ -1463,7 +1463,7 @@ convert_char_literal (struct type *type, LONGEST val)
   for (f = 0; f < TYPE_NFIELDS (type); f += 1)
     {
       if (strcmp (name, TYPE_FIELD_NAME (type, f)) == 0)
-	return TYPE_FIELD_BITPOS (type, f);
+	return TYPE_FIELD_ENUMVAL (type, f);
     }
   return val;
 }
diff --git a/gdb/ada-lang.c b/gdb/ada-lang.c
index 2e1df7a..52e1e59 100644
--- a/gdb/ada-lang.c
+++ b/gdb/ada-lang.c
@@ -690,7 +690,7 @@ ada_discrete_type_high_bound (struct type *type)
     case TYPE_CODE_RANGE:
       return TYPE_HIGH_BOUND (type);
     case TYPE_CODE_ENUM:
-      return TYPE_FIELD_BITPOS (type, TYPE_NFIELDS (type) - 1);
+      return TYPE_FIELD_ENUMVAL (type, TYPE_NFIELDS (type) - 1);
     case TYPE_CODE_BOOL:
       return 1;
     case TYPE_CODE_CHAR:
@@ -701,7 +701,7 @@ ada_discrete_type_high_bound (struct type *type)
     }
 }
 
-/* The largest value in the domain of TYPE, a discrete type, as an integer.  */


hooks/post-receive
--
Repository for Project Archer.


^ permalink raw reply	[flat|nested] 2+ messages in thread

end of thread, other threads:[~2012-04-18  8:20 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2012-04-17 15:57 [SCM] archer-jankratochvil-autoload: Merge branch 'x-pathvec0-1-secmove-misc2-safepath-debug-warn' into x-pathvec0-1-secmove-misc2-safepath-debug-warn-warnlocal jkratoch
2012-04-18  8:20 jkratoch

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).