summaryrefslogtreecommitdiffstats
path: root/src
diff options
context:
space:
mode:
authorAndrew Geissler <andrewg@us.ibm.com>2016-06-30 15:58:38 -0500
committerMatthew A. Ploetz <maploetz@us.ibm.com>2016-07-07 12:15:59 -0400
commit08b685d0d4715d6bb631ac1a6a3e99400e3aa43c (patch)
treed9924e94bfcaafc55f808fcd1ec13e70821172f0 /src
parent3032116e9cf00de3b38736a37652cbb99a904d7b (diff)
downloadtalos-hostboot-08b685d0d4715d6bb631ac1a6a3e99400e3aa43c.tar.gz
talos-hostboot-08b685d0d4715d6bb631ac1a6a3e99400e3aa43c.zip
Remove legacy binutils workaround in tracehash
Change-Id: I52e002a2f7085baa5b6b5d536e5aa95a5fab2c0d RTC: 123492 Reviewed-on: http://ralgit01.raleigh.ibm.com/gerrit1/26507 Tested-by: Jenkins Server <pfd-jenkins+hostboot@us.ibm.com> Tested-by: FSP CI Jenkins <fsp-CI-jenkins+hostboot@us.ibm.com> Reviewed-by: Christian R. Geddes <crgeddes@us.ibm.com> Reviewed-by: William G. Hoffa <wghoffa@us.ibm.com> Reviewed-by: Matthew A. Ploetz <maploetz@us.ibm.com>
Diffstat (limited to 'src')
-rw-r--r--src/build/trace/tracehash.c9
1 files changed, 1 insertions, 8 deletions
diff --git a/src/build/trace/tracehash.c b/src/build/trace/tracehash.c
index d28920fe7..076d3e1e1 100644
--- a/src/build/trace/tracehash.c
+++ b/src/build/trace/tracehash.c
@@ -5,7 +5,7 @@
/* */
/* OpenPOWER HostBoot Project */
/* */
-/* Contributors Listed Below - COPYRIGHT 2013,2015 */
+/* Contributors Listed Below - COPYRIGHT 2013,2016 */
/* [+] International Business Machines Corp. */
/* */
/* */
@@ -471,14 +471,7 @@ void create_sections(bfd* inFile, asection* s, void* param)
// for this section to point to the group
// symbol
// Binutils 2.24 BFD requires an offset of 176
- // Binutils 2.22 BFD requires an offset of 168
- // So we're just going to key off a define that's only in 2.24
- // TODO RTC 123492
-#ifdef bfd_find_nearest_line_discriminator
uint32_t offset = 176;
-#else
- uint32_t offset = 168;
-#endif
void *ptr_sym_offset = s->used_by_bfd + offset;
asymbol **tsym = (asymbol **)ptr_sym_offset;
*tsym = gsym;
OpenPOWER on IntegriCloud