From 8b38d25ceeee4277abf3080517bee7bd33ef51f6 Mon Sep 17 00:00:00 2001 From: Hans-Peter Nilsson Date: Tue, 19 Mar 2002 23:49:51 +0000 Subject: [PATCH] * ld-cris/ldsym1.d: New test. --- ld/testsuite/ChangeLog | 2 ++ ld/testsuite/ld-cris/ldsym1.d | 19 +++++++++++++++++++ 2 files changed, 21 insertions(+) create mode 100644 ld/testsuite/ld-cris/ldsym1.d diff --git a/ld/testsuite/ChangeLog b/ld/testsuite/ChangeLog index e3fc70ff58..a596c449a7 100644 --- a/ld/testsuite/ChangeLog +++ b/ld/testsuite/ChangeLog @@ -1,5 +1,7 @@ 2002-03-19 Hans-Peter Nilsson + * ld-cris/ldsym1.d: New test. + * ld-mmix/bpo-1.d: Tweak for type of linker-script-symbols no longer set to object. * ld-mmix/undef-3.d, ld-mmix/start-1.d, ld-mmix/locto-1.d, diff --git a/ld/testsuite/ld-cris/ldsym1.d b/ld/testsuite/ld-cris/ldsym1.d new file mode 100644 index 0000000000..327001303e --- /dev/null +++ b/ld/testsuite/ld-cris/ldsym1.d @@ -0,0 +1,19 @@ +# source: expdyn1.s +# as: --em=criself +# ld: -mcriself +# objdump: -d + +# Note that the linker script symbol __start is set to the same +# value as _start, and will collate before _start and be chosen +# as the presentation symbol at disassembly. Anyway, __start +# shouldn't hinder disassembly by posing as an object symbol. + +.*: file format elf32-us-cris + +Disassembly of section \.text: + +0+6 <__start>: + 6: 0f05 nop + +0+8 : + 8: 0f05 nop -- 2.11.0