This is the mail archive of the
binutils@sourceware.org
mailing list for the binutils project.
Specifying symbol names under which binary values are added
- From: Mitar <mmitar at gmail dot com>
- To: binutils at sourceware dot org
- Date: Sun, 12 Mar 2017 06:43:10 -0700
- Subject: Specifying symbol names under which binary values are added
- Authentication-results: sourceware.org; auth=none
Hi!
I am using:
ld --relocatable --format==binary /long/path/to/image.jpg -o image.o
To add the image.jpg to object. The issue is that symbols under which
the image is added are based on that filename provided. So for
/long/path/to/image.jpg this is something like
_long_path_to_image_jpg. Is there a way to specify the base symbol
name (to which then start, end, and size are appended) myself? The
issue is that by embedding paths, builds become harder to make
reproducible.
Mitar
--
http://mitar.tnode.com/
https://twitter.com/mitar_m