public inbox for binutils@sourceware.org
 help / color / mirror / Atom feed
* [patch] Fix readelf -s test to cope with the ARM mapping symbols
@ 2004-05-15 14:08 Nick Clifton
  0 siblings, 0 replies; only message in thread
From: Nick Clifton @ 2004-05-15 14:08 UTC (permalink / raw)
  To: binutils

Hi Guys,

  The readelf -s test in the binutils test suite has recently started
  to fail for arm-elf toolchains because of the ARM mapping symbols.
  I am applying the patch below to allow the test to cope with these
  symbols.

Cheers
        Nick

binutils/testsuite/ChangeLog
2004-05-15  Nick Clifton  <nickc@redhat.com>

	* binutils-all/readelf.ss: Allow for ARM mapping symbols.

Index: binutils/testsuite/binutils-all/readelf.ss
===================================================================
RCS file: /cvs/src/src/binutils/testsuite/binutils-all/readelf.ss,v
retrieving revision 1.4
diff -c -3 -p -r1.4 readelf.ss
*** binutils/testsuite/binutils-all/readelf.ss	30 Sep 2003 00:15:54 -0000	1.4
--- binutils/testsuite/binutils-all/readelf.ss	15 May 2004 14:06:22 -0000
*************** Symbol table '.symtab' contains .* entri
*** 6,12 ****
       2: 00000000     0 SECTION LOCAL  DEFAULT    3 
       3: 00000000     0 SECTION LOCAL  DEFAULT    4 
       4: 00000000     0 NOTYPE  LOCAL  DEFAULT    1 static_text_symbol
!      5: 00000000     0 NOTYPE  LOCAL  DEFAULT    3 static_data_symbol
  # v850 targets include extra SECTION symbols here for the .call_table_data
  # and .call_table_text sections.
  #...
--- 6,14 ----
       2: 00000000     0 SECTION LOCAL  DEFAULT    3 
       3: 00000000     0 SECTION LOCAL  DEFAULT    4 
       4: 00000000     0 NOTYPE  LOCAL  DEFAULT    1 static_text_symbol
! # arm-elf targets add the $d mapping symbol here...
! #...
!      .: 00000000     0 NOTYPE  LOCAL  DEFAULT    3 static_data_symbol
  # v850 targets include extra SECTION symbols here for the .call_table_data
  # and .call_table_text sections.
  #...
        

^ permalink raw reply	[flat|nested] only message in thread

only message in thread, other threads:[~2004-05-15 14:08 UTC | newest]

Thread overview: (only message) (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2004-05-15 14:08 [patch] Fix readelf -s test to cope with the ARM mapping symbols Nick Clifton

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