[patch] Fix readelf -s test to cope with the ARM mapping symbols

Nick Clifton nickc@redhat.com
Sat May 15 14:08:00 GMT 2004


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



More information about the Binutils mailing list