* symfile.c (place_section): Check SEC_ALLOC. Do not check VMA.
authorDaniel Jacobowitz <drow@false.org>
Mon, 26 Feb 2007 20:04:38 +0000 (20:04 +0000)
committerDaniel Jacobowitz <drow@false.org>
Mon, 26 Feb 2007 20:04:38 +0000 (20:04 +0000)
commit2711e4564f4ab411bdf2cedff3fb92abadd630b8
tree53e997b7e4ecb939ec38343c531c5a7aab8aaf7c
parentbaef701fc2712c0e7119fc5e7996b15af154e88b
* symfile.c (place_section): Check SEC_ALLOC.  Do not check VMA.
(default_symfile_offsets): Check VMA here.  Update section VMAs.

* gdb.cp/cp-relocate.cc, gdb.cp/cp-relocate.exp: New.
gdb/ChangeLog
gdb/symfile.c
gdb/testsuite/ChangeLog
gdb/testsuite/gdb.cp/cp-relocate.cc [new file with mode: 0644]
gdb/testsuite/gdb.cp/cp-relocate.exp [new file with mode: 0644]