[Bug binutils/21564] binary output should scale address by octets per byte

2017-06-10 Thread joe.zbiciak at leftturnonly dot info
https://sourceware.org/bugzilla/show_bug.cgi?id=21564 --- Comment #2 from Joe Zbiciak --- Good point. While my executables may have a small number of sections, this is common code that all architectures will hit when writing a binary output. I suppose something like this will do the trick, hois

[Bug binutils/21564] New: binary output should scale address by octets per byte

2017-06-10 Thread joe.zbiciak at leftturnonly dot info
Component: binutils Assignee: unassigned at sourceware dot org Reporter: joe.zbiciak at leftturnonly dot info Target Milestone: --- I'm porting binutils to an architecture which sets bits_per_byte to 16, and therefore has octets_per_byte == 2. When I used objcopy to co