mirror of
https://sourceware.org/git/binutils-gdb.git
synced 2024-12-21 04:42:53 +08:00
8fbf7334de
2012-08-01 James Lemke <jwlemke@codesourcery.com> * gas/dwarf2dbg.c (out_set_addr): Allow for non-constant value of DWARF2_LINE_MIN_INSN_LENGTH * gas/config/tc-ppc.c (ppc_dwarf2_line_min_insn_length): Declare and initialize. (md_apply_fix): Branch addr can be a multiple of 2 or 4. * gas/config/tc-ppc.h (DWARF2_LINE_MIN_INSN_LENGTH): Now a variable reference. gas/testsuite/ChangeLog: 2012-08-01 James Lemke <jwlemke@codesourcery.com> * gas/cfi/cfi-ppc-1.d: Allow for code alignment of 2 or 4. ld/ChangeLog: 2012-08-01 James Lemke <jwlemke@codesourcery.com> * ld/testsuite/ld-gc/pr13683.d: XFAIL for powerpc*-*-eabivle.
13 lines
427 B
D
13 lines
427 B
D
#name: --gc-sections with --defsym
|
|
#source: dummy.s
|
|
#ld: --gc-sections -e main --defsym foo=foo2 tmpdir/pr13683.o
|
|
#nm: --format=bsd
|
|
#xfail: sh64*-*-* iq2000-*-* lm32-*-* epiphany-*-* mips64vr-*-* frv-*-* m32c-*-* rl78-*-* rx-*-* sh-*-* powerpc*-*-eabivle
|
|
|
|
# Note - look for both "foo" and "foo2" being defined, non-zero function symbols
|
|
|
|
#...
|
|
0*[1-9a-f]+[0-9a-f]*[ ](T|D)[ ]_*foo
|
|
0*[1-9a-f]+[0-9a-f]*[ ](T|D)[ ]_*foo2
|
|
#...
|