bfd.info 645 KB

1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950515253545556575859606162636465666768697071727374757677787980818283848586878889909192939495969798991001011021031041051061071081091101111121131141151161171181191201211221231241251261271281291301311321331341351361371381391401411421431441451461471481491501511521531541551561571581591601611621631641651661671681691701711721731741751761771781791801811821831841851861871881891901911921931941951961971981992002012022032042052062072082092102112122132142152162172182192202212222232242252262272282292302312322332342352362372382392402412422432442452462472482492502512522532542552562572582592602612622632642652662672682692702712722732742752762772782792802812822832842852862872882892902912922932942952962972982993003013023033043053063073083093103113123133143153163173183193203213223233243253263273283293303313323333343353363373383393403413423433443453463473483493503513523533543553563573583593603613623633643653663673683693703713723733743753763773783793803813823833843853863873883893903913923933943953963973983994004014024034044054064074084094104114124134144154164174184194204214224234244254264274284294304314324334344354364374384394404414424434444454464474484494504514524534544554564574584594604614624634644654664674684694704714724734744754764774784794804814824834844854864874884894904914924934944954964974984995005015025035045055065075085095105115125135145155165175185195205215225235245255265275285295305315325335345355365375385395405415425435445455465475485495505515525535545555565575585595605615625635645655665675685695705715725735745755765775785795805815825835845855865875885895905915925935945955965975985996006016026036046056066076086096106116126136146156166176186196206216226236246256266276286296306316326336346356366376386396406416426436446456466476486496506516526536546556566576586596606616626636646656666676686696706716726736746756766776786796806816826836846856866876886896906916926936946956966976986997007017027037047057067077087097107117127137147157167177187197207217227237247257267277287297307317327337347357367377387397407417427437447457467477487497507517527537547557567577587597607617627637647657667677687697707717727737747757767777787797807817827837847857867877887897907917927937947957967977987998008018028038048058068078088098108118128138148158168178188198208218228238248258268278288298308318328338348358368378388398408418428438448458468478488498508518528538548558568578588598608618628638648658668678688698708718728738748758768778788798808818828838848858868878888898908918928938948958968978988999009019029039049059069079089099109119129139149159169179189199209219229239249259269279289299309319329339349359369379389399409419429439449459469479489499509519529539549559569579589599609619629639649659669679689699709719729739749759769779789799809819829839849859869879889899909919929939949959969979989991000100110021003100410051006100710081009101010111012101310141015101610171018101910201021102210231024102510261027102810291030103110321033103410351036103710381039104010411042104310441045104610471048104910501051105210531054105510561057105810591060106110621063106410651066106710681069107010711072107310741075107610771078107910801081108210831084108510861087108810891090109110921093109410951096109710981099110011011102110311041105110611071108110911101111111211131114111511161117111811191120112111221123112411251126112711281129113011311132113311341135113611371138113911401141114211431144114511461147114811491150115111521153115411551156115711581159116011611162116311641165116611671168116911701171117211731174117511761177117811791180118111821183118411851186118711881189119011911192119311941195119611971198119912001201120212031204120512061207120812091210121112121213121412151216121712181219122012211222122312241225122612271228122912301231123212331234123512361237123812391240124112421243124412451246124712481249125012511252125312541255125612571258125912601261126212631264126512661267126812691270127112721273127412751276127712781279128012811282128312841285128612871288128912901291129212931294129512961297129812991300130113021303130413051306130713081309131013111312131313141315131613171318131913201321132213231324132513261327132813291330133113321333133413351336133713381339134013411342134313441345134613471348134913501351135213531354135513561357135813591360136113621363136413651366136713681369137013711372137313741375137613771378137913801381138213831384138513861387138813891390139113921393139413951396139713981399140014011402140314041405140614071408140914101411141214131414141514161417141814191420142114221423142414251426142714281429143014311432143314341435143614371438143914401441144214431444144514461447144814491450145114521453145414551456145714581459146014611462146314641465146614671468146914701471147214731474147514761477147814791480148114821483148414851486148714881489149014911492149314941495149614971498149915001501150215031504150515061507150815091510151115121513151415151516151715181519152015211522152315241525152615271528152915301531153215331534153515361537153815391540154115421543154415451546154715481549155015511552155315541555155615571558155915601561156215631564156515661567156815691570157115721573157415751576157715781579158015811582158315841585158615871588158915901591159215931594159515961597159815991600160116021603160416051606160716081609161016111612161316141615161616171618161916201621162216231624162516261627162816291630163116321633163416351636163716381639164016411642164316441645164616471648164916501651165216531654165516561657165816591660166116621663166416651666166716681669167016711672167316741675167616771678167916801681168216831684168516861687168816891690169116921693169416951696169716981699170017011702170317041705170617071708170917101711171217131714171517161717171817191720172117221723172417251726172717281729173017311732173317341735173617371738173917401741174217431744174517461747174817491750175117521753175417551756175717581759176017611762176317641765176617671768176917701771177217731774177517761777177817791780178117821783178417851786178717881789179017911792179317941795179617971798179918001801180218031804180518061807180818091810181118121813181418151816181718181819182018211822182318241825182618271828182918301831183218331834183518361837183818391840184118421843184418451846184718481849185018511852185318541855185618571858185918601861186218631864186518661867186818691870187118721873187418751876187718781879188018811882188318841885188618871888188918901891189218931894189518961897189818991900190119021903190419051906190719081909191019111912191319141915191619171918191919201921192219231924192519261927192819291930193119321933193419351936193719381939194019411942194319441945194619471948194919501951195219531954195519561957195819591960196119621963196419651966196719681969197019711972197319741975197619771978197919801981198219831984198519861987198819891990199119921993199419951996199719981999200020012002200320042005200620072008200920102011201220132014201520162017201820192020202120222023202420252026202720282029203020312032203320342035203620372038203920402041204220432044204520462047204820492050205120522053205420552056205720582059206020612062206320642065206620672068206920702071207220732074207520762077207820792080208120822083208420852086208720882089209020912092209320942095209620972098209921002101210221032104210521062107210821092110211121122113211421152116211721182119212021212122212321242125212621272128212921302131213221332134213521362137213821392140214121422143214421452146214721482149215021512152215321542155215621572158215921602161216221632164216521662167216821692170217121722173217421752176217721782179218021812182218321842185218621872188218921902191219221932194219521962197219821992200220122022203220422052206220722082209221022112212221322142215221622172218221922202221222222232224222522262227222822292230223122322233223422352236223722382239224022412242224322442245224622472248224922502251225222532254225522562257225822592260226122622263226422652266226722682269227022712272227322742275227622772278227922802281228222832284228522862287228822892290229122922293229422952296229722982299230023012302230323042305230623072308230923102311231223132314231523162317231823192320232123222323232423252326232723282329233023312332233323342335233623372338233923402341234223432344234523462347234823492350235123522353235423552356235723582359236023612362236323642365236623672368236923702371237223732374237523762377237823792380238123822383238423852386238723882389239023912392239323942395239623972398239924002401240224032404240524062407240824092410241124122413241424152416241724182419242024212422242324242425242624272428242924302431243224332434243524362437243824392440244124422443244424452446244724482449245024512452245324542455245624572458245924602461246224632464246524662467246824692470247124722473247424752476247724782479248024812482248324842485248624872488248924902491249224932494249524962497249824992500250125022503250425052506250725082509251025112512251325142515251625172518251925202521252225232524252525262527252825292530253125322533253425352536253725382539254025412542254325442545254625472548254925502551255225532554255525562557255825592560256125622563256425652566256725682569257025712572257325742575257625772578257925802581258225832584258525862587258825892590259125922593259425952596259725982599260026012602260326042605260626072608260926102611261226132614261526162617261826192620262126222623262426252626262726282629263026312632263326342635263626372638263926402641264226432644264526462647264826492650265126522653265426552656265726582659266026612662266326642665266626672668266926702671267226732674267526762677267826792680268126822683268426852686268726882689269026912692269326942695269626972698269927002701270227032704270527062707270827092710271127122713271427152716271727182719272027212722272327242725272627272728272927302731273227332734273527362737273827392740274127422743274427452746274727482749275027512752275327542755275627572758275927602761276227632764276527662767276827692770277127722773277427752776277727782779278027812782278327842785278627872788278927902791279227932794279527962797279827992800280128022803280428052806280728082809281028112812281328142815281628172818281928202821282228232824282528262827282828292830283128322833283428352836283728382839284028412842284328442845284628472848284928502851285228532854285528562857285828592860286128622863286428652866286728682869287028712872287328742875287628772878287928802881288228832884288528862887288828892890289128922893289428952896289728982899290029012902290329042905290629072908290929102911291229132914291529162917291829192920292129222923292429252926292729282929293029312932293329342935293629372938293929402941294229432944294529462947294829492950295129522953295429552956295729582959296029612962296329642965296629672968296929702971297229732974297529762977297829792980298129822983298429852986298729882989299029912992299329942995299629972998299930003001300230033004300530063007300830093010301130123013301430153016301730183019302030213022302330243025302630273028302930303031303230333034303530363037303830393040304130423043304430453046304730483049305030513052305330543055305630573058305930603061306230633064306530663067306830693070307130723073307430753076307730783079308030813082308330843085308630873088308930903091309230933094309530963097309830993100310131023103310431053106310731083109311031113112311331143115311631173118311931203121312231233124312531263127312831293130313131323133313431353136313731383139314031413142314331443145314631473148314931503151315231533154315531563157315831593160316131623163316431653166316731683169317031713172317331743175317631773178317931803181318231833184318531863187318831893190319131923193319431953196319731983199320032013202320332043205320632073208320932103211321232133214321532163217321832193220322132223223322432253226322732283229323032313232323332343235323632373238323932403241324232433244324532463247324832493250325132523253325432553256325732583259326032613262326332643265326632673268326932703271327232733274327532763277327832793280328132823283328432853286328732883289329032913292329332943295329632973298329933003301330233033304330533063307330833093310331133123313331433153316331733183319332033213322332333243325332633273328332933303331333233333334333533363337333833393340334133423343334433453346334733483349335033513352335333543355335633573358335933603361336233633364336533663367336833693370337133723373337433753376337733783379338033813382338333843385338633873388338933903391339233933394339533963397339833993400340134023403340434053406340734083409341034113412341334143415341634173418341934203421342234233424342534263427342834293430343134323433343434353436343734383439344034413442344334443445344634473448344934503451345234533454345534563457345834593460346134623463346434653466346734683469347034713472347334743475347634773478347934803481348234833484348534863487348834893490349134923493349434953496349734983499350035013502350335043505350635073508350935103511351235133514351535163517351835193520352135223523352435253526352735283529353035313532353335343535353635373538353935403541354235433544354535463547354835493550355135523553355435553556355735583559356035613562356335643565356635673568356935703571357235733574357535763577357835793580358135823583358435853586358735883589359035913592359335943595359635973598359936003601360236033604360536063607360836093610361136123613361436153616361736183619362036213622362336243625362636273628362936303631363236333634363536363637363836393640364136423643364436453646364736483649365036513652365336543655365636573658365936603661366236633664366536663667366836693670367136723673367436753676367736783679368036813682368336843685368636873688368936903691369236933694369536963697369836993700370137023703370437053706370737083709371037113712371337143715371637173718371937203721372237233724372537263727372837293730373137323733373437353736373737383739374037413742374337443745374637473748374937503751375237533754375537563757375837593760376137623763376437653766376737683769377037713772377337743775377637773778377937803781378237833784378537863787378837893790379137923793379437953796379737983799380038013802380338043805380638073808380938103811381238133814381538163817381838193820382138223823382438253826382738283829383038313832383338343835383638373838383938403841384238433844384538463847384838493850385138523853385438553856385738583859386038613862386338643865386638673868386938703871387238733874387538763877387838793880388138823883388438853886388738883889389038913892389338943895389638973898389939003901390239033904390539063907390839093910391139123913391439153916391739183919392039213922392339243925392639273928392939303931393239333934393539363937393839393940394139423943394439453946394739483949395039513952395339543955395639573958395939603961396239633964396539663967396839693970397139723973397439753976397739783979398039813982398339843985398639873988398939903991399239933994399539963997399839994000400140024003400440054006400740084009401040114012401340144015401640174018401940204021402240234024402540264027402840294030403140324033403440354036403740384039404040414042404340444045404640474048404940504051405240534054405540564057405840594060406140624063406440654066406740684069407040714072407340744075407640774078407940804081408240834084408540864087408840894090409140924093409440954096409740984099410041014102410341044105410641074108410941104111411241134114411541164117411841194120412141224123412441254126412741284129413041314132413341344135413641374138413941404141414241434144414541464147414841494150415141524153415441554156415741584159416041614162416341644165416641674168416941704171417241734174417541764177417841794180418141824183418441854186418741884189419041914192419341944195419641974198419942004201420242034204420542064207420842094210421142124213421442154216421742184219422042214222422342244225422642274228422942304231423242334234423542364237423842394240424142424243424442454246424742484249425042514252425342544255425642574258425942604261426242634264426542664267426842694270427142724273427442754276427742784279428042814282428342844285428642874288428942904291429242934294429542964297429842994300430143024303430443054306430743084309431043114312431343144315431643174318431943204321432243234324432543264327432843294330433143324333433443354336433743384339434043414342434343444345434643474348434943504351435243534354435543564357435843594360436143624363436443654366436743684369437043714372437343744375437643774378437943804381438243834384438543864387438843894390439143924393439443954396439743984399440044014402440344044405440644074408440944104411441244134414441544164417441844194420442144224423442444254426442744284429443044314432443344344435443644374438443944404441444244434444444544464447444844494450445144524453445444554456445744584459446044614462446344644465446644674468446944704471447244734474447544764477447844794480448144824483448444854486448744884489449044914492449344944495449644974498449945004501450245034504450545064507450845094510451145124513451445154516451745184519452045214522452345244525452645274528452945304531453245334534453545364537453845394540454145424543454445454546454745484549455045514552455345544555455645574558455945604561456245634564456545664567456845694570457145724573457445754576457745784579458045814582458345844585458645874588458945904591459245934594459545964597459845994600460146024603460446054606460746084609461046114612461346144615461646174618461946204621462246234624462546264627462846294630463146324633463446354636463746384639464046414642464346444645464646474648464946504651465246534654465546564657465846594660466146624663466446654666466746684669467046714672467346744675467646774678467946804681468246834684468546864687468846894690469146924693469446954696469746984699470047014702470347044705470647074708470947104711471247134714471547164717471847194720472147224723472447254726472747284729473047314732473347344735473647374738473947404741474247434744474547464747474847494750475147524753475447554756475747584759476047614762476347644765476647674768476947704771477247734774477547764777477847794780478147824783478447854786478747884789479047914792479347944795479647974798479948004801480248034804480548064807480848094810481148124813481448154816481748184819482048214822482348244825482648274828482948304831483248334834483548364837483848394840484148424843484448454846484748484849485048514852485348544855485648574858485948604861486248634864486548664867486848694870487148724873487448754876487748784879488048814882488348844885488648874888488948904891489248934894489548964897489848994900490149024903490449054906490749084909491049114912491349144915491649174918491949204921492249234924492549264927492849294930493149324933493449354936493749384939494049414942494349444945494649474948494949504951495249534954495549564957495849594960496149624963496449654966496749684969497049714972497349744975497649774978497949804981498249834984498549864987498849894990499149924993499449954996499749984999500050015002500350045005500650075008500950105011501250135014501550165017501850195020502150225023502450255026502750285029503050315032503350345035503650375038503950405041504250435044504550465047504850495050505150525053505450555056505750585059506050615062506350645065506650675068506950705071507250735074507550765077507850795080508150825083508450855086508750885089509050915092509350945095509650975098509951005101510251035104510551065107510851095110511151125113511451155116511751185119512051215122512351245125512651275128512951305131513251335134513551365137513851395140514151425143514451455146514751485149515051515152515351545155515651575158515951605161516251635164516551665167516851695170517151725173517451755176517751785179518051815182518351845185518651875188518951905191519251935194519551965197519851995200520152025203520452055206520752085209521052115212521352145215521652175218521952205221522252235224522552265227522852295230523152325233523452355236523752385239524052415242524352445245524652475248524952505251525252535254525552565257525852595260526152625263526452655266526752685269527052715272527352745275527652775278527952805281528252835284528552865287528852895290529152925293529452955296529752985299530053015302530353045305530653075308530953105311531253135314531553165317531853195320532153225323532453255326532753285329533053315332533353345335533653375338533953405341534253435344534553465347534853495350535153525353535453555356535753585359536053615362536353645365536653675368536953705371537253735374537553765377537853795380538153825383538453855386538753885389539053915392539353945395539653975398539954005401540254035404540554065407540854095410541154125413541454155416541754185419542054215422542354245425542654275428542954305431543254335434543554365437543854395440544154425443544454455446544754485449545054515452545354545455545654575458545954605461546254635464546554665467546854695470547154725473547454755476547754785479548054815482548354845485548654875488548954905491549254935494549554965497549854995500550155025503550455055506550755085509551055115512551355145515551655175518551955205521552255235524552555265527552855295530553155325533553455355536553755385539554055415542554355445545554655475548554955505551555255535554555555565557555855595560556155625563556455655566556755685569557055715572557355745575557655775578557955805581558255835584558555865587558855895590559155925593559455955596559755985599560056015602560356045605560656075608560956105611561256135614561556165617561856195620562156225623562456255626562756285629563056315632563356345635563656375638563956405641564256435644564556465647564856495650565156525653565456555656565756585659566056615662566356645665566656675668566956705671567256735674567556765677567856795680568156825683568456855686568756885689569056915692569356945695569656975698569957005701570257035704570557065707570857095710571157125713571457155716571757185719572057215722572357245725572657275728572957305731573257335734573557365737573857395740574157425743574457455746574757485749575057515752575357545755575657575758575957605761576257635764576557665767576857695770577157725773577457755776577757785779578057815782578357845785578657875788578957905791579257935794579557965797579857995800580158025803580458055806580758085809581058115812581358145815581658175818581958205821582258235824582558265827582858295830583158325833583458355836583758385839584058415842584358445845584658475848584958505851585258535854585558565857585858595860586158625863586458655866586758685869587058715872587358745875587658775878587958805881588258835884588558865887588858895890589158925893589458955896589758985899590059015902590359045905590659075908590959105911591259135914591559165917591859195920592159225923592459255926592759285929593059315932593359345935593659375938593959405941594259435944594559465947594859495950595159525953595459555956595759585959596059615962596359645965596659675968596959705971597259735974597559765977597859795980598159825983598459855986598759885989599059915992599359945995599659975998599960006001600260036004600560066007600860096010601160126013601460156016601760186019602060216022602360246025602660276028602960306031603260336034603560366037603860396040604160426043604460456046604760486049605060516052605360546055605660576058605960606061606260636064606560666067606860696070607160726073607460756076607760786079608060816082608360846085608660876088608960906091609260936094609560966097609860996100610161026103610461056106610761086109611061116112611361146115611661176118611961206121612261236124612561266127612861296130613161326133613461356136613761386139614061416142614361446145614661476148614961506151615261536154615561566157615861596160616161626163616461656166616761686169617061716172617361746175617661776178617961806181618261836184618561866187618861896190619161926193619461956196619761986199620062016202620362046205620662076208620962106211621262136214621562166217621862196220622162226223622462256226622762286229623062316232623362346235623662376238623962406241624262436244624562466247624862496250625162526253625462556256625762586259626062616262626362646265626662676268626962706271627262736274627562766277627862796280628162826283628462856286628762886289629062916292629362946295629662976298629963006301630263036304630563066307630863096310631163126313631463156316631763186319632063216322632363246325632663276328632963306331633263336334633563366337633863396340634163426343634463456346634763486349635063516352635363546355635663576358635963606361636263636364636563666367636863696370637163726373637463756376637763786379638063816382638363846385638663876388638963906391639263936394639563966397639863996400640164026403640464056406640764086409641064116412641364146415641664176418641964206421642264236424642564266427642864296430643164326433643464356436643764386439644064416442644364446445644664476448644964506451645264536454645564566457645864596460646164626463646464656466646764686469647064716472647364746475647664776478647964806481648264836484648564866487648864896490649164926493649464956496649764986499650065016502650365046505650665076508650965106511651265136514651565166517651865196520652165226523652465256526652765286529653065316532653365346535653665376538653965406541654265436544654565466547654865496550655165526553655465556556655765586559656065616562656365646565656665676568656965706571657265736574657565766577657865796580658165826583658465856586658765886589659065916592659365946595659665976598659966006601660266036604660566066607660866096610661166126613661466156616661766186619662066216622662366246625662666276628662966306631663266336634663566366637663866396640664166426643664466456646664766486649665066516652665366546655665666576658665966606661666266636664666566666667666866696670667166726673667466756676667766786679668066816682668366846685668666876688668966906691669266936694669566966697669866996700670167026703670467056706670767086709671067116712671367146715671667176718671967206721672267236724672567266727672867296730673167326733673467356736673767386739674067416742674367446745674667476748674967506751675267536754675567566757675867596760676167626763676467656766676767686769677067716772677367746775677667776778677967806781678267836784678567866787678867896790679167926793679467956796679767986799680068016802680368046805680668076808680968106811681268136814681568166817681868196820682168226823682468256826682768286829683068316832683368346835683668376838683968406841684268436844684568466847684868496850685168526853685468556856685768586859686068616862686368646865686668676868686968706871687268736874687568766877687868796880688168826883688468856886688768886889689068916892689368946895689668976898689969006901690269036904690569066907690869096910691169126913691469156916691769186919692069216922692369246925692669276928692969306931693269336934693569366937693869396940694169426943694469456946694769486949695069516952695369546955695669576958695969606961696269636964696569666967696869696970697169726973697469756976697769786979698069816982698369846985698669876988698969906991699269936994699569966997699869997000700170027003700470057006700770087009701070117012701370147015701670177018701970207021702270237024702570267027702870297030703170327033703470357036703770387039704070417042704370447045704670477048704970507051705270537054705570567057705870597060706170627063706470657066706770687069707070717072707370747075707670777078707970807081708270837084708570867087708870897090709170927093709470957096709770987099710071017102710371047105710671077108710971107111711271137114711571167117711871197120712171227123712471257126712771287129713071317132713371347135713671377138713971407141714271437144714571467147714871497150715171527153715471557156715771587159716071617162716371647165716671677168716971707171717271737174717571767177717871797180718171827183718471857186718771887189719071917192719371947195719671977198719972007201720272037204720572067207720872097210721172127213721472157216721772187219722072217222722372247225722672277228722972307231723272337234723572367237723872397240724172427243724472457246724772487249725072517252725372547255725672577258725972607261726272637264726572667267726872697270727172727273727472757276727772787279728072817282728372847285728672877288728972907291729272937294729572967297729872997300730173027303730473057306730773087309731073117312731373147315731673177318731973207321732273237324732573267327732873297330733173327333733473357336733773387339734073417342734373447345734673477348734973507351735273537354735573567357735873597360736173627363736473657366736773687369737073717372737373747375737673777378737973807381738273837384738573867387738873897390739173927393739473957396739773987399740074017402740374047405740674077408740974107411741274137414741574167417741874197420742174227423742474257426742774287429743074317432743374347435743674377438743974407441744274437444744574467447744874497450745174527453745474557456745774587459746074617462746374647465746674677468746974707471747274737474747574767477747874797480748174827483748474857486748774887489749074917492749374947495749674977498749975007501750275037504750575067507750875097510751175127513751475157516751775187519752075217522752375247525752675277528752975307531753275337534753575367537753875397540754175427543754475457546754775487549755075517552755375547555755675577558755975607561756275637564756575667567756875697570757175727573757475757576757775787579758075817582758375847585758675877588758975907591759275937594759575967597759875997600760176027603760476057606760776087609761076117612761376147615761676177618761976207621762276237624762576267627762876297630763176327633763476357636763776387639764076417642764376447645764676477648764976507651765276537654765576567657765876597660766176627663766476657666766776687669767076717672767376747675767676777678767976807681768276837684768576867687768876897690769176927693769476957696769776987699770077017702770377047705770677077708770977107711771277137714771577167717771877197720772177227723772477257726772777287729773077317732773377347735773677377738773977407741774277437744774577467747774877497750775177527753775477557756775777587759776077617762776377647765776677677768776977707771777277737774777577767777777877797780778177827783778477857786778777887789779077917792779377947795779677977798779978007801780278037804780578067807780878097810781178127813781478157816781778187819782078217822782378247825782678277828782978307831783278337834783578367837783878397840784178427843784478457846784778487849785078517852785378547855785678577858785978607861786278637864786578667867786878697870787178727873787478757876787778787879788078817882788378847885788678877888788978907891789278937894789578967897789878997900790179027903790479057906790779087909791079117912791379147915791679177918791979207921792279237924792579267927792879297930793179327933793479357936793779387939794079417942794379447945794679477948794979507951795279537954795579567957795879597960796179627963796479657966796779687969797079717972797379747975797679777978797979807981798279837984798579867987798879897990799179927993799479957996799779987999800080018002800380048005800680078008800980108011801280138014801580168017801880198020802180228023802480258026802780288029803080318032803380348035803680378038803980408041804280438044804580468047804880498050805180528053805480558056805780588059806080618062806380648065806680678068806980708071807280738074807580768077807880798080808180828083808480858086808780888089809080918092809380948095809680978098809981008101810281038104810581068107810881098110811181128113811481158116811781188119812081218122812381248125812681278128812981308131813281338134813581368137813881398140814181428143814481458146814781488149815081518152815381548155815681578158815981608161816281638164816581668167816881698170817181728173817481758176817781788179818081818182818381848185818681878188818981908191819281938194819581968197819881998200820182028203820482058206820782088209821082118212821382148215821682178218821982208221822282238224822582268227822882298230823182328233823482358236823782388239824082418242824382448245824682478248824982508251825282538254825582568257825882598260826182628263826482658266826782688269827082718272827382748275827682778278827982808281828282838284828582868287828882898290829182928293829482958296829782988299830083018302830383048305830683078308830983108311831283138314831583168317831883198320832183228323832483258326832783288329833083318332833383348335833683378338833983408341834283438344834583468347834883498350835183528353835483558356835783588359836083618362836383648365836683678368836983708371837283738374837583768377837883798380838183828383838483858386838783888389839083918392839383948395839683978398839984008401840284038404840584068407840884098410841184128413841484158416841784188419842084218422842384248425842684278428842984308431843284338434843584368437843884398440844184428443844484458446844784488449845084518452845384548455845684578458845984608461846284638464846584668467846884698470847184728473847484758476847784788479848084818482848384848485848684878488848984908491849284938494849584968497849884998500850185028503850485058506850785088509851085118512851385148515851685178518851985208521852285238524852585268527852885298530853185328533853485358536853785388539854085418542854385448545854685478548854985508551855285538554855585568557855885598560856185628563856485658566856785688569857085718572857385748575857685778578857985808581858285838584858585868587858885898590859185928593859485958596859785988599860086018602860386048605860686078608860986108611861286138614861586168617861886198620862186228623862486258626862786288629863086318632863386348635863686378638863986408641864286438644864586468647864886498650865186528653865486558656865786588659866086618662866386648665866686678668866986708671867286738674867586768677867886798680868186828683868486858686868786888689869086918692869386948695869686978698869987008701870287038704870587068707870887098710871187128713871487158716871787188719872087218722872387248725872687278728872987308731873287338734873587368737873887398740874187428743874487458746874787488749875087518752875387548755875687578758875987608761876287638764876587668767876887698770877187728773877487758776877787788779878087818782878387848785878687878788878987908791879287938794879587968797879887998800880188028803880488058806880788088809881088118812881388148815881688178818881988208821882288238824882588268827882888298830883188328833883488358836883788388839884088418842884388448845884688478848884988508851885288538854885588568857885888598860886188628863886488658866886788688869887088718872887388748875887688778878887988808881888288838884888588868887888888898890889188928893889488958896889788988899890089018902890389048905890689078908890989108911891289138914891589168917891889198920892189228923892489258926892789288929893089318932893389348935893689378938893989408941894289438944894589468947894889498950895189528953895489558956895789588959896089618962896389648965896689678968896989708971897289738974897589768977897889798980898189828983898489858986898789888989899089918992899389948995899689978998899990009001900290039004900590069007900890099010901190129013901490159016901790189019902090219022902390249025902690279028902990309031903290339034903590369037903890399040904190429043904490459046904790489049905090519052905390549055905690579058905990609061906290639064906590669067906890699070907190729073907490759076907790789079908090819082908390849085908690879088908990909091909290939094909590969097909890999100910191029103910491059106910791089109911091119112911391149115911691179118911991209121912291239124912591269127912891299130913191329133913491359136913791389139914091419142914391449145914691479148914991509151915291539154915591569157915891599160916191629163916491659166916791689169917091719172917391749175917691779178917991809181918291839184918591869187918891899190919191929193919491959196919791989199920092019202920392049205920692079208920992109211921292139214921592169217921892199220922192229223922492259226922792289229923092319232923392349235923692379238923992409241924292439244924592469247924892499250925192529253925492559256925792589259926092619262926392649265926692679268926992709271927292739274927592769277927892799280928192829283928492859286928792889289929092919292929392949295929692979298929993009301930293039304930593069307930893099310931193129313931493159316931793189319932093219322932393249325932693279328932993309331933293339334933593369337933893399340934193429343934493459346934793489349935093519352935393549355935693579358935993609361936293639364936593669367936893699370937193729373937493759376937793789379938093819382938393849385938693879388938993909391939293939394939593969397939893999400940194029403940494059406940794089409941094119412941394149415941694179418941994209421942294239424942594269427942894299430943194329433943494359436943794389439944094419442944394449445944694479448944994509451945294539454945594569457945894599460946194629463946494659466946794689469947094719472947394749475947694779478947994809481948294839484948594869487948894899490949194929493949494959496949794989499950095019502950395049505950695079508950995109511951295139514951595169517951895199520952195229523952495259526952795289529953095319532953395349535953695379538953995409541954295439544954595469547954895499550955195529553955495559556955795589559956095619562956395649565956695679568956995709571957295739574957595769577957895799580958195829583958495859586958795889589959095919592959395949595959695979598959996009601960296039604960596069607960896099610961196129613961496159616961796189619962096219622962396249625962696279628962996309631963296339634963596369637963896399640964196429643964496459646964796489649965096519652965396549655965696579658965996609661966296639664966596669667966896699670967196729673967496759676967796789679968096819682968396849685968696879688968996909691969296939694969596969697969896999700970197029703970497059706970797089709971097119712971397149715971697179718971997209721972297239724972597269727972897299730973197329733973497359736973797389739974097419742974397449745974697479748974997509751975297539754975597569757975897599760976197629763976497659766976797689769977097719772977397749775977697779778977997809781978297839784978597869787978897899790979197929793979497959796979797989799980098019802980398049805980698079808980998109811981298139814981598169817981898199820982198229823982498259826982798289829983098319832983398349835983698379838983998409841984298439844984598469847984898499850985198529853985498559856985798589859986098619862986398649865986698679868986998709871987298739874987598769877987898799880988198829883988498859886988798889889989098919892989398949895989698979898989999009901990299039904990599069907990899099910991199129913991499159916991799189919992099219922992399249925992699279928992999309931993299339934993599369937993899399940994199429943994499459946994799489949995099519952995399549955995699579958995999609961996299639964996599669967996899699970997199729973997499759976997799789979998099819982998399849985998699879988998999909991999299939994999599969997999899991000010001100021000310004100051000610007100081000910010100111001210013100141001510016100171001810019100201002110022100231002410025100261002710028100291003010031100321003310034100351003610037100381003910040100411004210043100441004510046100471004810049100501005110052100531005410055100561005710058100591006010061100621006310064100651006610067100681006910070100711007210073100741007510076100771007810079100801008110082100831008410085100861008710088100891009010091100921009310094100951009610097100981009910100101011010210103101041010510106101071010810109101101011110112101131011410115101161011710118101191012010121101221012310124101251012610127101281012910130101311013210133101341013510136101371013810139101401014110142101431014410145101461014710148101491015010151101521015310154101551015610157101581015910160101611016210163101641016510166101671016810169101701017110172101731017410175101761017710178101791018010181101821018310184101851018610187101881018910190101911019210193101941019510196101971019810199102001020110202102031020410205102061020710208102091021010211102121021310214102151021610217102181021910220102211022210223102241022510226102271022810229102301023110232102331023410235102361023710238102391024010241102421024310244102451024610247102481024910250102511025210253102541025510256102571025810259102601026110262102631026410265102661026710268102691027010271102721027310274102751027610277102781027910280102811028210283102841028510286102871028810289102901029110292102931029410295102961029710298102991030010301103021030310304103051030610307103081030910310103111031210313103141031510316103171031810319103201032110322103231032410325103261032710328103291033010331103321033310334103351033610337103381033910340103411034210343103441034510346103471034810349103501035110352103531035410355103561035710358103591036010361103621036310364103651036610367103681036910370103711037210373103741037510376103771037810379103801038110382103831038410385103861038710388103891039010391103921039310394103951039610397103981039910400104011040210403104041040510406104071040810409104101041110412104131041410415104161041710418104191042010421104221042310424104251042610427104281042910430104311043210433104341043510436104371043810439104401044110442104431044410445104461044710448104491045010451104521045310454104551045610457104581045910460104611046210463104641046510466104671046810469104701047110472104731047410475104761047710478104791048010481104821048310484104851048610487104881048910490104911049210493104941049510496104971049810499105001050110502105031050410505105061050710508105091051010511105121051310514105151051610517105181051910520105211052210523105241052510526105271052810529105301053110532105331053410535105361053710538105391054010541105421054310544105451054610547105481054910550105511055210553105541055510556105571055810559105601056110562105631056410565105661056710568105691057010571105721057310574105751057610577105781057910580105811058210583105841058510586105871058810589105901059110592105931059410595105961059710598105991060010601106021060310604106051060610607106081060910610106111061210613106141061510616106171061810619106201062110622106231062410625106261062710628106291063010631106321063310634106351063610637106381063910640106411064210643106441064510646106471064810649106501065110652106531065410655106561065710658106591066010661106621066310664106651066610667106681066910670106711067210673106741067510676106771067810679106801068110682106831068410685106861068710688106891069010691106921069310694106951069610697106981069910700107011070210703107041070510706107071070810709107101071110712107131071410715107161071710718107191072010721107221072310724107251072610727107281072910730107311073210733107341073510736107371073810739107401074110742107431074410745107461074710748107491075010751107521075310754107551075610757107581075910760107611076210763107641076510766107671076810769107701077110772107731077410775107761077710778107791078010781107821078310784107851078610787107881078910790107911079210793107941079510796107971079810799108001080110802108031080410805108061080710808108091081010811108121081310814108151081610817108181081910820108211082210823108241082510826108271082810829108301083110832108331083410835108361083710838108391084010841108421084310844108451084610847108481084910850108511085210853108541085510856108571085810859108601086110862108631086410865108661086710868108691087010871108721087310874108751087610877108781087910880108811088210883108841088510886108871088810889108901089110892108931089410895108961089710898108991090010901109021090310904109051090610907109081090910910109111091210913109141091510916109171091810919109201092110922109231092410925109261092710928109291093010931109321093310934109351093610937109381093910940109411094210943109441094510946109471094810949109501095110952109531095410955109561095710958109591096010961109621096310964109651096610967109681096910970109711097210973109741097510976109771097810979109801098110982109831098410985109861098710988109891099010991109921099310994109951099610997109981099911000110011100211003110041100511006110071100811009110101101111012110131101411015110161101711018110191102011021110221102311024110251102611027110281102911030110311103211033110341103511036110371103811039110401104111042110431104411045110461104711048110491105011051110521105311054110551105611057110581105911060110611106211063110641106511066110671106811069110701107111072110731107411075110761107711078110791108011081110821108311084110851108611087110881108911090110911109211093110941109511096110971109811099111001110111102111031110411105111061110711108111091111011111111121111311114111151111611117111181111911120111211112211123111241112511126111271112811129111301113111132111331113411135111361113711138111391114011141111421114311144111451114611147111481114911150111511115211153111541115511156111571115811159111601116111162111631116411165111661116711168111691117011171111721117311174111751117611177111781117911180111811118211183111841118511186111871118811189111901119111192111931119411195111961119711198111991120011201112021120311204112051120611207112081120911210112111121211213112141121511216112171121811219112201122111222112231122411225112261122711228112291123011231112321123311234112351123611237112381123911240112411124211243112441124511246112471124811249112501125111252112531125411255112561125711258112591126011261112621126311264112651126611267112681126911270112711127211273112741127511276112771127811279112801128111282112831128411285112861128711288112891129011291112921129311294112951129611297112981129911300113011130211303113041130511306113071130811309113101131111312113131131411315113161131711318113191132011321113221132311324113251132611327113281132911330113311133211333113341133511336113371133811339113401134111342113431134411345113461134711348113491135011351113521135311354113551135611357113581135911360113611136211363113641136511366113671136811369113701137111372113731137411375113761137711378113791138011381113821138311384113851138611387113881138911390113911139211393113941139511396113971139811399114001140111402114031140411405114061140711408114091141011411114121141311414114151141611417114181141911420114211142211423114241142511426114271142811429114301143111432114331143411435114361143711438114391144011441114421144311444114451144611447114481144911450114511145211453114541145511456114571145811459114601146111462114631146411465114661146711468114691147011471114721147311474114751147611477114781147911480114811148211483114841148511486114871148811489114901149111492114931149411495114961149711498114991150011501115021150311504115051150611507115081150911510115111151211513115141151511516115171151811519115201152111522115231152411525115261152711528115291153011531115321153311534115351153611537115381153911540115411154211543115441154511546115471154811549115501155111552115531155411555115561155711558115591156011561115621156311564115651156611567115681156911570115711157211573115741157511576115771157811579115801158111582115831158411585115861158711588115891159011591115921159311594115951159611597115981159911600116011160211603116041160511606116071160811609116101161111612116131161411615116161161711618116191162011621116221162311624116251162611627116281162911630116311163211633116341163511636116371163811639116401164111642116431164411645116461164711648116491165011651116521165311654116551165611657116581165911660116611166211663116641166511666116671166811669116701167111672116731167411675116761167711678116791168011681116821168311684116851168611687116881168911690116911169211693116941169511696116971169811699117001170111702117031170411705117061170711708117091171011711117121171311714117151171611717117181171911720117211172211723117241172511726117271172811729117301173111732117331173411735117361173711738117391174011741117421174311744117451174611747117481174911750117511175211753117541175511756117571175811759117601176111762117631176411765117661176711768117691177011771117721177311774117751177611777117781177911780117811178211783117841178511786117871178811789117901179111792117931179411795117961179711798117991180011801118021180311804118051180611807118081180911810118111181211813118141181511816118171181811819118201182111822118231182411825118261182711828118291183011831118321183311834118351183611837118381183911840118411184211843118441184511846118471184811849118501185111852118531185411855118561185711858118591186011861118621186311864118651186611867118681186911870118711187211873118741187511876118771187811879118801188111882118831188411885118861188711888118891189011891118921189311894118951189611897118981189911900119011190211903119041190511906119071190811909119101191111912119131191411915119161191711918119191192011921119221192311924119251192611927119281192911930119311193211933119341193511936119371193811939119401194111942119431194411945119461194711948119491195011951119521195311954119551195611957119581195911960119611196211963119641196511966119671196811969119701197111972119731197411975119761197711978119791198011981119821198311984119851198611987119881198911990119911199211993119941199511996119971199811999120001200112002120031200412005120061200712008120091201012011120121201312014120151201612017120181201912020120211202212023120241202512026120271202812029120301203112032120331203412035120361203712038120391204012041120421204312044120451204612047120481204912050120511205212053120541205512056120571205812059120601206112062120631206412065120661206712068120691207012071120721207312074120751207612077120781207912080120811208212083120841208512086120871208812089120901209112092120931209412095120961209712098120991210012101121021210312104121051210612107121081210912110121111211212113121141211512116121171211812119121201212112122121231212412125121261212712128121291213012131121321213312134121351213612137121381213912140121411214212143121441214512146121471214812149121501215112152121531215412155121561215712158121591216012161121621216312164121651216612167121681216912170121711217212173121741217512176121771217812179121801218112182121831218412185121861218712188121891219012191121921219312194121951219612197121981219912200122011220212203122041220512206122071220812209122101221112212122131221412215122161221712218122191222012221122221222312224122251222612227122281222912230122311223212233122341223512236122371223812239122401224112242122431224412245122461224712248122491225012251122521225312254122551225612257122581225912260122611226212263122641226512266122671226812269122701227112272122731227412275122761227712278122791228012281122821228312284122851228612287122881228912290122911229212293122941229512296122971229812299123001230112302123031230412305123061230712308123091231012311123121231312314123151231612317123181231912320123211232212323123241232512326123271232812329123301233112332123331233412335123361233712338123391234012341123421234312344123451234612347123481234912350123511235212353123541235512356123571235812359123601236112362123631236412365123661236712368123691237012371123721237312374123751237612377123781237912380123811238212383123841238512386123871238812389123901239112392123931239412395123961239712398123991240012401124021240312404124051240612407124081240912410124111241212413124141241512416124171241812419124201242112422124231242412425124261242712428124291243012431124321243312434124351243612437124381243912440124411244212443124441244512446124471244812449124501245112452124531245412455124561245712458124591246012461124621246312464124651246612467124681246912470124711247212473124741247512476124771247812479124801248112482124831248412485124861248712488124891249012491124921249312494124951249612497124981249912500125011250212503125041250512506125071250812509125101251112512125131251412515125161251712518125191252012521125221252312524125251252612527125281252912530125311253212533125341253512536125371253812539125401254112542125431254412545125461254712548125491255012551125521255312554125551255612557125581255912560125611256212563125641256512566125671256812569125701257112572125731257412575125761257712578125791258012581125821258312584125851258612587125881258912590125911259212593125941259512596125971259812599126001260112602126031260412605126061260712608126091261012611126121261312614126151261612617126181261912620126211262212623126241262512626126271262812629126301263112632126331263412635126361263712638126391264012641126421264312644126451264612647126481264912650126511265212653126541265512656126571265812659126601266112662126631266412665126661266712668126691267012671126721267312674126751267612677126781267912680126811268212683126841268512686126871268812689126901269112692126931269412695126961269712698126991270012701127021270312704127051270612707127081270912710127111271212713127141271512716127171271812719127201272112722127231272412725127261272712728127291273012731127321273312734127351273612737127381273912740127411274212743127441274512746127471274812749127501275112752127531275412755127561275712758127591276012761127621276312764127651276612767127681276912770127711277212773127741277512776127771277812779127801278112782127831278412785127861278712788127891279012791127921279312794127951279612797127981279912800128011280212803128041280512806128071280812809128101281112812128131281412815128161281712818128191282012821128221282312824128251282612827128281282912830128311283212833128341283512836128371283812839128401284112842128431284412845128461284712848128491285012851128521285312854128551285612857128581285912860128611286212863128641286512866128671286812869128701287112872128731287412875128761287712878128791288012881128821288312884128851288612887128881288912890128911289212893128941289512896128971289812899129001290112902129031290412905129061290712908129091291012911129121291312914129151291612917129181291912920129211292212923129241292512926129271292812929129301293112932129331293412935129361293712938129391294012941129421294312944129451294612947129481294912950129511295212953129541295512956129571295812959129601296112962129631296412965129661296712968129691297012971129721297312974129751297612977129781297912980129811298212983129841298512986129871298812989129901299112992129931299412995129961299712998129991300013001130021300313004130051300613007130081300913010130111301213013130141301513016130171301813019130201302113022130231302413025130261302713028130291303013031130321303313034130351303613037130381303913040130411304213043130441304513046130471304813049130501305113052130531305413055130561305713058130591306013061130621306313064130651306613067130681306913070130711307213073130741307513076130771307813079130801308113082130831308413085130861308713088130891309013091130921309313094130951309613097130981309913100131011310213103131041310513106131071310813109131101311113112131131311413115131161311713118131191312013121131221312313124131251312613127131281312913130131311313213133131341313513136131371313813139131401314113142131431314413145131461314713148131491315013151131521315313154131551315613157131581315913160131611316213163131641316513166131671316813169131701317113172131731317413175131761317713178131791318013181131821318313184131851318613187131881318913190131911319213193131941319513196131971319813199132001320113202132031320413205132061320713208132091321013211132121321313214132151321613217132181321913220132211322213223132241322513226132271322813229132301323113232132331323413235132361323713238132391324013241132421324313244132451324613247132481324913250132511325213253132541325513256132571325813259132601326113262132631326413265132661326713268132691327013271132721327313274132751327613277132781327913280132811328213283132841328513286132871328813289132901329113292132931329413295132961329713298132991330013301133021330313304133051330613307133081330913310133111331213313133141331513316133171331813319133201332113322133231332413325133261332713328133291333013331133321333313334133351333613337133381333913340133411334213343133441334513346133471334813349133501335113352133531335413355133561335713358133591336013361133621336313364133651336613367133681336913370133711337213373133741337513376133771337813379133801338113382133831338413385133861338713388133891339013391133921339313394133951339613397133981339913400134011340213403134041340513406134071340813409134101341113412134131341413415134161341713418134191342013421134221342313424134251342613427134281342913430134311343213433134341343513436134371343813439134401344113442134431344413445134461344713448134491345013451134521345313454134551345613457134581345913460134611346213463134641346513466134671346813469134701347113472134731347413475134761347713478134791348013481134821348313484134851348613487134881348913490134911349213493134941349513496134971349813499135001350113502135031350413505135061350713508135091351013511135121351313514135151351613517135181351913520135211352213523135241352513526135271352813529135301353113532135331353413535135361353713538135391354013541135421354313544135451354613547135481354913550135511355213553135541355513556135571355813559135601356113562135631356413565135661356713568135691357013571135721357313574135751357613577135781357913580135811358213583135841358513586135871358813589135901359113592135931359413595135961359713598135991360013601136021360313604136051360613607136081360913610136111361213613136141361513616136171361813619136201362113622136231362413625136261362713628136291363013631136321363313634136351363613637136381363913640136411364213643136441364513646136471364813649136501365113652136531365413655136561365713658136591366013661136621366313664136651366613667136681366913670136711367213673136741367513676136771367813679136801368113682136831368413685136861368713688136891369013691136921369313694136951369613697136981369913700137011370213703137041370513706137071370813709137101371113712137131371413715137161371713718137191372013721137221372313724137251372613727137281372913730137311373213733137341373513736137371373813739137401374113742137431374413745137461374713748137491375013751137521375313754137551375613757137581375913760137611376213763137641376513766137671376813769137701377113772137731377413775137761377713778137791378013781137821378313784137851378613787137881378913790137911379213793137941379513796137971379813799138001380113802138031380413805138061380713808138091381013811138121381313814138151381613817138181381913820138211382213823138241382513826138271382813829138301383113832138331383413835138361383713838138391384013841138421384313844138451384613847138481384913850138511385213853138541385513856138571385813859138601386113862138631386413865138661386713868138691387013871138721387313874138751387613877138781387913880138811388213883138841388513886138871388813889138901389113892138931389413895138961389713898138991390013901139021390313904139051390613907139081390913910139111391213913139141391513916139171391813919139201392113922139231392413925139261392713928139291393013931139321393313934139351393613937139381393913940139411394213943139441394513946139471394813949139501395113952139531395413955139561395713958139591396013961139621396313964139651396613967139681396913970139711397213973139741397513976139771397813979139801398113982139831398413985139861398713988139891399013991139921399313994139951399613997139981399914000140011400214003140041400514006140071400814009140101401114012140131401414015140161401714018140191402014021140221402314024140251402614027140281402914030140311403214033140341403514036140371403814039140401404114042140431404414045140461404714048140491405014051140521405314054140551405614057140581405914060140611406214063140641406514066140671406814069140701407114072140731407414075140761407714078140791408014081140821408314084140851408614087140881408914090140911409214093140941409514096140971409814099141001410114102141031410414105141061410714108141091411014111141121411314114141151411614117141181411914120141211412214123141241412514126141271412814129141301413114132141331413414135141361413714138141391414014141141421414314144141451414614147141481414914150141511415214153141541415514156141571415814159141601416114162141631416414165141661416714168141691417014171141721417314174141751417614177141781417914180141811418214183141841418514186141871418814189141901419114192141931419414195141961419714198141991420014201142021420314204142051420614207142081420914210142111421214213142141421514216142171421814219142201422114222142231422414225142261422714228142291423014231142321423314234142351423614237142381423914240142411424214243142441424514246142471424814249142501425114252142531425414255142561425714258142591426014261142621426314264142651426614267142681426914270142711427214273142741427514276142771427814279142801428114282142831428414285142861428714288142891429014291142921429314294142951429614297142981429914300143011430214303143041430514306143071430814309143101431114312143131431414315143161431714318143191432014321143221432314324143251432614327143281432914330143311433214333143341433514336143371433814339143401434114342143431434414345143461434714348143491435014351143521435314354143551435614357143581435914360143611436214363143641436514366143671436814369143701437114372143731437414375143761437714378143791438014381143821438314384143851438614387143881438914390143911439214393143941439514396143971439814399144001440114402144031440414405144061440714408144091441014411144121441314414144151441614417144181441914420144211442214423144241442514426144271442814429144301443114432144331443414435144361443714438144391444014441144421444314444144451444614447144481444914450144511445214453144541445514456144571445814459144601446114462144631446414465144661446714468144691447014471144721447314474144751447614477144781447914480144811448214483144841448514486144871448814489144901449114492144931449414495144961449714498144991450014501145021450314504145051450614507145081450914510145111451214513145141451514516145171451814519145201452114522145231452414525145261452714528145291453014531145321453314534145351453614537145381453914540145411454214543145441454514546145471454814549145501455114552145531455414555145561455714558145591456014561145621456314564145651456614567145681456914570145711457214573145741457514576145771457814579145801458114582145831458414585145861458714588145891459014591145921459314594145951459614597145981459914600146011460214603146041460514606146071460814609146101461114612146131461414615146161461714618146191462014621146221462314624146251462614627146281462914630146311463214633146341463514636146371463814639146401464114642146431464414645146461464714648146491465014651146521465314654146551465614657146581465914660146611466214663146641466514666146671466814669146701467114672146731467414675146761467714678146791468014681146821468314684146851468614687146881468914690146911469214693146941469514696146971469814699147001470114702147031470414705147061470714708147091471014711
  1. This is bfd.info, produced by makeinfo version 6.5 from bfd.texi.
  2. This file documents the BFD library.
  3. Copyright (C) 1991-2019 Free Software Foundation, Inc.
  4. Permission is granted to copy, distribute and/or modify this document
  5. under the terms of the GNU Free Documentation License, Version 1.3 or
  6. any later version published by the Free Software Foundation; with the
  7. Invariant Sections being "GNU General Public License" and "Funding Free
  8. Software", the Front-Cover texts being (a) (see below), and with the
  9. Back-Cover Texts being (b) (see below). A copy of the license is
  10. included in the section entitled "GNU Free Documentation License".
  11. (a) The FSF's Front-Cover Text is:
  12. A GNU Manual
  13. (b) The FSF's Back-Cover Text is:
  14. You have freedom to copy and modify this GNU Manual, like GNU
  15. software. Copies published by the Free Software Foundation raise funds
  16. for GNU development.
  17. INFO-DIR-SECTION Software development
  18. START-INFO-DIR-ENTRY
  19. * Bfd: (bfd). The Binary File Descriptor library.
  20. END-INFO-DIR-ENTRY
  21. 
  22. File: bfd.info, Node: Top, Next: Overview, Prev: (dir), Up: (dir)
  23. This file documents the binary file descriptor library libbfd.
  24. * Menu:
  25. * Overview:: Overview of BFD
  26. * BFD front end:: BFD front end
  27. * BFD back ends:: BFD back ends
  28. * GNU Free Documentation License:: GNU Free Documentation License
  29. * BFD Index:: BFD Index
  30. 
  31. File: bfd.info, Node: Overview, Next: BFD front end, Prev: Top, Up: Top
  32. 1 Introduction
  33. **************
  34. BFD is a package which allows applications to use the same routines to
  35. operate on object files whatever the object file format. A new object
  36. file format can be supported simply by creating a new BFD back end and
  37. adding it to the library.
  38. BFD is split into two parts: the front end, and the back ends (one
  39. for each object file format).
  40. * The front end of BFD provides the interface to the user. It
  41. manages memory and various canonical data structures. The front
  42. end also decides which back end to use and when to call back end
  43. routines.
  44. * The back ends provide BFD its view of the real world. Each back
  45. end provides a set of calls which the BFD front end can use to
  46. maintain its canonical form. The back ends also may keep around
  47. information for their own use, for greater efficiency.
  48. * Menu:
  49. * History:: History
  50. * How It Works:: How It Works
  51. * What BFD Version 2 Can Do:: What BFD Version 2 Can Do
  52. 
  53. File: bfd.info, Node: History, Next: How It Works, Prev: Overview, Up: Overview
  54. 1.1 History
  55. ===========
  56. One spur behind BFD was the desire, on the part of the GNU 960 team at
  57. Intel Oregon, for interoperability of applications on their COFF and
  58. b.out file formats. Cygnus was providing GNU support for the team, and
  59. was contracted to provide the required functionality.
  60. The name came from a conversation David Wallace was having with
  61. Richard Stallman about the library: RMS said that it would be quite
  62. hard--David said "BFD". Stallman was right, but the name stuck.
  63. At the same time, Ready Systems wanted much the same thing, but for
  64. different object file formats: IEEE-695, Oasys, Srecords, a.out and 68k
  65. coff.
  66. BFD was first implemented by members of Cygnus Support; Steve
  67. Chamberlain ('sac@cygnus.com'), John Gilmore ('gnu@cygnus.com'), K.
  68. Richard Pixley ('rich@cygnus.com') and David Henkel-Wallace
  69. ('gumby@cygnus.com').
  70. 
  71. File: bfd.info, Node: How It Works, Next: What BFD Version 2 Can Do, Prev: History, Up: Overview
  72. 1.2 How To Use BFD
  73. ==================
  74. To use the library, include 'bfd.h' and link with 'libbfd.a'.
  75. BFD provides a common interface to the parts of an object file for a
  76. calling application.
  77. When an application successfully opens a target file (object,
  78. archive, or whatever), a pointer to an internal structure is returned.
  79. This pointer points to a structure called 'bfd', described in 'bfd.h'.
  80. Our convention is to call this pointer a BFD, and instances of it within
  81. code 'abfd'. All operations on the target object file are applied as
  82. methods to the BFD. The mapping is defined within 'bfd.h' in a set of
  83. macros, all beginning with 'bfd_' to reduce namespace pollution.
  84. For example, this sequence does what you would probably expect:
  85. return the number of sections in an object file attached to a BFD
  86. 'abfd'.
  87. #include "bfd.h"
  88. unsigned int number_of_sections (abfd)
  89. bfd *abfd;
  90. {
  91. return bfd_count_sections (abfd);
  92. }
  93. The abstraction used within BFD is that an object file has:
  94. * a header,
  95. * a number of sections containing raw data (*note Sections::),
  96. * a set of relocations (*note Relocations::), and
  97. * some symbol information (*note Symbols::).
  98. Also, BFDs opened for archives have the additional attribute of an index
  99. and contain subordinate BFDs. This approach is fine for a.out and coff,
  100. but loses efficiency when applied to formats such as S-records and
  101. IEEE-695.
  102. 
  103. File: bfd.info, Node: What BFD Version 2 Can Do, Prev: How It Works, Up: Overview
  104. 1.3 What BFD Version 2 Can Do
  105. =============================
  106. When an object file is opened, BFD subroutines automatically determine
  107. the format of the input object file. They then build a descriptor in
  108. memory with pointers to routines that will be used to access elements of
  109. the object file's data structures.
  110. As different information from the object files is required, BFD reads
  111. from different sections of the file and processes them. For example, a
  112. very common operation for the linker is processing symbol tables. Each
  113. BFD back end provides a routine for converting between the object file's
  114. representation of symbols and an internal canonical format. When the
  115. linker asks for the symbol table of an object file, it calls through a
  116. memory pointer to the routine from the relevant BFD back end which reads
  117. and converts the table into a canonical form. The linker then operates
  118. upon the canonical form. When the link is finished and the linker
  119. writes the output file's symbol table, another BFD back end routine is
  120. called to take the newly created symbol table and convert it into the
  121. chosen output format.
  122. * Menu:
  123. * BFD information loss:: Information Loss
  124. * Canonical format:: The BFD canonical object-file format
  125. 
  126. File: bfd.info, Node: BFD information loss, Next: Canonical format, Up: What BFD Version 2 Can Do
  127. 1.3.1 Information Loss
  128. ----------------------
  129. _Information can be lost during output._ The output formats supported
  130. by BFD do not provide identical facilities, and information which can be
  131. described in one form has nowhere to go in another format. One example
  132. of this is alignment information in 'b.out'. There is nowhere in an
  133. 'a.out' format file to store alignment information on the contained
  134. data, so when a file is linked from 'b.out' and an 'a.out' image is
  135. produced, alignment information will not propagate to the output file.
  136. (The linker will still use the alignment information internally, so the
  137. link is performed correctly).
  138. Another example is COFF section names. COFF files may contain an
  139. unlimited number of sections, each one with a textual section name. If
  140. the target of the link is a format which does not have many sections
  141. (e.g., 'a.out') or has sections without names (e.g., the Oasys format),
  142. the link cannot be done simply. You can circumvent this problem by
  143. describing the desired input-to-output section mapping with the linker
  144. command language.
  145. _Information can be lost during canonicalization._ The BFD internal
  146. canonical form of the external formats is not exhaustive; there are
  147. structures in input formats for which there is no direct representation
  148. internally. This means that the BFD back ends cannot maintain all
  149. possible data richness through the transformation between external to
  150. internal and back to external formats.
  151. This limitation is only a problem when an application reads one
  152. format and writes another. Each BFD back end is responsible for
  153. maintaining as much data as possible, and the internal BFD canonical
  154. form has structures which are opaque to the BFD core, and exported only
  155. to the back ends. When a file is read in one format, the canonical form
  156. is generated for BFD and the application. At the same time, the back
  157. end saves away any information which may otherwise be lost. If the data
  158. is then written back in the same format, the back end routine will be
  159. able to use the canonical form provided by the BFD core as well as the
  160. information it prepared earlier. Since there is a great deal of
  161. commonality between back ends, there is no information lost when linking
  162. or copying big endian COFF to little endian COFF, or 'a.out' to 'b.out'.
  163. When a mixture of formats is linked, the information is only lost from
  164. the files whose format differs from the destination.
  165. 
  166. File: bfd.info, Node: Canonical format, Prev: BFD information loss, Up: What BFD Version 2 Can Do
  167. 1.3.2 The BFD canonical object-file format
  168. ------------------------------------------
  169. The greatest potential for loss of information occurs when there is the
  170. least overlap between the information provided by the source format,
  171. that stored by the canonical format, and that needed by the destination
  172. format. A brief description of the canonical form may help you
  173. understand which kinds of data you can count on preserving across
  174. conversions.
  175. _files_
  176. Information stored on a per-file basis includes target machine
  177. architecture, particular implementation format type, a demand
  178. pageable bit, and a write protected bit. Information like Unix
  179. magic numbers is not stored here--only the magic numbers' meaning,
  180. so a 'ZMAGIC' file would have both the demand pageable bit and the
  181. write protected text bit set. The byte order of the target is
  182. stored on a per-file basis, so that big- and little-endian object
  183. files may be used with one another.
  184. _sections_
  185. Each section in the input file contains the name of the section,
  186. the section's original address in the object file, size and
  187. alignment information, various flags, and pointers into other BFD
  188. data structures.
  189. _symbols_
  190. Each symbol contains a pointer to the information for the object
  191. file which originally defined it, its name, its value, and various
  192. flag bits. When a BFD back end reads in a symbol table, it
  193. relocates all symbols to make them relative to the base of the
  194. section where they were defined. Doing this ensures that each
  195. symbol points to its containing section. Each symbol also has a
  196. varying amount of hidden private data for the BFD back end. Since
  197. the symbol points to the original file, the private data format for
  198. that symbol is accessible. 'ld' can operate on a collection of
  199. symbols of wildly different formats without problems.
  200. Normal global and simple local symbols are maintained on output, so
  201. an output file (no matter its format) will retain symbols pointing
  202. to functions and to global, static, and common variables. Some
  203. symbol information is not worth retaining; in 'a.out', type
  204. information is stored in the symbol table as long symbol names.
  205. This information would be useless to most COFF debuggers; the
  206. linker has command-line switches to allow users to throw it away.
  207. There is one word of type information within the symbol, so if the
  208. format supports symbol type information within symbols (for
  209. example, COFF, Oasys) and the type is simple enough to fit within
  210. one word (nearly everything but aggregates), the information will
  211. be preserved.
  212. _relocation level_
  213. Each canonical BFD relocation record contains a pointer to the
  214. symbol to relocate to, the offset of the data to relocate, the
  215. section the data is in, and a pointer to a relocation type
  216. descriptor. Relocation is performed by passing messages through
  217. the relocation type descriptor and the symbol pointer. Therefore,
  218. relocations can be performed on output data using a relocation
  219. method that is only available in one of the input formats. For
  220. instance, Oasys provides a byte relocation format. A relocation
  221. record requesting this relocation type would point indirectly to a
  222. routine to perform this, so the relocation may be performed on a
  223. byte being written to a 68k COFF file, even though 68k COFF has no
  224. such relocation type.
  225. _line numbers_
  226. Object formats can contain, for debugging purposes, some form of
  227. mapping between symbols, source line numbers, and addresses in the
  228. output file. These addresses have to be relocated along with the
  229. symbol information. Each symbol with an associated list of line
  230. number records points to the first record of the list. The head of
  231. a line number list consists of a pointer to the symbol, which
  232. allows finding out the address of the function whose line number is
  233. being described. The rest of the list is made up of pairs: offsets
  234. into the section and line numbers. Any format which can simply
  235. derive this information can pass it successfully between formats.
  236. 
  237. File: bfd.info, Node: BFD front end, Next: BFD back ends, Prev: Overview, Up: Top
  238. 2 BFD Front End
  239. ***************
  240. * Menu:
  241. * typedef bfd::
  242. * Error reporting::
  243. * Miscellaneous::
  244. * Memory Usage::
  245. * Initialization::
  246. * Sections::
  247. * Symbols::
  248. * Archives::
  249. * Formats::
  250. * Relocations::
  251. * Core Files::
  252. * Targets::
  253. * Architectures::
  254. * Opening and Closing::
  255. * Internal::
  256. * File Caching::
  257. * Linker Functions::
  258. * Hash Tables::
  259. 
  260. File: bfd.info, Node: typedef bfd, Next: Error reporting, Prev: BFD front end, Up: BFD front end
  261. 2.1 'typedef bfd'
  262. =================
  263. A BFD has type 'bfd'; objects of this type are the cornerstone of any
  264. application using BFD. Using BFD consists of making references though
  265. the BFD and to data in the BFD.
  266. Here is the structure that defines the type 'bfd'. It contains the
  267. major data about the file and pointers to the rest of the data.
  268. enum bfd_direction
  269. {
  270. no_direction = 0,
  271. read_direction = 1,
  272. write_direction = 2,
  273. both_direction = 3
  274. };
  275. enum bfd_plugin_format
  276. {
  277. bfd_plugin_unknown = 0,
  278. bfd_plugin_yes = 1,
  279. bfd_plugin_no = 2
  280. };
  281. struct bfd_build_id
  282. {
  283. bfd_size_type size;
  284. bfd_byte data[1];
  285. };
  286. struct bfd
  287. {
  288. /* The filename the application opened the BFD with. */
  289. const char *filename;
  290. /* A pointer to the target jump table. */
  291. const struct bfd_target *xvec;
  292. /* The IOSTREAM, and corresponding IO vector that provide access
  293. to the file backing the BFD. */
  294. void *iostream;
  295. const struct bfd_iovec *iovec;
  296. /* The caching routines use these to maintain a
  297. least-recently-used list of BFDs. */
  298. struct bfd *lru_prev, *lru_next;
  299. /* Track current file position (or current buffer offset for
  300. in-memory BFDs). When a file is closed by the caching routines,
  301. BFD retains state information on the file here. */
  302. ufile_ptr where;
  303. /* File modified time, if mtime_set is TRUE. */
  304. long mtime;
  305. /* A unique identifier of the BFD */
  306. unsigned int id;
  307. /* The format which belongs to the BFD. (object, core, etc.) */
  308. ENUM_BITFIELD (bfd_format) format : 3;
  309. /* The direction with which the BFD was opened. */
  310. ENUM_BITFIELD (bfd_direction) direction : 2;
  311. /* Format_specific flags. */
  312. flagword flags;
  313. /* Values that may appear in the flags field of a BFD. These also
  314. appear in the object_flags field of the bfd_target structure, where
  315. they indicate the set of flags used by that backend (not all flags
  316. are meaningful for all object file formats) (FIXME: at the moment,
  317. the object_flags values have mostly just been copied from backend
  318. to another, and are not necessarily correct). */
  319. #define BFD_NO_FLAGS 0x0
  320. /* BFD contains relocation entries. */
  321. #define HAS_RELOC 0x1
  322. /* BFD is directly executable. */
  323. #define EXEC_P 0x2
  324. /* BFD has line number information (basically used for F_LNNO in a
  325. COFF header). */
  326. #define HAS_LINENO 0x4
  327. /* BFD has debugging information. */
  328. #define HAS_DEBUG 0x08
  329. /* BFD has symbols. */
  330. #define HAS_SYMS 0x10
  331. /* BFD has local symbols (basically used for F_LSYMS in a COFF
  332. header). */
  333. #define HAS_LOCALS 0x20
  334. /* BFD is a dynamic object. */
  335. #define DYNAMIC 0x40
  336. /* Text section is write protected (if D_PAGED is not set, this is
  337. like an a.out NMAGIC file) (the linker sets this by default, but
  338. clears it for -r or -N). */
  339. #define WP_TEXT 0x80
  340. /* BFD is dynamically paged (this is like an a.out ZMAGIC file) (the
  341. linker sets this by default, but clears it for -r or -n or -N). */
  342. #define D_PAGED 0x100
  343. /* BFD is relaxable (this means that bfd_relax_section may be able to
  344. do something) (sometimes bfd_relax_section can do something even if
  345. this is not set). */
  346. #define BFD_IS_RELAXABLE 0x200
  347. /* This may be set before writing out a BFD to request using a
  348. traditional format. For example, this is used to request that when
  349. writing out an a.out object the symbols not be hashed to eliminate
  350. duplicates. */
  351. #define BFD_TRADITIONAL_FORMAT 0x400
  352. /* This flag indicates that the BFD contents are actually cached
  353. in memory. If this is set, iostream points to a bfd_in_memory
  354. struct. */
  355. #define BFD_IN_MEMORY 0x800
  356. /* This BFD has been created by the linker and doesn't correspond
  357. to any input file. */
  358. #define BFD_LINKER_CREATED 0x1000
  359. /* This may be set before writing out a BFD to request that it
  360. be written using values for UIDs, GIDs, timestamps, etc. that
  361. will be consistent from run to run. */
  362. #define BFD_DETERMINISTIC_OUTPUT 0x2000
  363. /* Compress sections in this BFD. */
  364. #define BFD_COMPRESS 0x4000
  365. /* Decompress sections in this BFD. */
  366. #define BFD_DECOMPRESS 0x8000
  367. /* BFD is a dummy, for plugins. */
  368. #define BFD_PLUGIN 0x10000
  369. /* Compress sections in this BFD with SHF_COMPRESSED from gABI. */
  370. #define BFD_COMPRESS_GABI 0x20000
  371. /* Convert ELF common symbol type to STT_COMMON or STT_OBJECT in this
  372. BFD. */
  373. #define BFD_CONVERT_ELF_COMMON 0x40000
  374. /* Use the ELF STT_COMMON type in this BFD. */
  375. #define BFD_USE_ELF_STT_COMMON 0x80000
  376. /* Put pathnames into archives (non-POSIX). */
  377. #define BFD_ARCHIVE_FULL_PATH 0x100000
  378. /* Flags bits to be saved in bfd_preserve_save. */
  379. #define BFD_FLAGS_SAVED \
  380. (BFD_IN_MEMORY | BFD_COMPRESS | BFD_DECOMPRESS | BFD_LINKER_CREATED \
  381. | BFD_PLUGIN | BFD_COMPRESS_GABI | BFD_CONVERT_ELF_COMMON \
  382. | BFD_USE_ELF_STT_COMMON)
  383. /* Flags bits which are for BFD use only. */
  384. #define BFD_FLAGS_FOR_BFD_USE_MASK \
  385. (BFD_IN_MEMORY | BFD_COMPRESS | BFD_DECOMPRESS | BFD_LINKER_CREATED \
  386. | BFD_PLUGIN | BFD_TRADITIONAL_FORMAT | BFD_DETERMINISTIC_OUTPUT \
  387. | BFD_COMPRESS_GABI | BFD_CONVERT_ELF_COMMON | BFD_USE_ELF_STT_COMMON)
  388. /* Is the file descriptor being cached? That is, can it be closed as
  389. needed, and re-opened when accessed later? */
  390. unsigned int cacheable : 1;
  391. /* Marks whether there was a default target specified when the
  392. BFD was opened. This is used to select which matching algorithm
  393. to use to choose the back end. */
  394. unsigned int target_defaulted : 1;
  395. /* ... and here: (``once'' means at least once). */
  396. unsigned int opened_once : 1;
  397. /* Set if we have a locally maintained mtime value, rather than
  398. getting it from the file each time. */
  399. unsigned int mtime_set : 1;
  400. /* Flag set if symbols from this BFD should not be exported. */
  401. unsigned int no_export : 1;
  402. /* Remember when output has begun, to stop strange things
  403. from happening. */
  404. unsigned int output_has_begun : 1;
  405. /* Have archive map. */
  406. unsigned int has_armap : 1;
  407. /* Set if this is a thin archive. */
  408. unsigned int is_thin_archive : 1;
  409. /* Set if this archive should not cache element positions. */
  410. unsigned int no_element_cache : 1;
  411. /* Set if only required symbols should be added in the link hash table for
  412. this object. Used by VMS linkers. */
  413. unsigned int selective_search : 1;
  414. /* Set if this is the linker output BFD. */
  415. unsigned int is_linker_output : 1;
  416. /* Set if this is the linker input BFD. */
  417. unsigned int is_linker_input : 1;
  418. /* If this is an input for a compiler plug-in library. */
  419. ENUM_BITFIELD (bfd_plugin_format) plugin_format : 2;
  420. /* Set if this is a plugin output file. */
  421. unsigned int lto_output : 1;
  422. /* Set if this is a slim LTO object not loaded with a compiler plugin. */
  423. unsigned int lto_slim_object : 1;
  424. /* Set to dummy BFD created when claimed by a compiler plug-in
  425. library. */
  426. bfd *plugin_dummy_bfd;
  427. /* Currently my_archive is tested before adding origin to
  428. anything. I believe that this can become always an add of
  429. origin, with origin set to 0 for non archive files. */
  430. ufile_ptr origin;
  431. /* The origin in the archive of the proxy entry. This will
  432. normally be the same as origin, except for thin archives,
  433. when it will contain the current offset of the proxy in the
  434. thin archive rather than the offset of the bfd in its actual
  435. container. */
  436. ufile_ptr proxy_origin;
  437. /* A hash table for section names. */
  438. struct bfd_hash_table section_htab;
  439. /* Pointer to linked list of sections. */
  440. struct bfd_section *sections;
  441. /* The last section on the section list. */
  442. struct bfd_section *section_last;
  443. /* The number of sections. */
  444. unsigned int section_count;
  445. /* A field used by _bfd_generic_link_add_archive_symbols. This will
  446. be used only for archive elements. */
  447. int archive_pass;
  448. /* Stuff only useful for object files:
  449. The start address. */
  450. bfd_vma start_address;
  451. /* Symbol table for output BFD (with symcount entries).
  452. Also used by the linker to cache input BFD symbols. */
  453. struct bfd_symbol **outsymbols;
  454. /* Used for input and output. */
  455. unsigned int symcount;
  456. /* Used for slurped dynamic symbol tables. */
  457. unsigned int dynsymcount;
  458. /* Pointer to structure which contains architecture information. */
  459. const struct bfd_arch_info *arch_info;
  460. /* Stuff only useful for archives. */
  461. void *arelt_data;
  462. struct bfd *my_archive; /* The containing archive BFD. */
  463. struct bfd *archive_next; /* The next BFD in the archive. */
  464. struct bfd *archive_head; /* The first BFD in the archive. */
  465. struct bfd *nested_archives; /* List of nested archive in a flattened
  466. thin archive. */
  467. union {
  468. /* For input BFDs, a chain of BFDs involved in a link. */
  469. struct bfd *next;
  470. /* For output BFD, the linker hash table. */
  471. struct bfd_link_hash_table *hash;
  472. } link;
  473. /* Used by the back end to hold private data. */
  474. union
  475. {
  476. struct aout_data_struct *aout_data;
  477. struct artdata *aout_ar_data;
  478. struct coff_tdata *coff_obj_data;
  479. struct pe_tdata *pe_obj_data;
  480. struct xcoff_tdata *xcoff_obj_data;
  481. struct ecoff_tdata *ecoff_obj_data;
  482. struct srec_data_struct *srec_data;
  483. struct verilog_data_struct *verilog_data;
  484. struct ihex_data_struct *ihex_data;
  485. struct tekhex_data_struct *tekhex_data;
  486. struct elf_obj_tdata *elf_obj_data;
  487. struct mmo_data_struct *mmo_data;
  488. struct sun_core_struct *sun_core_data;
  489. struct sco5_core_struct *sco5_core_data;
  490. struct trad_core_struct *trad_core_data;
  491. struct som_data_struct *som_data;
  492. struct hpux_core_struct *hpux_core_data;
  493. struct hppabsd_core_struct *hppabsd_core_data;
  494. struct sgi_core_struct *sgi_core_data;
  495. struct lynx_core_struct *lynx_core_data;
  496. struct osf_core_struct *osf_core_data;
  497. struct cisco_core_struct *cisco_core_data;
  498. struct versados_data_struct *versados_data;
  499. struct netbsd_core_struct *netbsd_core_data;
  500. struct mach_o_data_struct *mach_o_data;
  501. struct mach_o_fat_data_struct *mach_o_fat_data;
  502. struct plugin_data_struct *plugin_data;
  503. struct bfd_pef_data_struct *pef_data;
  504. struct bfd_pef_xlib_data_struct *pef_xlib_data;
  505. struct bfd_sym_data_struct *sym_data;
  506. void *any;
  507. }
  508. tdata;
  509. /* Used by the application to hold private data. */
  510. void *usrdata;
  511. /* Where all the allocated stuff under this BFD goes. This is a
  512. struct objalloc *, but we use void * to avoid requiring the inclusion
  513. of objalloc.h. */
  514. void *memory;
  515. /* For input BFDs, the build ID, if the object has one. */
  516. const struct bfd_build_id *build_id;
  517. };
  518. static inline const char *
  519. bfd_get_filename (const bfd *abfd)
  520. {
  521. return abfd->filename;
  522. }
  523. static inline bfd_boolean
  524. bfd_get_cacheable (const bfd *abfd)
  525. {
  526. return abfd->cacheable;
  527. }
  528. static inline enum bfd_format
  529. bfd_get_format (const bfd *abfd)
  530. {
  531. return abfd->format;
  532. }
  533. static inline flagword
  534. bfd_get_file_flags (const bfd *abfd)
  535. {
  536. return abfd->flags;
  537. }
  538. static inline bfd_vma
  539. bfd_get_start_address (const bfd *abfd)
  540. {
  541. return abfd->start_address;
  542. }
  543. static inline unsigned int
  544. bfd_get_symcount (const bfd *abfd)
  545. {
  546. return abfd->symcount;
  547. }
  548. static inline unsigned int
  549. bfd_get_dynamic_symcount (const bfd *abfd)
  550. {
  551. return abfd->dynsymcount;
  552. }
  553. static inline struct bfd_symbol **
  554. bfd_get_outsymbols (const bfd *abfd)
  555. {
  556. return abfd->outsymbols;
  557. }
  558. static inline unsigned int
  559. bfd_count_sections (const bfd *abfd)
  560. {
  561. return abfd->section_count;
  562. }
  563. static inline bfd_boolean
  564. bfd_has_map (const bfd *abfd)
  565. {
  566. return abfd->has_armap;
  567. }
  568. static inline bfd_boolean
  569. bfd_is_thin_archive (const bfd *abfd)
  570. {
  571. return abfd->is_thin_archive;
  572. }
  573. static inline void *
  574. bfd_usrdata (const bfd *abfd)
  575. {
  576. return abfd->usrdata;
  577. }
  578. /* See note beside bfd_set_section_userdata. */
  579. static inline bfd_boolean
  580. bfd_set_cacheable (bfd * abfd, bfd_boolean val)
  581. {
  582. abfd->cacheable = val;
  583. return TRUE;
  584. }
  585. static inline void
  586. bfd_set_thin_archive (bfd *abfd, bfd_boolean val)
  587. {
  588. abfd->is_thin_archive = val;
  589. }
  590. static inline void
  591. bfd_set_usrdata (bfd *abfd, void *val)
  592. {
  593. abfd->usrdata = val;
  594. }
  595. static inline asection *
  596. bfd_asymbol_section (const asymbol *sy)
  597. {
  598. return sy->section;
  599. }
  600. static inline bfd_vma
  601. bfd_asymbol_value (const asymbol *sy)
  602. {
  603. return sy->section->vma + sy->value;
  604. }
  605. static inline const char *
  606. bfd_asymbol_name (const asymbol *sy)
  607. {
  608. return sy->name;
  609. }
  610. static inline struct bfd *
  611. bfd_asymbol_bfd (const asymbol *sy)
  612. {
  613. return sy->the_bfd;
  614. }
  615. static inline void
  616. bfd_set_asymbol_name (asymbol *sy, const char *name)
  617. {
  618. sy->name = name;
  619. }
  620. static inline bfd_size_type
  621. bfd_get_section_limit_octets (const bfd *abfd, const asection *sec)
  622. {
  623. if (abfd->direction != write_direction && sec->rawsize != 0)
  624. return sec->rawsize;
  625. return sec->size;
  626. }
  627. /* Find the address one past the end of SEC. */
  628. static inline bfd_size_type
  629. bfd_get_section_limit (const bfd *abfd, const asection *sec)
  630. {
  631. return (bfd_get_section_limit_octets (abfd, sec)
  632. / bfd_octets_per_byte (abfd, sec));
  633. }
  634. /* Functions to handle insertion and deletion of a bfd's sections. These
  635. only handle the list pointers, ie. do not adjust section_count,
  636. target_index etc. */
  637. static inline void
  638. bfd_section_list_remove (bfd *abfd, asection *s)
  639. {
  640. asection *next = s->next;
  641. asection *prev = s->prev;
  642. if (prev)
  643. prev->next = next;
  644. else
  645. abfd->sections = next;
  646. if (next)
  647. next->prev = prev;
  648. else
  649. abfd->section_last = prev;
  650. }
  651. static inline void
  652. bfd_section_list_append (bfd *abfd, asection *s)
  653. {
  654. s->next = 0;
  655. if (abfd->section_last)
  656. {
  657. s->prev = abfd->section_last;
  658. abfd->section_last->next = s;
  659. }
  660. else
  661. {
  662. s->prev = 0;
  663. abfd->sections = s;
  664. }
  665. abfd->section_last = s;
  666. }
  667. static inline void
  668. bfd_section_list_prepend (bfd *abfd, asection *s)
  669. {
  670. s->prev = 0;
  671. if (abfd->sections)
  672. {
  673. s->next = abfd->sections;
  674. abfd->sections->prev = s;
  675. }
  676. else
  677. {
  678. s->next = 0;
  679. abfd->section_last = s;
  680. }
  681. abfd->sections = s;
  682. }
  683. static inline void
  684. bfd_section_list_insert_after (bfd *abfd, asection *a, asection *s)
  685. {
  686. asection *next = a->next;
  687. s->next = next;
  688. s->prev = a;
  689. a->next = s;
  690. if (next)
  691. next->prev = s;
  692. else
  693. abfd->section_last = s;
  694. }
  695. static inline void
  696. bfd_section_list_insert_before (bfd *abfd, asection *b, asection *s)
  697. {
  698. asection *prev = b->prev;
  699. s->prev = prev;
  700. s->next = b;
  701. b->prev = s;
  702. if (prev)
  703. prev->next = s;
  704. else
  705. abfd->sections = s;
  706. }
  707. static inline bfd_boolean
  708. bfd_section_removed_from_list (const bfd *abfd, const asection *s)
  709. {
  710. return s->next ? s->next->prev != s : abfd->section_last != s;
  711. }
  712. 
  713. File: bfd.info, Node: Error reporting, Next: Miscellaneous, Prev: typedef bfd, Up: BFD front end
  714. 2.2 Error reporting
  715. ===================
  716. Most BFD functions return nonzero on success (check their individual
  717. documentation for precise semantics). On an error, they call
  718. 'bfd_set_error' to set an error condition that callers can check by
  719. calling 'bfd_get_error'. If that returns 'bfd_error_system_call', then
  720. check 'errno'.
  721. The easiest way to report a BFD error to the user is to use
  722. 'bfd_perror'.
  723. 2.2.1 Type 'bfd_error_type'
  724. ---------------------------
  725. The values returned by 'bfd_get_error' are defined by the enumerated
  726. type 'bfd_error_type'.
  727. typedef enum bfd_error
  728. {
  729. bfd_error_no_error = 0,
  730. bfd_error_system_call,
  731. bfd_error_invalid_target,
  732. bfd_error_wrong_format,
  733. bfd_error_wrong_object_format,
  734. bfd_error_invalid_operation,
  735. bfd_error_no_memory,
  736. bfd_error_no_symbols,
  737. bfd_error_no_armap,
  738. bfd_error_no_more_archived_files,
  739. bfd_error_malformed_archive,
  740. bfd_error_missing_dso,
  741. bfd_error_file_not_recognized,
  742. bfd_error_file_ambiguously_recognized,
  743. bfd_error_no_contents,
  744. bfd_error_nonrepresentable_section,
  745. bfd_error_no_debug_section,
  746. bfd_error_bad_value,
  747. bfd_error_file_truncated,
  748. bfd_error_file_too_big,
  749. bfd_error_sorry,
  750. bfd_error_on_input,
  751. bfd_error_invalid_error_code
  752. }
  753. bfd_error_type;
  754. 2.2.1.1 'bfd_get_error'
  755. .......................
  756. *Synopsis*
  757. bfd_error_type bfd_get_error (void);
  758. *Description*
  759. Return the current BFD error condition.
  760. 2.2.1.2 'bfd_set_error'
  761. .......................
  762. *Synopsis*
  763. void bfd_set_error (bfd_error_type error_tag);
  764. *Description*
  765. Set the BFD error condition to be ERROR_TAG.
  766. ERROR_TAG must not be bfd_error_on_input. Use bfd_set_input_error
  767. for input errors instead.
  768. 2.2.1.3 'bfd_set_input_error'
  769. .............................
  770. *Synopsis*
  771. void bfd_set_input_error (bfd *input, bfd_error_type error_tag);
  772. *Description*
  773. Set the BFD error condition to be bfd_error_on_input. INPUT is the
  774. input bfd where the error occurred, and ERROR_TAG the bfd_error_type
  775. error.
  776. 2.2.1.4 'bfd_errmsg'
  777. ....................
  778. *Synopsis*
  779. const char *bfd_errmsg (bfd_error_type error_tag);
  780. *Description*
  781. Return a string describing the error ERROR_TAG, or the system error if
  782. ERROR_TAG is 'bfd_error_system_call'.
  783. 2.2.1.5 'bfd_perror'
  784. ....................
  785. *Synopsis*
  786. void bfd_perror (const char *message);
  787. *Description*
  788. Print to the standard error stream a string describing the last BFD
  789. error that occurred, or the last system error if the last BFD error was
  790. a system call failure. If MESSAGE is non-NULL and non-empty, the error
  791. string printed is preceded by MESSAGE, a colon, and a space. It is
  792. followed by a newline.
  793. 2.2.2 BFD error handler
  794. -----------------------
  795. Some BFD functions want to print messages describing the problem. They
  796. call a BFD error handler function. This function may be overridden by
  797. the program.
  798. The BFD error handler acts like vprintf.
  799. typedef void (*bfd_error_handler_type) (const char *, va_list);
  800. 2.2.2.1 '_bfd_error_handler'
  801. ............................
  802. *Synopsis*
  803. void _bfd_error_handler (const char *fmt, ...) ATTRIBUTE_PRINTF_1;
  804. *Description*
  805. This is the default routine to handle BFD error messages. Like fprintf
  806. (stderr, ...), but also handles some extra format specifiers.
  807. %pA section name from section. For group components, prints group
  808. name too. %pB file name from bfd. For archive components, prints
  809. archive too.
  810. Beware: Only supports a maximum of 9 format arguments.
  811. 2.2.2.2 'bfd_set_error_handler'
  812. ...............................
  813. *Synopsis*
  814. bfd_error_handler_type bfd_set_error_handler (bfd_error_handler_type);
  815. *Description*
  816. Set the BFD error handler function. Returns the previous function.
  817. 2.2.2.3 'bfd_set_error_program_name'
  818. ....................................
  819. *Synopsis*
  820. void bfd_set_error_program_name (const char *);
  821. *Description*
  822. Set the program name to use when printing a BFD error. This is printed
  823. before the error message followed by a colon and space. The string must
  824. not be changed after it is passed to this function.
  825. 2.2.3 BFD assert handler
  826. ------------------------
  827. If BFD finds an internal inconsistency, the bfd assert handler is called
  828. with information on the BFD version, BFD source file and line. If this
  829. happens, most programs linked against BFD are expected to want to exit
  830. with an error, or mark the current BFD operation as failed, so it is
  831. recommended to override the default handler, which just calls
  832. _bfd_error_handler and continues.
  833. typedef void (*bfd_assert_handler_type) (const char *bfd_formatmsg,
  834. const char *bfd_version,
  835. const char *bfd_file,
  836. int bfd_line);
  837. 2.2.3.1 'bfd_set_assert_handler'
  838. ................................
  839. *Synopsis*
  840. bfd_assert_handler_type bfd_set_assert_handler (bfd_assert_handler_type);
  841. *Description*
  842. Set the BFD assert handler function. Returns the previous function.
  843. 
  844. File: bfd.info, Node: Miscellaneous, Next: Memory Usage, Prev: Error reporting, Up: BFD front end
  845. 2.3 Miscellaneous
  846. =================
  847. 2.3.1 Miscellaneous functions
  848. -----------------------------
  849. 2.3.1.1 'bfd_get_reloc_upper_bound'
  850. ...................................
  851. *Synopsis*
  852. long bfd_get_reloc_upper_bound (bfd *abfd, asection *sect);
  853. *Description*
  854. Return the number of bytes required to store the relocation information
  855. associated with section SECT attached to bfd ABFD. If an error occurs,
  856. return -1.
  857. 2.3.1.2 'bfd_canonicalize_reloc'
  858. ................................
  859. *Synopsis*
  860. long bfd_canonicalize_reloc
  861. (bfd *abfd, asection *sec, arelent **loc, asymbol **syms);
  862. *Description*
  863. Call the back end associated with the open BFD ABFD and translate the
  864. external form of the relocation information attached to SEC into the
  865. internal canonical form. Place the table into memory at LOC, which has
  866. been preallocated, usually by a call to 'bfd_get_reloc_upper_bound'.
  867. Returns the number of relocs, or -1 on error.
  868. The SYMS table is also needed for horrible internal magic reasons.
  869. 2.3.1.3 'bfd_set_reloc'
  870. .......................
  871. *Synopsis*
  872. void bfd_set_reloc
  873. (bfd *abfd, asection *sec, arelent **rel, unsigned int count);
  874. *Description*
  875. Set the relocation pointer and count within section SEC to the values
  876. REL and COUNT. The argument ABFD is ignored.
  877. #define bfd_set_reloc(abfd, asect, location, count) \
  878. BFD_SEND (abfd, _bfd_set_reloc, (abfd, asect, location, count))
  879. 2.3.1.4 'bfd_set_file_flags'
  880. ............................
  881. *Synopsis*
  882. bfd_boolean bfd_set_file_flags (bfd *abfd, flagword flags);
  883. *Description*
  884. Set the flag word in the BFD ABFD to the value FLAGS.
  885. Possible errors are:
  886. * 'bfd_error_wrong_format' - The target bfd was not of object format.
  887. * 'bfd_error_invalid_operation' - The target bfd was open for
  888. reading.
  889. * 'bfd_error_invalid_operation' - The flag word contained a bit which
  890. was not applicable to the type of file. E.g., an attempt was made
  891. to set the 'D_PAGED' bit on a BFD format which does not support
  892. demand paging.
  893. 2.3.1.5 'bfd_get_arch_size'
  894. ...........................
  895. *Synopsis*
  896. int bfd_get_arch_size (bfd *abfd);
  897. *Description*
  898. Returns the normalized architecture address size, in bits, as determined
  899. by the object file's format. By normalized, we mean either 32 or 64.
  900. For ELF, this information is included in the header. Use
  901. bfd_arch_bits_per_address for number of bits in the architecture
  902. address.
  903. *Returns*
  904. Returns the arch size in bits if known, '-1' otherwise.
  905. 2.3.1.6 'bfd_get_sign_extend_vma'
  906. .................................
  907. *Synopsis*
  908. int bfd_get_sign_extend_vma (bfd *abfd);
  909. *Description*
  910. Indicates if the target architecture "naturally" sign extends an
  911. address. Some architectures implicitly sign extend address values when
  912. they are converted to types larger than the size of an address. For
  913. instance, bfd_get_start_address() will return an address sign extended
  914. to fill a bfd_vma when this is the case.
  915. *Returns*
  916. Returns '1' if the target architecture is known to sign extend
  917. addresses, '0' if the target architecture is known to not sign extend
  918. addresses, and '-1' otherwise.
  919. 2.3.1.7 'bfd_set_start_address'
  920. ...............................
  921. *Synopsis*
  922. bfd_boolean bfd_set_start_address (bfd *abfd, bfd_vma vma);
  923. *Description*
  924. Make VMA the entry point of output BFD ABFD.
  925. *Returns*
  926. Returns 'TRUE' on success, 'FALSE' otherwise.
  927. 2.3.1.8 'bfd_get_gp_size'
  928. .........................
  929. *Synopsis*
  930. unsigned int bfd_get_gp_size (bfd *abfd);
  931. *Description*
  932. Return the maximum size of objects to be optimized using the GP register
  933. under MIPS ECOFF. This is typically set by the '-G' argument to the
  934. compiler, assembler or linker.
  935. 2.3.1.9 'bfd_set_gp_size'
  936. .........................
  937. *Synopsis*
  938. void bfd_set_gp_size (bfd *abfd, unsigned int i);
  939. *Description*
  940. Set the maximum size of objects to be optimized using the GP register
  941. under ECOFF or MIPS ELF. This is typically set by the '-G' argument to
  942. the compiler, assembler or linker.
  943. 2.3.1.10 'bfd_scan_vma'
  944. .......................
  945. *Synopsis*
  946. bfd_vma bfd_scan_vma (const char *string, const char **end, int base);
  947. *Description*
  948. Convert, like 'strtoul', a numerical expression STRING into a 'bfd_vma'
  949. integer, and return that integer. (Though without as many bells and
  950. whistles as 'strtoul'.) The expression is assumed to be unsigned (i.e.,
  951. positive). If given a BASE, it is used as the base for conversion. A
  952. base of 0 causes the function to interpret the string in hex if a
  953. leading "0x" or "0X" is found, otherwise in octal if a leading zero is
  954. found, otherwise in decimal.
  955. If the value would overflow, the maximum 'bfd_vma' value is returned.
  956. 2.3.1.11 'bfd_copy_private_header_data'
  957. .......................................
  958. *Synopsis*
  959. bfd_boolean bfd_copy_private_header_data (bfd *ibfd, bfd *obfd);
  960. *Description*
  961. Copy private BFD header information from the BFD IBFD to the the BFD
  962. OBFD. This copies information that may require sections to exist, but
  963. does not require symbol tables. Return 'true' on success, 'false' on
  964. error. Possible error returns are:
  965. * 'bfd_error_no_memory' - Not enough memory exists to create private
  966. data for OBFD.
  967. #define bfd_copy_private_header_data(ibfd, obfd) \
  968. BFD_SEND (obfd, _bfd_copy_private_header_data, \
  969. (ibfd, obfd))
  970. 2.3.1.12 'bfd_copy_private_bfd_data'
  971. ....................................
  972. *Synopsis*
  973. bfd_boolean bfd_copy_private_bfd_data (bfd *ibfd, bfd *obfd);
  974. *Description*
  975. Copy private BFD information from the BFD IBFD to the the BFD OBFD.
  976. Return 'TRUE' on success, 'FALSE' on error. Possible error returns are:
  977. * 'bfd_error_no_memory' - Not enough memory exists to create private
  978. data for OBFD.
  979. #define bfd_copy_private_bfd_data(ibfd, obfd) \
  980. BFD_SEND (obfd, _bfd_copy_private_bfd_data, \
  981. (ibfd, obfd))
  982. 2.3.1.13 'bfd_set_private_flags'
  983. ................................
  984. *Synopsis*
  985. bfd_boolean bfd_set_private_flags (bfd *abfd, flagword flags);
  986. *Description*
  987. Set private BFD flag information in the BFD ABFD. Return 'TRUE' on
  988. success, 'FALSE' on error. Possible error returns are:
  989. * 'bfd_error_no_memory' - Not enough memory exists to create private
  990. data for OBFD.
  991. #define bfd_set_private_flags(abfd, flags) \
  992. BFD_SEND (abfd, _bfd_set_private_flags, (abfd, flags))
  993. 2.3.1.14 'Other functions'
  994. ..........................
  995. *Description*
  996. The following functions exist but have not yet been documented.
  997. #define bfd_sizeof_headers(abfd, info) \
  998. BFD_SEND (abfd, _bfd_sizeof_headers, (abfd, info))
  999. #define bfd_find_nearest_line(abfd, sec, syms, off, file, func, line) \
  1000. BFD_SEND (abfd, _bfd_find_nearest_line, \
  1001. (abfd, syms, sec, off, file, func, line, NULL))
  1002. #define bfd_find_nearest_line_discriminator(abfd, sec, syms, off, file, func, \
  1003. line, disc) \
  1004. BFD_SEND (abfd, _bfd_find_nearest_line, \
  1005. (abfd, syms, sec, off, file, func, line, disc))
  1006. #define bfd_find_line(abfd, syms, sym, file, line) \
  1007. BFD_SEND (abfd, _bfd_find_line, \
  1008. (abfd, syms, sym, file, line))
  1009. #define bfd_find_inliner_info(abfd, file, func, line) \
  1010. BFD_SEND (abfd, _bfd_find_inliner_info, \
  1011. (abfd, file, func, line))
  1012. #define bfd_debug_info_start(abfd) \
  1013. BFD_SEND (abfd, _bfd_debug_info_start, (abfd))
  1014. #define bfd_debug_info_end(abfd) \
  1015. BFD_SEND (abfd, _bfd_debug_info_end, (abfd))
  1016. #define bfd_debug_info_accumulate(abfd, section) \
  1017. BFD_SEND (abfd, _bfd_debug_info_accumulate, (abfd, section))
  1018. #define bfd_stat_arch_elt(abfd, stat) \
  1019. BFD_SEND (abfd, _bfd_stat_arch_elt,(abfd, stat))
  1020. #define bfd_update_armap_timestamp(abfd) \
  1021. BFD_SEND (abfd, _bfd_update_armap_timestamp, (abfd))
  1022. #define bfd_set_arch_mach(abfd, arch, mach)\
  1023. BFD_SEND ( abfd, _bfd_set_arch_mach, (abfd, arch, mach))
  1024. #define bfd_relax_section(abfd, section, link_info, again) \
  1025. BFD_SEND (abfd, _bfd_relax_section, (abfd, section, link_info, again))
  1026. #define bfd_gc_sections(abfd, link_info) \
  1027. BFD_SEND (abfd, _bfd_gc_sections, (abfd, link_info))
  1028. #define bfd_lookup_section_flags(link_info, flag_info, section) \
  1029. BFD_SEND (abfd, _bfd_lookup_section_flags, (link_info, flag_info, section))
  1030. #define bfd_merge_sections(abfd, link_info) \
  1031. BFD_SEND (abfd, _bfd_merge_sections, (abfd, link_info))
  1032. #define bfd_is_group_section(abfd, sec) \
  1033. BFD_SEND (abfd, _bfd_is_group_section, (abfd, sec))
  1034. #define bfd_group_name(abfd, sec) \
  1035. BFD_SEND (abfd, _bfd_group_name, (abfd, sec))
  1036. #define bfd_discard_group(abfd, sec) \
  1037. BFD_SEND (abfd, _bfd_discard_group, (abfd, sec))
  1038. #define bfd_link_hash_table_create(abfd) \
  1039. BFD_SEND (abfd, _bfd_link_hash_table_create, (abfd))
  1040. #define bfd_link_add_symbols(abfd, info) \
  1041. BFD_SEND (abfd, _bfd_link_add_symbols, (abfd, info))
  1042. #define bfd_link_just_syms(abfd, sec, info) \
  1043. BFD_SEND (abfd, _bfd_link_just_syms, (sec, info))
  1044. #define bfd_final_link(abfd, info) \
  1045. BFD_SEND (abfd, _bfd_final_link, (abfd, info))
  1046. #define bfd_free_cached_info(abfd) \
  1047. BFD_SEND (abfd, _bfd_free_cached_info, (abfd))
  1048. #define bfd_get_dynamic_symtab_upper_bound(abfd) \
  1049. BFD_SEND (abfd, _bfd_get_dynamic_symtab_upper_bound, (abfd))
  1050. #define bfd_print_private_bfd_data(abfd, file)\
  1051. BFD_SEND (abfd, _bfd_print_private_bfd_data, (abfd, file))
  1052. #define bfd_canonicalize_dynamic_symtab(abfd, asymbols) \
  1053. BFD_SEND (abfd, _bfd_canonicalize_dynamic_symtab, (abfd, asymbols))
  1054. #define bfd_get_synthetic_symtab(abfd, count, syms, dyncount, dynsyms, ret) \
  1055. BFD_SEND (abfd, _bfd_get_synthetic_symtab, (abfd, count, syms, \
  1056. dyncount, dynsyms, ret))
  1057. #define bfd_get_dynamic_reloc_upper_bound(abfd) \
  1058. BFD_SEND (abfd, _bfd_get_dynamic_reloc_upper_bound, (abfd))
  1059. #define bfd_canonicalize_dynamic_reloc(abfd, arels, asyms) \
  1060. BFD_SEND (abfd, _bfd_canonicalize_dynamic_reloc, (abfd, arels, asyms))
  1061. extern bfd_byte *bfd_get_relocated_section_contents
  1062. (bfd *, struct bfd_link_info *, struct bfd_link_order *, bfd_byte *,
  1063. bfd_boolean, asymbol **);
  1064. 2.3.1.15 'bfd_alt_mach_code'
  1065. ............................
  1066. *Synopsis*
  1067. bfd_boolean bfd_alt_mach_code (bfd *abfd, int alternative);
  1068. *Description*
  1069. When more than one machine code number is available for the same machine
  1070. type, this function can be used to switch between the preferred one
  1071. (alternative == 0) and any others. Currently, only ELF supports this
  1072. feature, with up to two alternate machine codes.
  1073. 2.3.1.16 'bfd_emul_get_maxpagesize'
  1074. ...................................
  1075. *Synopsis*
  1076. bfd_vma bfd_emul_get_maxpagesize (const char *);
  1077. *Description*
  1078. Returns the maximum page size, in bytes, as determined by emulation.
  1079. *Returns*
  1080. Returns the maximum page size in bytes for ELF, 0 otherwise.
  1081. 2.3.1.17 'bfd_emul_set_maxpagesize'
  1082. ...................................
  1083. *Synopsis*
  1084. void bfd_emul_set_maxpagesize (const char *, bfd_vma);
  1085. *Description*
  1086. For ELF, set the maximum page size for the emulation. It is a no-op for
  1087. other formats.
  1088. 2.3.1.18 'bfd_emul_get_commonpagesize'
  1089. ......................................
  1090. *Synopsis*
  1091. bfd_vma bfd_emul_get_commonpagesize (const char *, bfd_boolean);
  1092. *Description*
  1093. Returns the common page size, in bytes, as determined by emulation.
  1094. *Returns*
  1095. Returns the common page size in bytes for ELF, 0 otherwise.
  1096. 2.3.1.19 'bfd_emul_set_commonpagesize'
  1097. ......................................
  1098. *Synopsis*
  1099. void bfd_emul_set_commonpagesize (const char *, bfd_vma);
  1100. *Description*
  1101. For ELF, set the common page size for the emulation. It is a no-op for
  1102. other formats.
  1103. 2.3.1.20 'bfd_demangle'
  1104. .......................
  1105. *Synopsis*
  1106. char *bfd_demangle (bfd *, const char *, int);
  1107. *Description*
  1108. Wrapper around cplus_demangle. Strips leading underscores and other
  1109. such chars that would otherwise confuse the demangler. If passed a g++
  1110. v3 ABI mangled name, returns a buffer allocated with malloc holding the
  1111. demangled name. Returns NULL otherwise and on memory alloc failure.
  1112. 2.3.1.21 'bfd_update_compression_header'
  1113. ........................................
  1114. *Synopsis*
  1115. void bfd_update_compression_header
  1116. (bfd *abfd, bfd_byte *contents, asection *sec);
  1117. *Description*
  1118. Set the compression header at CONTENTS of SEC in ABFD and update
  1119. elf_section_flags for compression.
  1120. 2.3.1.22 'bfd_check_compression_header'
  1121. .......................................
  1122. *Synopsis*
  1123. bfd_boolean bfd_check_compression_header
  1124. (bfd *abfd, bfd_byte *contents, asection *sec,
  1125. bfd_size_type *uncompressed_size,
  1126. unsigned int *uncompressed_alignment_power);
  1127. *Description*
  1128. Check the compression header at CONTENTS of SEC in ABFD and store the
  1129. uncompressed size in UNCOMPRESSED_SIZE and the uncompressed data
  1130. alignment in UNCOMPRESSED_ALIGNMENT_POWER if the compression header is
  1131. valid.
  1132. *Returns*
  1133. Return TRUE if the compression header is valid.
  1134. 2.3.1.23 'bfd_get_compression_header_size'
  1135. ..........................................
  1136. *Synopsis*
  1137. int bfd_get_compression_header_size (bfd *abfd, asection *sec);
  1138. *Description*
  1139. Return the size of the compression header of SEC in ABFD.
  1140. *Returns*
  1141. Return the size of the compression header in bytes.
  1142. 2.3.1.24 'bfd_convert_section_size'
  1143. ...................................
  1144. *Synopsis*
  1145. bfd_size_type bfd_convert_section_size
  1146. (bfd *ibfd, asection *isec, bfd *obfd, bfd_size_type size);
  1147. *Description*
  1148. Convert the size SIZE of the section ISEC in input BFD IBFD to the
  1149. section size in output BFD OBFD.
  1150. 2.3.1.25 'bfd_convert_section_contents'
  1151. .......................................
  1152. *Synopsis*
  1153. bfd_boolean bfd_convert_section_contents
  1154. (bfd *ibfd, asection *isec, bfd *obfd,
  1155. bfd_byte **ptr, bfd_size_type *ptr_size);
  1156. *Description*
  1157. Convert the contents, stored in *PTR, of the section ISEC in input BFD
  1158. IBFD to output BFD OBFD if needed. The original buffer pointed to by
  1159. *PTR may be freed and *PTR is returned with memory malloc'd by this
  1160. function, and the new size written to PTR_SIZE.
  1161. 2.3.1.26 'struct bfd_iovec'
  1162. ...........................
  1163. *Description*
  1164. The 'struct bfd_iovec' contains the internal file I/O class. Each 'BFD'
  1165. has an instance of this class and all file I/O is routed through it (it
  1166. is assumed that the instance implements all methods listed below).
  1167. struct bfd_iovec
  1168. {
  1169. /* To avoid problems with macros, a "b" rather than "f"
  1170. prefix is prepended to each method name. */
  1171. /* Attempt to read/write NBYTES on ABFD's IOSTREAM storing/fetching
  1172. bytes starting at PTR. Return the number of bytes actually
  1173. transfered (a read past end-of-file returns less than NBYTES),
  1174. or -1 (setting bfd_error) if an error occurs. */
  1175. file_ptr (*bread) (struct bfd *abfd, void *ptr, file_ptr nbytes);
  1176. file_ptr (*bwrite) (struct bfd *abfd, const void *ptr,
  1177. file_ptr nbytes);
  1178. /* Return the current IOSTREAM file offset, or -1 (setting bfd_error
  1179. if an error occurs. */
  1180. file_ptr (*btell) (struct bfd *abfd);
  1181. /* For the following, on successful completion a value of 0 is returned.
  1182. Otherwise, a value of -1 is returned (and bfd_error is set). */
  1183. int (*bseek) (struct bfd *abfd, file_ptr offset, int whence);
  1184. int (*bclose) (struct bfd *abfd);
  1185. int (*bflush) (struct bfd *abfd);
  1186. int (*bstat) (struct bfd *abfd, struct stat *sb);
  1187. /* Mmap a part of the files. ADDR, LEN, PROT, FLAGS and OFFSET are the usual
  1188. mmap parameter, except that LEN and OFFSET do not need to be page
  1189. aligned. Returns (void *)-1 on failure, mmapped address on success.
  1190. Also write in MAP_ADDR the address of the page aligned buffer and in
  1191. MAP_LEN the size mapped (a page multiple). Use unmap with MAP_ADDR and
  1192. MAP_LEN to unmap. */
  1193. void *(*bmmap) (struct bfd *abfd, void *addr, bfd_size_type len,
  1194. int prot, int flags, file_ptr offset,
  1195. void **map_addr, bfd_size_type *map_len);
  1196. };
  1197. extern const struct bfd_iovec _bfd_memory_iovec;
  1198. 2.3.1.27 'bfd_get_mtime'
  1199. ........................
  1200. *Synopsis*
  1201. long bfd_get_mtime (bfd *abfd);
  1202. *Description*
  1203. Return the file modification time (as read from the file system, or from
  1204. the archive header for archive members).
  1205. 2.3.1.28 'bfd_get_size'
  1206. .......................
  1207. *Synopsis*
  1208. ufile_ptr bfd_get_size (bfd *abfd);
  1209. *Description*
  1210. Return the file size (as read from file system) for the file associated
  1211. with BFD ABFD.
  1212. The initial motivation for, and use of, this routine is not so we can
  1213. get the exact size of the object the BFD applies to, since that might
  1214. not be generally possible (archive members for example). It would be
  1215. ideal if someone could eventually modify it so that such results were
  1216. guaranteed.
  1217. Instead, we want to ask questions like "is this NNN byte sized object
  1218. I'm about to try read from file offset YYY reasonable?" As as example
  1219. of where we might do this, some object formats use string tables for
  1220. which the first 'sizeof (long)' bytes of the table contain the size of
  1221. the table itself, including the size bytes. If an application tries to
  1222. read what it thinks is one of these string tables, without some way to
  1223. validate the size, and for some reason the size is wrong (byte swapping
  1224. error, wrong location for the string table, etc.), the only clue is
  1225. likely to be a read error when it tries to read the table, or a "virtual
  1226. memory exhausted" error when it tries to allocate 15 bazillon bytes of
  1227. space for the 15 bazillon byte table it is about to read. This function
  1228. at least allows us to answer the question, "is the size reasonable?".
  1229. 2.3.1.29 'bfd_get_file_size'
  1230. ............................
  1231. *Synopsis*
  1232. ufile_ptr bfd_get_file_size (bfd *abfd);
  1233. *Description*
  1234. Return the file size (as read from file system) for the file associated
  1235. with BFD ABFD. It supports both normal files and archive elements.
  1236. 2.3.1.30 'bfd_mmap'
  1237. ...................
  1238. *Synopsis*
  1239. void *bfd_mmap (bfd *abfd, void *addr, bfd_size_type len,
  1240. int prot, int flags, file_ptr offset,
  1241. void **map_addr, bfd_size_type *map_len);
  1242. *Description*
  1243. Return mmap()ed region of the file, if possible and implemented. LEN
  1244. and OFFSET do not need to be page aligned. The page aligned address and
  1245. length are written to MAP_ADDR and MAP_LEN.
  1246. 
  1247. File: bfd.info, Node: Memory Usage, Next: Initialization, Prev: Miscellaneous, Up: BFD front end
  1248. 2.4 Memory Usage
  1249. ================
  1250. BFD keeps all of its internal structures in obstacks. There is one
  1251. obstack per open BFD file, into which the current state is stored. When
  1252. a BFD is closed, the obstack is deleted, and so everything which has
  1253. been allocated by BFD for the closing file is thrown away.
  1254. BFD does not free anything created by an application, but pointers
  1255. into 'bfd' structures become invalid on a 'bfd_close'; for example,
  1256. after a 'bfd_close' the vector passed to 'bfd_canonicalize_symtab' is
  1257. still around, since it has been allocated by the application, but the
  1258. data that it pointed to are lost.
  1259. The general rule is to not close a BFD until all operations dependent
  1260. upon data from the BFD have been completed, or all the data from within
  1261. the file has been copied. To help with the management of memory, there
  1262. is a function ('bfd_alloc_size') which returns the number of bytes in
  1263. obstacks associated with the supplied BFD. This could be used to select
  1264. the greediest open BFD, close it to reclaim the memory, perform some
  1265. operation and reopen the BFD again, to get a fresh copy of the data
  1266. structures.
  1267. 
  1268. File: bfd.info, Node: Initialization, Next: Sections, Prev: Memory Usage, Up: BFD front end
  1269. 2.5 Initialization
  1270. ==================
  1271. 2.5.1 Initialization functions
  1272. ------------------------------
  1273. These are the functions that handle initializing a BFD.
  1274. 2.5.1.1 'bfd_init'
  1275. ..................
  1276. *Synopsis*
  1277. unsigned int bfd_init (void);
  1278. *Description*
  1279. This routine must be called before any other BFD function to initialize
  1280. magical internal data structures. Returns a magic number, which may be
  1281. used to check that the bfd library is configured as expected by users.
  1282. /* Value returned by bfd_init. */
  1283. #define BFD_INIT_MAGIC (sizeof (struct bfd_section))
  1284. 
  1285. File: bfd.info, Node: Sections, Next: Symbols, Prev: Initialization, Up: BFD front end
  1286. 2.6 Sections
  1287. ============
  1288. The raw data contained within a BFD is maintained through the section
  1289. abstraction. A single BFD may have any number of sections. It keeps
  1290. hold of them by pointing to the first; each one points to the next in
  1291. the list.
  1292. Sections are supported in BFD in 'section.c'.
  1293. * Menu:
  1294. * Section Input::
  1295. * Section Output::
  1296. * typedef asection::
  1297. * section prototypes::
  1298. 
  1299. File: bfd.info, Node: Section Input, Next: Section Output, Prev: Sections, Up: Sections
  1300. 2.6.1 Section input
  1301. -------------------
  1302. When a BFD is opened for reading, the section structures are created and
  1303. attached to the BFD.
  1304. Each section has a name which describes the section in the outside
  1305. world--for example, 'a.out' would contain at least three sections,
  1306. called '.text', '.data' and '.bss'.
  1307. Names need not be unique; for example a COFF file may have several
  1308. sections named '.data'.
  1309. Sometimes a BFD will contain more than the "natural" number of
  1310. sections. A back end may attach other sections containing constructor
  1311. data, or an application may add a section (using 'bfd_make_section') to
  1312. the sections attached to an already open BFD. For example, the linker
  1313. creates an extra section 'COMMON' for each input file's BFD to hold
  1314. information about common storage.
  1315. The raw data is not necessarily read in when the section descriptor
  1316. is created. Some targets may leave the data in place until a
  1317. 'bfd_get_section_contents' call is made. Other back ends may read in
  1318. all the data at once. For example, an S-record file has to be read once
  1319. to determine the size of the data.
  1320. 
  1321. File: bfd.info, Node: Section Output, Next: typedef asection, Prev: Section Input, Up: Sections
  1322. 2.6.2 Section output
  1323. --------------------
  1324. To write a new object style BFD, the various sections to be written have
  1325. to be created. They are attached to the BFD in the same way as input
  1326. sections; data is written to the sections using
  1327. 'bfd_set_section_contents'.
  1328. Any program that creates or combines sections (e.g., the assembler
  1329. and linker) must use the 'asection' fields 'output_section' and
  1330. 'output_offset' to indicate the file sections to which each section must
  1331. be written. (If the section is being created from scratch,
  1332. 'output_section' should probably point to the section itself and
  1333. 'output_offset' should probably be zero.)
  1334. The data to be written comes from input sections attached (via
  1335. 'output_section' pointers) to the output sections. The output section
  1336. structure can be considered a filter for the input section: the output
  1337. section determines the vma of the output data and the name, but the
  1338. input section determines the offset into the output section of the data
  1339. to be written.
  1340. E.g., to create a section "O", starting at 0x100, 0x123 long,
  1341. containing two subsections, "A" at offset 0x0 (i.e., at vma 0x100) and
  1342. "B" at offset 0x20 (i.e., at vma 0x120) the 'asection' structures would
  1343. look like:
  1344. section name "A"
  1345. output_offset 0x00
  1346. size 0x20
  1347. output_section -----------> section name "O"
  1348. | vma 0x100
  1349. section name "B" | size 0x123
  1350. output_offset 0x20 |
  1351. size 0x103 |
  1352. output_section --------|
  1353. 2.6.3 Link orders
  1354. -----------------
  1355. The data within a section is stored in a "link_order". These are much
  1356. like the fixups in 'gas'. The link_order abstraction allows a section
  1357. to grow and shrink within itself.
  1358. A link_order knows how big it is, and which is the next link_order
  1359. and where the raw data for it is; it also points to a list of
  1360. relocations which apply to it.
  1361. The link_order is used by the linker to perform relaxing on final
  1362. code. The compiler creates code which is as big as necessary to make it
  1363. work without relaxing, and the user can select whether to relax.
  1364. Sometimes relaxing takes a lot of time. The linker runs around the
  1365. relocations to see if any are attached to data which can be shrunk, if
  1366. so it does it on a link_order by link_order basis.
  1367. 
  1368. File: bfd.info, Node: typedef asection, Next: section prototypes, Prev: Section Output, Up: Sections
  1369. 2.6.4 typedef asection
  1370. ----------------------
  1371. Here is the section structure:
  1372. typedef struct bfd_section
  1373. {
  1374. /* The name of the section; the name isn't a copy, the pointer is
  1375. the same as that passed to bfd_make_section. */
  1376. const char *name;
  1377. /* A unique sequence number. */
  1378. unsigned int id;
  1379. /* Which section in the bfd; 0..n-1 as sections are created in a bfd. */
  1380. unsigned int index;
  1381. /* The next section in the list belonging to the BFD, or NULL. */
  1382. struct bfd_section *next;
  1383. /* The previous section in the list belonging to the BFD, or NULL. */
  1384. struct bfd_section *prev;
  1385. /* The field flags contains attributes of the section. Some
  1386. flags are read in from the object file, and some are
  1387. synthesized from other information. */
  1388. flagword flags;
  1389. #define SEC_NO_FLAGS 0x0
  1390. /* Tells the OS to allocate space for this section when loading.
  1391. This is clear for a section containing debug information only. */
  1392. #define SEC_ALLOC 0x1
  1393. /* Tells the OS to load the section from the file when loading.
  1394. This is clear for a .bss section. */
  1395. #define SEC_LOAD 0x2
  1396. /* The section contains data still to be relocated, so there is
  1397. some relocation information too. */
  1398. #define SEC_RELOC 0x4
  1399. /* A signal to the OS that the section contains read only data. */
  1400. #define SEC_READONLY 0x8
  1401. /* The section contains code only. */
  1402. #define SEC_CODE 0x10
  1403. /* The section contains data only. */
  1404. #define SEC_DATA 0x20
  1405. /* The section will reside in ROM. */
  1406. #define SEC_ROM 0x40
  1407. /* The section contains constructor information. This section
  1408. type is used by the linker to create lists of constructors and
  1409. destructors used by g++. When a back end sees a symbol
  1410. which should be used in a constructor list, it creates a new
  1411. section for the type of name (e.g., __CTOR_LIST__), attaches
  1412. the symbol to it, and builds a relocation. To build the lists
  1413. of constructors, all the linker has to do is catenate all the
  1414. sections called __CTOR_LIST__ and relocate the data
  1415. contained within - exactly the operations it would peform on
  1416. standard data. */
  1417. #define SEC_CONSTRUCTOR 0x80
  1418. /* The section has contents - a data section could be
  1419. SEC_ALLOC | SEC_HAS_CONTENTS; a debug section could be
  1420. SEC_HAS_CONTENTS */
  1421. #define SEC_HAS_CONTENTS 0x100
  1422. /* An instruction to the linker to not output the section
  1423. even if it has information which would normally be written. */
  1424. #define SEC_NEVER_LOAD 0x200
  1425. /* The section contains thread local data. */
  1426. #define SEC_THREAD_LOCAL 0x400
  1427. /* The section's size is fixed. Generic linker code will not
  1428. recalculate it and it is up to whoever has set this flag to
  1429. get the size right. */
  1430. #define SEC_FIXED_SIZE 0x800
  1431. /* The section contains common symbols (symbols may be defined
  1432. multiple times, the value of a symbol is the amount of
  1433. space it requires, and the largest symbol value is the one
  1434. used). Most targets have exactly one of these (which we
  1435. translate to bfd_com_section_ptr), but ECOFF has two. */
  1436. #define SEC_IS_COMMON 0x1000
  1437. /* The section contains only debugging information. For
  1438. example, this is set for ELF .debug and .stab sections.
  1439. strip tests this flag to see if a section can be
  1440. discarded. */
  1441. #define SEC_DEBUGGING 0x2000
  1442. /* The contents of this section are held in memory pointed to
  1443. by the contents field. This is checked by bfd_get_section_contents,
  1444. and the data is retrieved from memory if appropriate. */
  1445. #define SEC_IN_MEMORY 0x4000
  1446. /* The contents of this section are to be excluded by the
  1447. linker for executable and shared objects unless those
  1448. objects are to be further relocated. */
  1449. #define SEC_EXCLUDE 0x8000
  1450. /* The contents of this section are to be sorted based on the sum of
  1451. the symbol and addend values specified by the associated relocation
  1452. entries. Entries without associated relocation entries will be
  1453. appended to the end of the section in an unspecified order. */
  1454. #define SEC_SORT_ENTRIES 0x10000
  1455. /* When linking, duplicate sections of the same name should be
  1456. discarded, rather than being combined into a single section as
  1457. is usually done. This is similar to how common symbols are
  1458. handled. See SEC_LINK_DUPLICATES below. */
  1459. #define SEC_LINK_ONCE 0x20000
  1460. /* If SEC_LINK_ONCE is set, this bitfield describes how the linker
  1461. should handle duplicate sections. */
  1462. #define SEC_LINK_DUPLICATES 0xc0000
  1463. /* This value for SEC_LINK_DUPLICATES means that duplicate
  1464. sections with the same name should simply be discarded. */
  1465. #define SEC_LINK_DUPLICATES_DISCARD 0x0
  1466. /* This value for SEC_LINK_DUPLICATES means that the linker
  1467. should warn if there are any duplicate sections, although
  1468. it should still only link one copy. */
  1469. #define SEC_LINK_DUPLICATES_ONE_ONLY 0x40000
  1470. /* This value for SEC_LINK_DUPLICATES means that the linker
  1471. should warn if any duplicate sections are a different size. */
  1472. #define SEC_LINK_DUPLICATES_SAME_SIZE 0x80000
  1473. /* This value for SEC_LINK_DUPLICATES means that the linker
  1474. should warn if any duplicate sections contain different
  1475. contents. */
  1476. #define SEC_LINK_DUPLICATES_SAME_CONTENTS \
  1477. (SEC_LINK_DUPLICATES_ONE_ONLY | SEC_LINK_DUPLICATES_SAME_SIZE)
  1478. /* This section was created by the linker as part of dynamic
  1479. relocation or other arcane processing. It is skipped when
  1480. going through the first-pass output, trusting that someone
  1481. else up the line will take care of it later. */
  1482. #define SEC_LINKER_CREATED 0x100000
  1483. /* This section should not be subject to garbage collection.
  1484. Also set to inform the linker that this section should not be
  1485. listed in the link map as discarded. */
  1486. #define SEC_KEEP 0x200000
  1487. /* This section contains "short" data, and should be placed
  1488. "near" the GP. */
  1489. #define SEC_SMALL_DATA 0x400000
  1490. /* Attempt to merge identical entities in the section.
  1491. Entity size is given in the entsize field. */
  1492. #define SEC_MERGE 0x800000
  1493. /* If given with SEC_MERGE, entities to merge are zero terminated
  1494. strings where entsize specifies character size instead of fixed
  1495. size entries. */
  1496. #define SEC_STRINGS 0x1000000
  1497. /* This section contains data about section groups. */
  1498. #define SEC_GROUP 0x2000000
  1499. /* The section is a COFF shared library section. This flag is
  1500. only for the linker. If this type of section appears in
  1501. the input file, the linker must copy it to the output file
  1502. without changing the vma or size. FIXME: Although this
  1503. was originally intended to be general, it really is COFF
  1504. specific (and the flag was renamed to indicate this). It
  1505. might be cleaner to have some more general mechanism to
  1506. allow the back end to control what the linker does with
  1507. sections. */
  1508. #define SEC_COFF_SHARED_LIBRARY 0x4000000
  1509. /* This input section should be copied to output in reverse order
  1510. as an array of pointers. This is for ELF linker internal use
  1511. only. */
  1512. #define SEC_ELF_REVERSE_COPY 0x4000000
  1513. /* This section contains data which may be shared with other
  1514. executables or shared objects. This is for COFF only. */
  1515. #define SEC_COFF_SHARED 0x8000000
  1516. /* This section should be compressed. This is for ELF linker
  1517. internal use only. */
  1518. #define SEC_ELF_COMPRESS 0x8000000
  1519. /* When a section with this flag is being linked, then if the size of
  1520. the input section is less than a page, it should not cross a page
  1521. boundary. If the size of the input section is one page or more,
  1522. it should be aligned on a page boundary. This is for TI
  1523. TMS320C54X only. */
  1524. #define SEC_TIC54X_BLOCK 0x10000000
  1525. /* This section should be renamed. This is for ELF linker
  1526. internal use only. */
  1527. #define SEC_ELF_RENAME 0x10000000
  1528. /* Conditionally link this section; do not link if there are no
  1529. references found to any symbol in the section. This is for TI
  1530. TMS320C54X only. */
  1531. #define SEC_TIC54X_CLINK 0x20000000
  1532. /* This section contains vliw code. This is for Toshiba MeP only. */
  1533. #define SEC_MEP_VLIW 0x20000000
  1534. /* All symbols, sizes and relocations in this section are octets
  1535. instead of bytes. Required for DWARF debug sections as DWARF
  1536. information is organized in octets, not bytes. */
  1537. #define SEC_ELF_OCTETS 0x40000000
  1538. /* Indicate that section has the no read flag set. This happens
  1539. when memory read flag isn't set. */
  1540. #define SEC_COFF_NOREAD 0x40000000
  1541. /* Indicate that section has the purecode flag set. */
  1542. #define SEC_ELF_PURECODE 0x80000000
  1543. /* End of section flags. */
  1544. /* Some internal packed boolean fields. */
  1545. /* See the vma field. */
  1546. unsigned int user_set_vma : 1;
  1547. /* A mark flag used by some of the linker backends. */
  1548. unsigned int linker_mark : 1;
  1549. /* Another mark flag used by some of the linker backends. Set for
  1550. output sections that have an input section. */
  1551. unsigned int linker_has_input : 1;
  1552. /* Mark flag used by some linker backends for garbage collection. */
  1553. unsigned int gc_mark : 1;
  1554. /* Section compression status. */
  1555. unsigned int compress_status : 2;
  1556. #define COMPRESS_SECTION_NONE 0
  1557. #define COMPRESS_SECTION_DONE 1
  1558. #define DECOMPRESS_SECTION_SIZED 2
  1559. /* The following flags are used by the ELF linker. */
  1560. /* Mark sections which have been allocated to segments. */
  1561. unsigned int segment_mark : 1;
  1562. /* Type of sec_info information. */
  1563. unsigned int sec_info_type:3;
  1564. #define SEC_INFO_TYPE_NONE 0
  1565. #define SEC_INFO_TYPE_STABS 1
  1566. #define SEC_INFO_TYPE_MERGE 2
  1567. #define SEC_INFO_TYPE_EH_FRAME 3
  1568. #define SEC_INFO_TYPE_JUST_SYMS 4
  1569. #define SEC_INFO_TYPE_TARGET 5
  1570. #define SEC_INFO_TYPE_EH_FRAME_ENTRY 6
  1571. /* Nonzero if this section uses RELA relocations, rather than REL. */
  1572. unsigned int use_rela_p:1;
  1573. /* Bits used by various backends. The generic code doesn't touch
  1574. these fields. */
  1575. unsigned int sec_flg0:1;
  1576. unsigned int sec_flg1:1;
  1577. unsigned int sec_flg2:1;
  1578. unsigned int sec_flg3:1;
  1579. unsigned int sec_flg4:1;
  1580. unsigned int sec_flg5:1;
  1581. /* End of internal packed boolean fields. */
  1582. /* The virtual memory address of the section - where it will be
  1583. at run time. The symbols are relocated against this. The
  1584. user_set_vma flag is maintained by bfd; if it's not set, the
  1585. backend can assign addresses (for example, in a.out, where
  1586. the default address for .data is dependent on the specific
  1587. target and various flags). */
  1588. bfd_vma vma;
  1589. /* The load address of the section - where it would be in a
  1590. rom image; really only used for writing section header
  1591. information. */
  1592. bfd_vma lma;
  1593. /* The size of the section in *octets*, as it will be output.
  1594. Contains a value even if the section has no contents (e.g., the
  1595. size of .bss). */
  1596. bfd_size_type size;
  1597. /* For input sections, the original size on disk of the section, in
  1598. octets. This field should be set for any section whose size is
  1599. changed by linker relaxation. It is required for sections where
  1600. the linker relaxation scheme doesn't cache altered section and
  1601. reloc contents (stabs, eh_frame, SEC_MERGE, some coff relaxing
  1602. targets), and thus the original size needs to be kept to read the
  1603. section multiple times. For output sections, rawsize holds the
  1604. section size calculated on a previous linker relaxation pass. */
  1605. bfd_size_type rawsize;
  1606. /* The compressed size of the section in octets. */
  1607. bfd_size_type compressed_size;
  1608. /* Relaxation table. */
  1609. struct relax_table *relax;
  1610. /* Count of used relaxation table entries. */
  1611. int relax_count;
  1612. /* If this section is going to be output, then this value is the
  1613. offset in *bytes* into the output section of the first byte in the
  1614. input section (byte ==> smallest addressable unit on the
  1615. target). In most cases, if this was going to start at the
  1616. 100th octet (8-bit quantity) in the output section, this value
  1617. would be 100. However, if the target byte size is 16 bits
  1618. (bfd_octets_per_byte is "2"), this value would be 50. */
  1619. bfd_vma output_offset;
  1620. /* The output section through which to map on output. */
  1621. struct bfd_section *output_section;
  1622. /* The alignment requirement of the section, as an exponent of 2 -
  1623. e.g., 3 aligns to 2^3 (or 8). */
  1624. unsigned int alignment_power;
  1625. /* If an input section, a pointer to a vector of relocation
  1626. records for the data in this section. */
  1627. struct reloc_cache_entry *relocation;
  1628. /* If an output section, a pointer to a vector of pointers to
  1629. relocation records for the data in this section. */
  1630. struct reloc_cache_entry **orelocation;
  1631. /* The number of relocation records in one of the above. */
  1632. unsigned reloc_count;
  1633. /* Information below is back end specific - and not always used
  1634. or updated. */
  1635. /* File position of section data. */
  1636. file_ptr filepos;
  1637. /* File position of relocation info. */
  1638. file_ptr rel_filepos;
  1639. /* File position of line data. */
  1640. file_ptr line_filepos;
  1641. /* Pointer to data for applications. */
  1642. void *userdata;
  1643. /* If the SEC_IN_MEMORY flag is set, this points to the actual
  1644. contents. */
  1645. unsigned char *contents;
  1646. /* Attached line number information. */
  1647. alent *lineno;
  1648. /* Number of line number records. */
  1649. unsigned int lineno_count;
  1650. /* Entity size for merging purposes. */
  1651. unsigned int entsize;
  1652. /* Points to the kept section if this section is a link-once section,
  1653. and is discarded. */
  1654. struct bfd_section *kept_section;
  1655. /* When a section is being output, this value changes as more
  1656. linenumbers are written out. */
  1657. file_ptr moving_line_filepos;
  1658. /* What the section number is in the target world. */
  1659. int target_index;
  1660. void *used_by_bfd;
  1661. /* If this is a constructor section then here is a list of the
  1662. relocations created to relocate items within it. */
  1663. struct relent_chain *constructor_chain;
  1664. /* The BFD which owns the section. */
  1665. bfd *owner;
  1666. /* A symbol which points at this section only. */
  1667. struct bfd_symbol *symbol;
  1668. struct bfd_symbol **symbol_ptr_ptr;
  1669. /* Early in the link process, map_head and map_tail are used to build
  1670. a list of input sections attached to an output section. Later,
  1671. output sections use these fields for a list of bfd_link_order
  1672. structs. */
  1673. union {
  1674. struct bfd_link_order *link_order;
  1675. struct bfd_section *s;
  1676. } map_head, map_tail;
  1677. } asection;
  1678. /* Relax table contains information about instructions which can
  1679. be removed by relaxation -- replacing a long address with a
  1680. short address. */
  1681. struct relax_table {
  1682. /* Address where bytes may be deleted. */
  1683. bfd_vma addr;
  1684. /* Number of bytes to be deleted. */
  1685. int size;
  1686. };
  1687. static inline const char *
  1688. bfd_section_name (const asection *sec)
  1689. {
  1690. return sec->name;
  1691. }
  1692. static inline bfd_size_type
  1693. bfd_section_size (const asection *sec)
  1694. {
  1695. return sec->size;
  1696. }
  1697. static inline bfd_vma
  1698. bfd_section_vma (const asection *sec)
  1699. {
  1700. return sec->vma;
  1701. }
  1702. static inline bfd_vma
  1703. bfd_section_lma (const asection *sec)
  1704. {
  1705. return sec->lma;
  1706. }
  1707. static inline unsigned int
  1708. bfd_section_alignment (const asection *sec)
  1709. {
  1710. return sec->alignment_power;
  1711. }
  1712. static inline flagword
  1713. bfd_section_flags (const asection *sec)
  1714. {
  1715. return sec->flags;
  1716. }
  1717. static inline void *
  1718. bfd_section_userdata (const asection *sec)
  1719. {
  1720. return sec->userdata;
  1721. }
  1722. static inline bfd_boolean
  1723. bfd_is_com_section (const asection *sec)
  1724. {
  1725. return (sec->flags & SEC_IS_COMMON) != 0;
  1726. }
  1727. /* Note: the following are provided as inline functions rather than macros
  1728. because not all callers use the return value. A macro implementation
  1729. would use a comma expression, eg: "((ptr)->foo = val, TRUE)" and some
  1730. compilers will complain about comma expressions that have no effect. */
  1731. static inline bfd_boolean
  1732. bfd_set_section_userdata (asection *sec, void *val)
  1733. {
  1734. sec->userdata = val;
  1735. return TRUE;
  1736. }
  1737. static inline bfd_boolean
  1738. bfd_set_section_vma (asection *sec, bfd_vma val)
  1739. {
  1740. sec->vma = sec->lma = val;
  1741. sec->user_set_vma = TRUE;
  1742. return TRUE;
  1743. }
  1744. static inline bfd_boolean
  1745. bfd_set_section_lma (asection *sec, bfd_vma val)
  1746. {
  1747. sec->lma = val;
  1748. return TRUE;
  1749. }
  1750. static inline bfd_boolean
  1751. bfd_set_section_alignment (asection *sec, unsigned int val)
  1752. {
  1753. sec->alignment_power = val;
  1754. return TRUE;
  1755. }
  1756. /* These sections are global, and are managed by BFD. The application
  1757. and target back end are not permitted to change the values in
  1758. these sections. */
  1759. extern asection _bfd_std_section[4];
  1760. #define BFD_ABS_SECTION_NAME "*ABS*"
  1761. #define BFD_UND_SECTION_NAME "*UND*"
  1762. #define BFD_COM_SECTION_NAME "*COM*"
  1763. #define BFD_IND_SECTION_NAME "*IND*"
  1764. /* Pointer to the common section. */
  1765. #define bfd_com_section_ptr (&_bfd_std_section[0])
  1766. /* Pointer to the undefined section. */
  1767. #define bfd_und_section_ptr (&_bfd_std_section[1])
  1768. /* Pointer to the absolute section. */
  1769. #define bfd_abs_section_ptr (&_bfd_std_section[2])
  1770. /* Pointer to the indirect section. */
  1771. #define bfd_ind_section_ptr (&_bfd_std_section[3])
  1772. static inline bfd_boolean
  1773. bfd_is_und_section (const asection *sec)
  1774. {
  1775. return sec == bfd_und_section_ptr;
  1776. }
  1777. static inline bfd_boolean
  1778. bfd_is_abs_section (const asection *sec)
  1779. {
  1780. return sec == bfd_abs_section_ptr;
  1781. }
  1782. static inline bfd_boolean
  1783. bfd_is_ind_section (const asection *sec)
  1784. {
  1785. return sec == bfd_ind_section_ptr;
  1786. }
  1787. static inline bfd_boolean
  1788. bfd_is_const_section (const asection *sec)
  1789. {
  1790. return sec >= bfd_abs_section_ptr && sec <= bfd_ind_section_ptr;
  1791. }
  1792. /* Return TRUE if input section SEC has been discarded. */
  1793. static inline bfd_boolean
  1794. discarded_section (const asection *sec)
  1795. {
  1796. return (!bfd_is_abs_section (sec)
  1797. && bfd_is_abs_section (sec->output_section)
  1798. && sec->sec_info_type != SEC_INFO_TYPE_MERGE
  1799. && sec->sec_info_type != SEC_INFO_TYPE_JUST_SYMS);
  1800. }
  1801. #define BFD_FAKE_SECTION(SEC, SYM, NAME, IDX, FLAGS) \
  1802. /* name, id, index, next, prev, flags, user_set_vma, */ \
  1803. { NAME, IDX, 0, NULL, NULL, FLAGS, 0, \
  1804. \
  1805. /* linker_mark, linker_has_input, gc_mark, decompress_status, */ \
  1806. 0, 0, 1, 0, \
  1807. \
  1808. /* segment_mark, sec_info_type, use_rela_p, */ \
  1809. 0, 0, 0, \
  1810. \
  1811. /* sec_flg0, sec_flg1, sec_flg2, sec_flg3, sec_flg4, sec_flg5, */ \
  1812. 0, 0, 0, 0, 0, 0, \
  1813. \
  1814. /* vma, lma, size, rawsize, compressed_size, relax, relax_count, */ \
  1815. 0, 0, 0, 0, 0, 0, 0, \
  1816. \
  1817. /* output_offset, output_section, alignment_power, */ \
  1818. 0, &SEC, 0, \
  1819. \
  1820. /* relocation, orelocation, reloc_count, filepos, rel_filepos, */ \
  1821. NULL, NULL, 0, 0, 0, \
  1822. \
  1823. /* line_filepos, userdata, contents, lineno, lineno_count, */ \
  1824. 0, NULL, NULL, NULL, 0, \
  1825. \
  1826. /* entsize, kept_section, moving_line_filepos, */ \
  1827. 0, NULL, 0, \
  1828. \
  1829. /* target_index, used_by_bfd, constructor_chain, owner, */ \
  1830. 0, NULL, NULL, NULL, \
  1831. \
  1832. /* symbol, symbol_ptr_ptr, */ \
  1833. (struct bfd_symbol *) SYM, &SEC.symbol, \
  1834. \
  1835. /* map_head, map_tail */ \
  1836. { NULL }, { NULL } \
  1837. }
  1838. /* We use a macro to initialize the static asymbol structures because
  1839. traditional C does not permit us to initialize a union member while
  1840. gcc warns if we don't initialize it.
  1841. the_bfd, name, value, attr, section [, udata] */
  1842. #ifdef __STDC__
  1843. #define GLOBAL_SYM_INIT(NAME, SECTION) \
  1844. { 0, NAME, 0, BSF_SECTION_SYM, SECTION, { 0 }}
  1845. #else
  1846. #define GLOBAL_SYM_INIT(NAME, SECTION) \
  1847. { 0, NAME, 0, BSF_SECTION_SYM, SECTION }
  1848. #endif
  1849. 
  1850. File: bfd.info, Node: section prototypes, Prev: typedef asection, Up: Sections
  1851. 2.6.5 Section prototypes
  1852. ------------------------
  1853. These are the functions exported by the section handling part of BFD.
  1854. 2.6.5.1 'bfd_section_list_clear'
  1855. ................................
  1856. *Synopsis*
  1857. void bfd_section_list_clear (bfd *);
  1858. *Description*
  1859. Clears the section list, and also resets the section count and hash
  1860. table entries.
  1861. 2.6.5.2 'bfd_get_section_by_name'
  1862. .................................
  1863. *Synopsis*
  1864. asection *bfd_get_section_by_name (bfd *abfd, const char *name);
  1865. *Description*
  1866. Return the most recently created section attached to ABFD named NAME.
  1867. Return NULL if no such section exists.
  1868. 2.6.5.3 'bfd_get_next_section_by_name'
  1869. ......................................
  1870. *Synopsis*
  1871. asection *bfd_get_next_section_by_name (bfd *ibfd, asection *sec);
  1872. *Description*
  1873. Given SEC is a section returned by 'bfd_get_section_by_name', return the
  1874. next most recently created section attached to the same BFD with the
  1875. same name, or if no such section exists in the same BFD and IBFD is
  1876. non-NULL, the next section with the same name in any input BFD following
  1877. IBFD. Return NULL on finding no section.
  1878. 2.6.5.4 'bfd_get_linker_section'
  1879. ................................
  1880. *Synopsis*
  1881. asection *bfd_get_linker_section (bfd *abfd, const char *name);
  1882. *Description*
  1883. Return the linker created section attached to ABFD named NAME. Return
  1884. NULL if no such section exists.
  1885. 2.6.5.5 'bfd_get_section_by_name_if'
  1886. ....................................
  1887. *Synopsis*
  1888. asection *bfd_get_section_by_name_if
  1889. (bfd *abfd,
  1890. const char *name,
  1891. bfd_boolean (*func) (bfd *abfd, asection *sect, void *obj),
  1892. void *obj);
  1893. *Description*
  1894. Call the provided function FUNC for each section attached to the BFD
  1895. ABFD whose name matches NAME, passing OBJ as an argument. The function
  1896. will be called as if by
  1897. func (abfd, the_section, obj);
  1898. It returns the first section for which FUNC returns true, otherwise
  1899. 'NULL'.
  1900. 2.6.5.6 'bfd_get_unique_section_name'
  1901. .....................................
  1902. *Synopsis*
  1903. char *bfd_get_unique_section_name
  1904. (bfd *abfd, const char *templat, int *count);
  1905. *Description*
  1906. Invent a section name that is unique in ABFD by tacking a dot and a
  1907. digit suffix onto the original TEMPLAT. If COUNT is non-NULL, then it
  1908. specifies the first number tried as a suffix to generate a unique name.
  1909. The value pointed to by COUNT will be incremented in this case.
  1910. 2.6.5.7 'bfd_make_section_old_way'
  1911. ..................................
  1912. *Synopsis*
  1913. asection *bfd_make_section_old_way (bfd *abfd, const char *name);
  1914. *Description*
  1915. Create a new empty section called NAME and attach it to the end of the
  1916. chain of sections for the BFD ABFD. An attempt to create a section with
  1917. a name which is already in use returns its pointer without changing the
  1918. section chain.
  1919. It has the funny name since this is the way it used to be before it
  1920. was rewritten....
  1921. Possible errors are:
  1922. * 'bfd_error_invalid_operation' - If output has already started for
  1923. this BFD.
  1924. * 'bfd_error_no_memory' - If memory allocation fails.
  1925. 2.6.5.8 'bfd_make_section_anyway_with_flags'
  1926. ............................................
  1927. *Synopsis*
  1928. asection *bfd_make_section_anyway_with_flags
  1929. (bfd *abfd, const char *name, flagword flags);
  1930. *Description*
  1931. Create a new empty section called NAME and attach it to the end of the
  1932. chain of sections for ABFD. Create a new section even if there is
  1933. already a section with that name. Also set the attributes of the new
  1934. section to the value FLAGS.
  1935. Return 'NULL' and set 'bfd_error' on error; possible errors are:
  1936. * 'bfd_error_invalid_operation' - If output has already started for
  1937. ABFD.
  1938. * 'bfd_error_no_memory' - If memory allocation fails.
  1939. 2.6.5.9 'bfd_make_section_anyway'
  1940. .................................
  1941. *Synopsis*
  1942. asection *bfd_make_section_anyway (bfd *abfd, const char *name);
  1943. *Description*
  1944. Create a new empty section called NAME and attach it to the end of the
  1945. chain of sections for ABFD. Create a new section even if there is
  1946. already a section with that name.
  1947. Return 'NULL' and set 'bfd_error' on error; possible errors are:
  1948. * 'bfd_error_invalid_operation' - If output has already started for
  1949. ABFD.
  1950. * 'bfd_error_no_memory' - If memory allocation fails.
  1951. 2.6.5.10 'bfd_make_section_with_flags'
  1952. ......................................
  1953. *Synopsis*
  1954. asection *bfd_make_section_with_flags
  1955. (bfd *, const char *name, flagword flags);
  1956. *Description*
  1957. Like 'bfd_make_section_anyway', but return 'NULL' (without calling
  1958. bfd_set_error ()) without changing the section chain if there is already
  1959. a section named NAME. Also set the attributes of the new section to the
  1960. value FLAGS. If there is an error, return 'NULL' and set 'bfd_error'.
  1961. 2.6.5.11 'bfd_make_section'
  1962. ...........................
  1963. *Synopsis*
  1964. asection *bfd_make_section (bfd *, const char *name);
  1965. *Description*
  1966. Like 'bfd_make_section_anyway', but return 'NULL' (without calling
  1967. bfd_set_error ()) without changing the section chain if there is already
  1968. a section named NAME. If there is an error, return 'NULL' and set
  1969. 'bfd_error'.
  1970. 2.6.5.12 'bfd_set_section_flags'
  1971. ................................
  1972. *Synopsis*
  1973. bfd_boolean bfd_set_section_flags (asection *sec, flagword flags);
  1974. *Description*
  1975. Set the attributes of the section SEC to the value FLAGS. Return 'TRUE'
  1976. on success, 'FALSE' on error. Possible error returns are:
  1977. * 'bfd_error_invalid_operation' - The section cannot have one or more
  1978. of the attributes requested. For example, a .bss section in
  1979. 'a.out' may not have the 'SEC_HAS_CONTENTS' field set.
  1980. 2.6.5.13 'bfd_rename_section'
  1981. .............................
  1982. *Synopsis*
  1983. void bfd_rename_section
  1984. (asection *sec, const char *newname);
  1985. *Description*
  1986. Rename section SEC to NEWNAME.
  1987. 2.6.5.14 'bfd_map_over_sections'
  1988. ................................
  1989. *Synopsis*
  1990. void bfd_map_over_sections
  1991. (bfd *abfd,
  1992. void (*func) (bfd *abfd, asection *sect, void *obj),
  1993. void *obj);
  1994. *Description*
  1995. Call the provided function FUNC for each section attached to the BFD
  1996. ABFD, passing OBJ as an argument. The function will be called as if by
  1997. func (abfd, the_section, obj);
  1998. This is the preferred method for iterating over sections; an
  1999. alternative would be to use a loop:
  2000. asection *p;
  2001. for (p = abfd->sections; p != NULL; p = p->next)
  2002. func (abfd, p, ...)
  2003. 2.6.5.15 'bfd_sections_find_if'
  2004. ...............................
  2005. *Synopsis*
  2006. asection *bfd_sections_find_if
  2007. (bfd *abfd,
  2008. bfd_boolean (*operation) (bfd *abfd, asection *sect, void *obj),
  2009. void *obj);
  2010. *Description*
  2011. Call the provided function OPERATION for each section attached to the
  2012. BFD ABFD, passing OBJ as an argument. The function will be called as if
  2013. by
  2014. operation (abfd, the_section, obj);
  2015. It returns the first section for which OPERATION returns true.
  2016. 2.6.5.16 'bfd_set_section_size'
  2017. ...............................
  2018. *Synopsis*
  2019. bfd_boolean bfd_set_section_size (asection *sec, bfd_size_type val);
  2020. *Description*
  2021. Set SEC to the size VAL. If the operation is ok, then 'TRUE' is
  2022. returned, else 'FALSE'.
  2023. Possible error returns:
  2024. * 'bfd_error_invalid_operation' - Writing has started to the BFD, so
  2025. setting the size is invalid.
  2026. 2.6.5.17 'bfd_set_section_contents'
  2027. ...................................
  2028. *Synopsis*
  2029. bfd_boolean bfd_set_section_contents
  2030. (bfd *abfd, asection *section, const void *data,
  2031. file_ptr offset, bfd_size_type count);
  2032. *Description*
  2033. Sets the contents of the section SECTION in BFD ABFD to the data
  2034. starting in memory at LOCATION. The data is written to the output
  2035. section starting at offset OFFSET for COUNT octets.
  2036. Normally 'TRUE' is returned, but 'FALSE' is returned if there was an
  2037. error. Possible error returns are:
  2038. * 'bfd_error_no_contents' - The output section does not have the
  2039. 'SEC_HAS_CONTENTS' attribute, so nothing can be written to it.
  2040. * 'bfd_error_bad_value' - The section is unable to contain all of the
  2041. data.
  2042. * 'bfd_error_invalid_operation' - The BFD is not writeable.
  2043. * and some more too.
  2044. This routine is front end to the back end function
  2045. '_bfd_set_section_contents'.
  2046. 2.6.5.18 'bfd_get_section_contents'
  2047. ...................................
  2048. *Synopsis*
  2049. bfd_boolean bfd_get_section_contents
  2050. (bfd *abfd, asection *section, void *location, file_ptr offset,
  2051. bfd_size_type count);
  2052. *Description*
  2053. Read data from SECTION in BFD ABFD into memory starting at LOCATION.
  2054. The data is read at an offset of OFFSET from the start of the input
  2055. section, and is read for COUNT bytes.
  2056. If the contents of a constructor with the 'SEC_CONSTRUCTOR' flag set
  2057. are requested or if the section does not have the 'SEC_HAS_CONTENTS'
  2058. flag set, then the LOCATION is filled with zeroes. If no errors occur,
  2059. 'TRUE' is returned, else 'FALSE'.
  2060. 2.6.5.19 'bfd_malloc_and_get_section'
  2061. .....................................
  2062. *Synopsis*
  2063. bfd_boolean bfd_malloc_and_get_section
  2064. (bfd *abfd, asection *section, bfd_byte **buf);
  2065. *Description*
  2066. Read all data from SECTION in BFD ABFD into a buffer, *BUF, malloc'd by
  2067. this function.
  2068. 2.6.5.20 'bfd_copy_private_section_data'
  2069. ........................................
  2070. *Synopsis*
  2071. bfd_boolean bfd_copy_private_section_data
  2072. (bfd *ibfd, asection *isec, bfd *obfd, asection *osec);
  2073. *Description*
  2074. Copy private section information from ISEC in the BFD IBFD to the
  2075. section OSEC in the BFD OBFD. Return 'TRUE' on success, 'FALSE' on
  2076. error. Possible error returns are:
  2077. * 'bfd_error_no_memory' - Not enough memory exists to create private
  2078. data for OSEC.
  2079. #define bfd_copy_private_section_data(ibfd, isection, obfd, osection) \
  2080. BFD_SEND (obfd, _bfd_copy_private_section_data, \
  2081. (ibfd, isection, obfd, osection))
  2082. 2.6.5.21 'bfd_generic_is_group_section'
  2083. .......................................
  2084. *Synopsis*
  2085. bfd_boolean bfd_generic_is_group_section (bfd *, const asection *sec);
  2086. *Description*
  2087. Returns TRUE if SEC is a member of a group.
  2088. 2.6.5.22 'bfd_generic_group_name'
  2089. .................................
  2090. *Synopsis*
  2091. const char *bfd_generic_group_name (bfd *, const asection *sec);
  2092. *Description*
  2093. Returns group name if SEC is a member of a group.
  2094. 2.6.5.23 'bfd_generic_discard_group'
  2095. ....................................
  2096. *Synopsis*
  2097. bfd_boolean bfd_generic_discard_group (bfd *abfd, asection *group);
  2098. *Description*
  2099. Remove all members of GROUP from the output.
  2100. 
  2101. File: bfd.info, Node: Symbols, Next: Archives, Prev: Sections, Up: BFD front end
  2102. 2.7 Symbols
  2103. ===========
  2104. BFD tries to maintain as much symbol information as it can when it moves
  2105. information from file to file. BFD passes information to applications
  2106. though the 'asymbol' structure. When the application requests the
  2107. symbol table, BFD reads the table in the native form and translates
  2108. parts of it into the internal format. To maintain more than the
  2109. information passed to applications, some targets keep some information
  2110. "behind the scenes" in a structure only the particular back end knows
  2111. about. For example, the coff back end keeps the original symbol table
  2112. structure as well as the canonical structure when a BFD is read in. On
  2113. output, the coff back end can reconstruct the output symbol table so
  2114. that no information is lost, even information unique to coff which BFD
  2115. doesn't know or understand. If a coff symbol table were read, but were
  2116. written through an a.out back end, all the coff specific information
  2117. would be lost. The symbol table of a BFD is not necessarily read in
  2118. until a canonicalize request is made. Then the BFD back end fills in a
  2119. table provided by the application with pointers to the canonical
  2120. information. To output symbols, the application provides BFD with a
  2121. table of pointers to pointers to 'asymbol's. This allows applications
  2122. like the linker to output a symbol as it was read, since the "behind the
  2123. scenes" information will be still available.
  2124. * Menu:
  2125. * Reading Symbols::
  2126. * Writing Symbols::
  2127. * Mini Symbols::
  2128. * typedef asymbol::
  2129. * symbol handling functions::
  2130. 
  2131. File: bfd.info, Node: Reading Symbols, Next: Writing Symbols, Prev: Symbols, Up: Symbols
  2132. 2.7.1 Reading symbols
  2133. ---------------------
  2134. There are two stages to reading a symbol table from a BFD: allocating
  2135. storage, and the actual reading process. This is an excerpt from an
  2136. application which reads the symbol table:
  2137. long storage_needed;
  2138. asymbol **symbol_table;
  2139. long number_of_symbols;
  2140. long i;
  2141. storage_needed = bfd_get_symtab_upper_bound (abfd);
  2142. if (storage_needed < 0)
  2143. FAIL
  2144. if (storage_needed == 0)
  2145. return;
  2146. symbol_table = xmalloc (storage_needed);
  2147. ...
  2148. number_of_symbols =
  2149. bfd_canonicalize_symtab (abfd, symbol_table);
  2150. if (number_of_symbols < 0)
  2151. FAIL
  2152. for (i = 0; i < number_of_symbols; i++)
  2153. process_symbol (symbol_table[i]);
  2154. All storage for the symbols themselves is in an objalloc connected to
  2155. the BFD; it is freed when the BFD is closed.
  2156. 
  2157. File: bfd.info, Node: Writing Symbols, Next: Mini Symbols, Prev: Reading Symbols, Up: Symbols
  2158. 2.7.2 Writing symbols
  2159. ---------------------
  2160. Writing of a symbol table is automatic when a BFD open for writing is
  2161. closed. The application attaches a vector of pointers to pointers to
  2162. symbols to the BFD being written, and fills in the symbol count. The
  2163. close and cleanup code reads through the table provided and performs all
  2164. the necessary operations. The BFD output code must always be provided
  2165. with an "owned" symbol: one which has come from another BFD, or one
  2166. which has been created using 'bfd_make_empty_symbol'. Here is an
  2167. example showing the creation of a symbol table with only one element:
  2168. #include "sysdep.h"
  2169. #include "bfd.h"
  2170. int main (void)
  2171. {
  2172. bfd *abfd;
  2173. asymbol *ptrs[2];
  2174. asymbol *new;
  2175. abfd = bfd_openw ("foo","a.out-sunos-big");
  2176. bfd_set_format (abfd, bfd_object);
  2177. new = bfd_make_empty_symbol (abfd);
  2178. new->name = "dummy_symbol";
  2179. new->section = bfd_make_section_old_way (abfd, ".text");
  2180. new->flags = BSF_GLOBAL;
  2181. new->value = 0x12345;
  2182. ptrs[0] = new;
  2183. ptrs[1] = 0;
  2184. bfd_set_symtab (abfd, ptrs, 1);
  2185. bfd_close (abfd);
  2186. return 0;
  2187. }
  2188. ./makesym
  2189. nm foo
  2190. 00012345 A dummy_symbol
  2191. Many formats cannot represent arbitrary symbol information; for
  2192. instance, the 'a.out' object format does not allow an arbitrary number
  2193. of sections. A symbol pointing to a section which is not one of
  2194. '.text', '.data' or '.bss' cannot be described.
  2195. 
  2196. File: bfd.info, Node: Mini Symbols, Next: typedef asymbol, Prev: Writing Symbols, Up: Symbols
  2197. 2.7.3 Mini Symbols
  2198. ------------------
  2199. Mini symbols provide read-only access to the symbol table. They use
  2200. less memory space, but require more time to access. They can be useful
  2201. for tools like nm or objdump, which may have to handle symbol tables of
  2202. extremely large executables.
  2203. The 'bfd_read_minisymbols' function will read the symbols into memory
  2204. in an internal form. It will return a 'void *' pointer to a block of
  2205. memory, a symbol count, and the size of each symbol. The pointer is
  2206. allocated using 'malloc', and should be freed by the caller when it is
  2207. no longer needed.
  2208. The function 'bfd_minisymbol_to_symbol' will take a pointer to a
  2209. minisymbol, and a pointer to a structure returned by
  2210. 'bfd_make_empty_symbol', and return a 'asymbol' structure. The return
  2211. value may or may not be the same as the value from
  2212. 'bfd_make_empty_symbol' which was passed in.
  2213. 
  2214. File: bfd.info, Node: typedef asymbol, Next: symbol handling functions, Prev: Mini Symbols, Up: Symbols
  2215. 2.7.4 typedef asymbol
  2216. ---------------------
  2217. An 'asymbol' has the form:
  2218. typedef struct bfd_symbol
  2219. {
  2220. /* A pointer to the BFD which owns the symbol. This information
  2221. is necessary so that a back end can work out what additional
  2222. information (invisible to the application writer) is carried
  2223. with the symbol.
  2224. This field is *almost* redundant, since you can use section->owner
  2225. instead, except that some symbols point to the global sections
  2226. bfd_{abs,com,und}_section. This could be fixed by making
  2227. these globals be per-bfd (or per-target-flavor). FIXME. */
  2228. struct bfd *the_bfd; /* Use bfd_asymbol_bfd(sym) to access this field. */
  2229. /* The text of the symbol. The name is left alone, and not copied; the
  2230. application may not alter it. */
  2231. const char *name;
  2232. /* The value of the symbol. This really should be a union of a
  2233. numeric value with a pointer, since some flags indicate that
  2234. a pointer to another symbol is stored here. */
  2235. symvalue value;
  2236. /* Attributes of a symbol. */
  2237. #define BSF_NO_FLAGS 0
  2238. /* The symbol has local scope; static in C. The value
  2239. is the offset into the section of the data. */
  2240. #define BSF_LOCAL (1 << 0)
  2241. /* The symbol has global scope; initialized data in C. The
  2242. value is the offset into the section of the data. */
  2243. #define BSF_GLOBAL (1 << 1)
  2244. /* The symbol has global scope and is exported. The value is
  2245. the offset into the section of the data. */
  2246. #define BSF_EXPORT BSF_GLOBAL /* No real difference. */
  2247. /* A normal C symbol would be one of:
  2248. BSF_LOCAL, BSF_UNDEFINED or BSF_GLOBAL. */
  2249. /* The symbol is a debugging record. The value has an arbitrary
  2250. meaning, unless BSF_DEBUGGING_RELOC is also set. */
  2251. #define BSF_DEBUGGING (1 << 2)
  2252. /* The symbol denotes a function entry point. Used in ELF,
  2253. perhaps others someday. */
  2254. #define BSF_FUNCTION (1 << 3)
  2255. /* Used by the linker. */
  2256. #define BSF_KEEP (1 << 5)
  2257. /* An ELF common symbol. */
  2258. #define BSF_ELF_COMMON (1 << 6)
  2259. /* A weak global symbol, overridable without warnings by
  2260. a regular global symbol of the same name. */
  2261. #define BSF_WEAK (1 << 7)
  2262. /* This symbol was created to point to a section, e.g. ELF's
  2263. STT_SECTION symbols. */
  2264. #define BSF_SECTION_SYM (1 << 8)
  2265. /* The symbol used to be a common symbol, but now it is
  2266. allocated. */
  2267. #define BSF_OLD_COMMON (1 << 9)
  2268. /* In some files the type of a symbol sometimes alters its
  2269. location in an output file - ie in coff a ISFCN symbol
  2270. which is also C_EXT symbol appears where it was
  2271. declared and not at the end of a section. This bit is set
  2272. by the target BFD part to convey this information. */
  2273. #define BSF_NOT_AT_END (1 << 10)
  2274. /* Signal that the symbol is the label of constructor section. */
  2275. #define BSF_CONSTRUCTOR (1 << 11)
  2276. /* Signal that the symbol is a warning symbol. The name is a
  2277. warning. The name of the next symbol is the one to warn about;
  2278. if a reference is made to a symbol with the same name as the next
  2279. symbol, a warning is issued by the linker. */
  2280. #define BSF_WARNING (1 << 12)
  2281. /* Signal that the symbol is indirect. This symbol is an indirect
  2282. pointer to the symbol with the same name as the next symbol. */
  2283. #define BSF_INDIRECT (1 << 13)
  2284. /* BSF_FILE marks symbols that contain a file name. This is used
  2285. for ELF STT_FILE symbols. */
  2286. #define BSF_FILE (1 << 14)
  2287. /* Symbol is from dynamic linking information. */
  2288. #define BSF_DYNAMIC (1 << 15)
  2289. /* The symbol denotes a data object. Used in ELF, and perhaps
  2290. others someday. */
  2291. #define BSF_OBJECT (1 << 16)
  2292. /* This symbol is a debugging symbol. The value is the offset
  2293. into the section of the data. BSF_DEBUGGING should be set
  2294. as well. */
  2295. #define BSF_DEBUGGING_RELOC (1 << 17)
  2296. /* This symbol is thread local. Used in ELF. */
  2297. #define BSF_THREAD_LOCAL (1 << 18)
  2298. /* This symbol represents a complex relocation expression,
  2299. with the expression tree serialized in the symbol name. */
  2300. #define BSF_RELC (1 << 19)
  2301. /* This symbol represents a signed complex relocation expression,
  2302. with the expression tree serialized in the symbol name. */
  2303. #define BSF_SRELC (1 << 20)
  2304. /* This symbol was created by bfd_get_synthetic_symtab. */
  2305. #define BSF_SYNTHETIC (1 << 21)
  2306. /* This symbol is an indirect code object. Unrelated to BSF_INDIRECT.
  2307. The dynamic linker will compute the value of this symbol by
  2308. calling the function that it points to. BSF_FUNCTION must
  2309. also be also set. */
  2310. #define BSF_GNU_INDIRECT_FUNCTION (1 << 22)
  2311. /* This symbol is a globally unique data object. The dynamic linker
  2312. will make sure that in the entire process there is just one symbol
  2313. with this name and type in use. BSF_OBJECT must also be set. */
  2314. #define BSF_GNU_UNIQUE (1 << 23)
  2315. flagword flags;
  2316. /* A pointer to the section to which this symbol is
  2317. relative. This will always be non NULL, there are special
  2318. sections for undefined and absolute symbols. */
  2319. struct bfd_section *section;
  2320. /* Back end special data. */
  2321. union
  2322. {
  2323. void *p;
  2324. bfd_vma i;
  2325. }
  2326. udata;
  2327. }
  2328. asymbol;
  2329. 
  2330. File: bfd.info, Node: symbol handling functions, Prev: typedef asymbol, Up: Symbols
  2331. 2.7.5 Symbol handling functions
  2332. -------------------------------
  2333. 2.7.5.1 'bfd_get_symtab_upper_bound'
  2334. ....................................
  2335. *Description*
  2336. Return the number of bytes required to store a vector of pointers to
  2337. 'asymbols' for all the symbols in the BFD ABFD, including a terminal
  2338. NULL pointer. If there are no symbols in the BFD, then return 0. If an
  2339. error occurs, return -1.
  2340. #define bfd_get_symtab_upper_bound(abfd) \
  2341. BFD_SEND (abfd, _bfd_get_symtab_upper_bound, (abfd))
  2342. 2.7.5.2 'bfd_is_local_label'
  2343. ............................
  2344. *Synopsis*
  2345. bfd_boolean bfd_is_local_label (bfd *abfd, asymbol *sym);
  2346. *Description*
  2347. Return TRUE if the given symbol SYM in the BFD ABFD is a compiler
  2348. generated local label, else return FALSE.
  2349. 2.7.5.3 'bfd_is_local_label_name'
  2350. .................................
  2351. *Synopsis*
  2352. bfd_boolean bfd_is_local_label_name (bfd *abfd, const char *name);
  2353. *Description*
  2354. Return TRUE if a symbol with the name NAME in the BFD ABFD is a compiler
  2355. generated local label, else return FALSE. This just checks whether the
  2356. name has the form of a local label.
  2357. #define bfd_is_local_label_name(abfd, name) \
  2358. BFD_SEND (abfd, _bfd_is_local_label_name, (abfd, name))
  2359. 2.7.5.4 'bfd_is_target_special_symbol'
  2360. ......................................
  2361. *Synopsis*
  2362. bfd_boolean bfd_is_target_special_symbol (bfd *abfd, asymbol *sym);
  2363. *Description*
  2364. Return TRUE iff a symbol SYM in the BFD ABFD is something special to the
  2365. particular target represented by the BFD. Such symbols should normally
  2366. not be mentioned to the user.
  2367. #define bfd_is_target_special_symbol(abfd, sym) \
  2368. BFD_SEND (abfd, _bfd_is_target_special_symbol, (abfd, sym))
  2369. 2.7.5.5 'bfd_canonicalize_symtab'
  2370. .................................
  2371. *Description*
  2372. Read the symbols from the BFD ABFD, and fills in the vector LOCATION
  2373. with pointers to the symbols and a trailing NULL. Return the actual
  2374. number of symbol pointers, not including the NULL.
  2375. #define bfd_canonicalize_symtab(abfd, location) \
  2376. BFD_SEND (abfd, _bfd_canonicalize_symtab, (abfd, location))
  2377. 2.7.5.6 'bfd_set_symtab'
  2378. ........................
  2379. *Synopsis*
  2380. bfd_boolean bfd_set_symtab
  2381. (bfd *abfd, asymbol **location, unsigned int count);
  2382. *Description*
  2383. Arrange that when the output BFD ABFD is closed, the table LOCATION of
  2384. COUNT pointers to symbols will be written.
  2385. 2.7.5.7 'bfd_print_symbol_vandf'
  2386. ................................
  2387. *Synopsis*
  2388. void bfd_print_symbol_vandf (bfd *abfd, void *file, asymbol *symbol);
  2389. *Description*
  2390. Print the value and flags of the SYMBOL supplied to the stream FILE.
  2391. 2.7.5.8 'bfd_make_empty_symbol'
  2392. ...............................
  2393. *Description*
  2394. Create a new 'asymbol' structure for the BFD ABFD and return a pointer
  2395. to it.
  2396. This routine is necessary because each back end has private
  2397. information surrounding the 'asymbol'. Building your own 'asymbol' and
  2398. pointing to it will not create the private information, and will cause
  2399. problems later on.
  2400. #define bfd_make_empty_symbol(abfd) \
  2401. BFD_SEND (abfd, _bfd_make_empty_symbol, (abfd))
  2402. 2.7.5.9 '_bfd_generic_make_empty_symbol'
  2403. ........................................
  2404. *Synopsis*
  2405. asymbol *_bfd_generic_make_empty_symbol (bfd *);
  2406. *Description*
  2407. Create a new 'asymbol' structure for the BFD ABFD and return a pointer
  2408. to it. Used by core file routines, binary back-end and anywhere else
  2409. where no private info is needed.
  2410. 2.7.5.10 'bfd_make_debug_symbol'
  2411. ................................
  2412. *Description*
  2413. Create a new 'asymbol' structure for the BFD ABFD, to be used as a
  2414. debugging symbol. Further details of its use have yet to be worked out.
  2415. #define bfd_make_debug_symbol(abfd,ptr,size) \
  2416. BFD_SEND (abfd, _bfd_make_debug_symbol, (abfd, ptr, size))
  2417. 2.7.5.11 'bfd_decode_symclass'
  2418. ..............................
  2419. *Description*
  2420. Return a character corresponding to the symbol class of SYMBOL, or '?'
  2421. for an unknown class.
  2422. *Synopsis*
  2423. int bfd_decode_symclass (asymbol *symbol);
  2424. 2.7.5.12 'bfd_is_undefined_symclass'
  2425. ....................................
  2426. *Description*
  2427. Returns non-zero if the class symbol returned by bfd_decode_symclass
  2428. represents an undefined symbol. Returns zero otherwise.
  2429. *Synopsis*
  2430. bfd_boolean bfd_is_undefined_symclass (int symclass);
  2431. 2.7.5.13 'bfd_symbol_info'
  2432. ..........................
  2433. *Description*
  2434. Fill in the basic info about symbol that nm needs. Additional info may
  2435. be added by the back-ends after calling this function.
  2436. *Synopsis*
  2437. void bfd_symbol_info (asymbol *symbol, symbol_info *ret);
  2438. 2.7.5.14 'bfd_copy_private_symbol_data'
  2439. .......................................
  2440. *Synopsis*
  2441. bfd_boolean bfd_copy_private_symbol_data
  2442. (bfd *ibfd, asymbol *isym, bfd *obfd, asymbol *osym);
  2443. *Description*
  2444. Copy private symbol information from ISYM in the BFD IBFD to the symbol
  2445. OSYM in the BFD OBFD. Return 'TRUE' on success, 'FALSE' on error.
  2446. Possible error returns are:
  2447. * 'bfd_error_no_memory' - Not enough memory exists to create private
  2448. data for OSEC.
  2449. #define bfd_copy_private_symbol_data(ibfd, isymbol, obfd, osymbol) \
  2450. BFD_SEND (obfd, _bfd_copy_private_symbol_data, \
  2451. (ibfd, isymbol, obfd, osymbol))
  2452. 
  2453. File: bfd.info, Node: Archives, Next: Formats, Prev: Symbols, Up: BFD front end
  2454. 2.8 Archives
  2455. ============
  2456. *Description*
  2457. An archive (or library) is just another BFD. It has a symbol table,
  2458. although there's not much a user program will do with it.
  2459. The big difference between an archive BFD and an ordinary BFD is that
  2460. the archive doesn't have sections. Instead it has a chain of BFDs that
  2461. are considered its contents. These BFDs can be manipulated like any
  2462. other. The BFDs contained in an archive opened for reading will all be
  2463. opened for reading. You may put either input or output BFDs into an
  2464. archive opened for output; they will be handled correctly when the
  2465. archive is closed.
  2466. Use 'bfd_openr_next_archived_file' to step through the contents of an
  2467. archive opened for input. You don't have to read the entire archive if
  2468. you don't want to! Read it until you find what you want.
  2469. A BFD returned by 'bfd_openr_next_archived_file' can be closed
  2470. manually with 'bfd_close'. If you do not close it, then a second
  2471. iteration through the members of an archive may return the same BFD. If
  2472. you close the archive BFD, then all the member BFDs will automatically
  2473. be closed as well.
  2474. Archive contents of output BFDs are chained through the
  2475. 'archive_next' pointer in a BFD. The first one is findable through the
  2476. 'archive_head' slot of the archive. Set it with 'bfd_set_archive_head'
  2477. (q.v.). A given BFD may be in only one open output archive at a time.
  2478. As expected, the BFD archive code is more general than the archive
  2479. code of any given environment. BFD archives may contain files of
  2480. different formats (e.g., a.out and coff) and even different
  2481. architectures. You may even place archives recursively into archives!
  2482. This can cause unexpected confusion, since some archive formats are
  2483. more expressive than others. For instance, Intel COFF archives can
  2484. preserve long filenames; SunOS a.out archives cannot. If you move a
  2485. file from the first to the second format and back again, the filename
  2486. may be truncated. Likewise, different a.out environments have different
  2487. conventions as to how they truncate filenames, whether they preserve
  2488. directory names in filenames, etc. When interoperating with native
  2489. tools, be sure your files are homogeneous.
  2490. Beware: most of these formats do not react well to the presence of
  2491. spaces in filenames. We do the best we can, but can't always handle
  2492. this case due to restrictions in the format of archives. Many Unix
  2493. utilities are braindead in regards to spaces and such in filenames
  2494. anyway, so this shouldn't be much of a restriction.
  2495. Archives are supported in BFD in 'archive.c'.
  2496. 2.8.1 Archive functions
  2497. -----------------------
  2498. 2.8.1.1 'bfd_get_next_mapent'
  2499. .............................
  2500. *Synopsis*
  2501. symindex bfd_get_next_mapent
  2502. (bfd *abfd, symindex previous, carsym **sym);
  2503. *Description*
  2504. Step through archive ABFD's symbol table (if it has one). Successively
  2505. update SYM with the next symbol's information, returning that symbol's
  2506. (internal) index into the symbol table.
  2507. Supply 'BFD_NO_MORE_SYMBOLS' as the PREVIOUS entry to get the first
  2508. one; returns 'BFD_NO_MORE_SYMBOLS' when you've already got the last one.
  2509. A 'carsym' is a canonical archive symbol. The only user-visible
  2510. element is its name, a null-terminated string.
  2511. 2.8.1.2 'bfd_set_archive_head'
  2512. ..............................
  2513. *Synopsis*
  2514. bfd_boolean bfd_set_archive_head (bfd *output, bfd *new_head);
  2515. *Description*
  2516. Set the head of the chain of BFDs contained in the archive OUTPUT to
  2517. NEW_HEAD.
  2518. 2.8.1.3 'bfd_openr_next_archived_file'
  2519. ......................................
  2520. *Synopsis*
  2521. bfd *bfd_openr_next_archived_file (bfd *archive, bfd *previous);
  2522. *Description*
  2523. Provided a BFD, ARCHIVE, containing an archive and NULL, open an input
  2524. BFD on the first contained element and returns that. Subsequent calls
  2525. should pass the archive and the previous return value to return a
  2526. created BFD to the next contained element. NULL is returned when there
  2527. are no more. Note - if you want to process the bfd returned by this
  2528. call be sure to call bfd_check_format() on it first.
  2529. 
  2530. File: bfd.info, Node: Formats, Next: Relocations, Prev: Archives, Up: BFD front end
  2531. 2.9 File formats
  2532. ================
  2533. A format is a BFD concept of high level file contents type. The formats
  2534. supported by BFD are:
  2535. * 'bfd_object'
  2536. The BFD may contain data, symbols, relocations and debug info.
  2537. * 'bfd_archive'
  2538. The BFD contains other BFDs and an optional index.
  2539. * 'bfd_core'
  2540. The BFD contains the result of an executable core dump.
  2541. 2.9.1 File format functions
  2542. ---------------------------
  2543. 2.9.1.1 'bfd_check_format'
  2544. ..........................
  2545. *Synopsis*
  2546. bfd_boolean bfd_check_format (bfd *abfd, bfd_format format);
  2547. *Description*
  2548. Verify if the file attached to the BFD ABFD is compatible with the
  2549. format FORMAT (i.e., one of 'bfd_object', 'bfd_archive' or 'bfd_core').
  2550. If the BFD has been set to a specific target before the call, only
  2551. the named target and format combination is checked. If the target has
  2552. not been set, or has been set to 'default', then all the known target
  2553. backends is interrogated to determine a match. If the default target
  2554. matches, it is used. If not, exactly one target must recognize the
  2555. file, or an error results.
  2556. The function returns 'TRUE' on success, otherwise 'FALSE' with one of
  2557. the following error codes:
  2558. * 'bfd_error_invalid_operation' - if 'format' is not one of
  2559. 'bfd_object', 'bfd_archive' or 'bfd_core'.
  2560. * 'bfd_error_system_call' - if an error occured during a read - even
  2561. some file mismatches can cause bfd_error_system_calls.
  2562. * 'file_not_recognised' - none of the backends recognised the file
  2563. format.
  2564. * 'bfd_error_file_ambiguously_recognized' - more than one backend
  2565. recognised the file format.
  2566. 2.9.1.2 'bfd_check_format_matches'
  2567. ..................................
  2568. *Synopsis*
  2569. bfd_boolean bfd_check_format_matches
  2570. (bfd *abfd, bfd_format format, char ***matching);
  2571. *Description*
  2572. Like 'bfd_check_format', except when it returns FALSE with 'bfd_errno'
  2573. set to 'bfd_error_file_ambiguously_recognized'. In that case, if
  2574. MATCHING is not NULL, it will be filled in with a NULL-terminated list
  2575. of the names of the formats that matched, allocated with 'malloc'. Then
  2576. the user may choose a format and try again.
  2577. When done with the list that MATCHING points to, the caller should
  2578. free it.
  2579. 2.9.1.3 'bfd_set_format'
  2580. ........................
  2581. *Synopsis*
  2582. bfd_boolean bfd_set_format (bfd *abfd, bfd_format format);
  2583. *Description*
  2584. This function sets the file format of the BFD ABFD to the format FORMAT.
  2585. If the target set in the BFD does not support the format requested, the
  2586. format is invalid, or the BFD is not open for writing, then an error
  2587. occurs.
  2588. 2.9.1.4 'bfd_format_string'
  2589. ...........................
  2590. *Synopsis*
  2591. const char *bfd_format_string (bfd_format format);
  2592. *Description*
  2593. Return a pointer to a const string 'invalid', 'object', 'archive',
  2594. 'core', or 'unknown', depending upon the value of FORMAT.
  2595. 
  2596. File: bfd.info, Node: Relocations, Next: Core Files, Prev: Formats, Up: BFD front end
  2597. 2.10 Relocations
  2598. ================
  2599. BFD maintains relocations in much the same way it maintains symbols:
  2600. they are left alone until required, then read in en-masse and translated
  2601. into an internal form. A common routine 'bfd_perform_relocation' acts
  2602. upon the canonical form to do the fixup.
  2603. Relocations are maintained on a per section basis, while symbols are
  2604. maintained on a per BFD basis.
  2605. All that a back end has to do to fit the BFD interface is to create a
  2606. 'struct reloc_cache_entry' for each relocation in a particular section,
  2607. and fill in the right bits of the structures.
  2608. * Menu:
  2609. * typedef arelent::
  2610. * howto manager::
  2611. 
  2612. File: bfd.info, Node: typedef arelent, Next: howto manager, Prev: Relocations, Up: Relocations
  2613. 2.10.1 typedef arelent
  2614. ----------------------
  2615. This is the structure of a relocation entry:
  2616. typedef enum bfd_reloc_status
  2617. {
  2618. /* No errors detected. Note - the value 2 is used so that it
  2619. will not be mistaken for the boolean TRUE or FALSE values. */
  2620. bfd_reloc_ok = 2,
  2621. /* The relocation was performed, but there was an overflow. */
  2622. bfd_reloc_overflow,
  2623. /* The address to relocate was not within the section supplied. */
  2624. bfd_reloc_outofrange,
  2625. /* Used by special functions. */
  2626. bfd_reloc_continue,
  2627. /* Unsupported relocation size requested. */
  2628. bfd_reloc_notsupported,
  2629. /* Unused. */
  2630. bfd_reloc_other,
  2631. /* The symbol to relocate against was undefined. */
  2632. bfd_reloc_undefined,
  2633. /* The relocation was performed, but may not be ok. If this type is
  2634. returned, the error_message argument to bfd_perform_relocation
  2635. will be set. */
  2636. bfd_reloc_dangerous
  2637. }
  2638. bfd_reloc_status_type;
  2639. typedef const struct reloc_howto_struct reloc_howto_type;
  2640. typedef struct reloc_cache_entry
  2641. {
  2642. /* A pointer into the canonical table of pointers. */
  2643. struct bfd_symbol **sym_ptr_ptr;
  2644. /* offset in section. */
  2645. bfd_size_type address;
  2646. /* addend for relocation value. */
  2647. bfd_vma addend;
  2648. /* Pointer to how to perform the required relocation. */
  2649. reloc_howto_type *howto;
  2650. }
  2651. arelent;
  2652. *Description*
  2653. Here is a description of each of the fields within an 'arelent':
  2654. * 'sym_ptr_ptr'
  2655. The symbol table pointer points to a pointer to the symbol associated
  2656. with the relocation request. It is the pointer into the table returned
  2657. by the back end's 'canonicalize_symtab' action. *Note Symbols::. The
  2658. symbol is referenced through a pointer to a pointer so that tools like
  2659. the linker can fix up all the symbols of the same name by modifying only
  2660. one pointer. The relocation routine looks in the symbol and uses the
  2661. base of the section the symbol is attached to and the value of the
  2662. symbol as the initial relocation offset. If the symbol pointer is zero,
  2663. then the section provided is looked up.
  2664. * 'address'
  2665. The 'address' field gives the offset in bytes from the base of the
  2666. section data which owns the relocation record to the first byte of
  2667. relocatable information. The actual data relocated will be relative to
  2668. this point; for example, a relocation type which modifies the bottom two
  2669. bytes of a four byte word would not touch the first byte pointed to in a
  2670. big endian world.
  2671. * 'addend'
  2672. The 'addend' is a value provided by the back end to be added (!) to
  2673. the relocation offset. Its interpretation is dependent upon the howto.
  2674. For example, on the 68k the code:
  2675. char foo[];
  2676. main()
  2677. {
  2678. return foo[0x12345678];
  2679. }
  2680. Could be compiled into:
  2681. linkw fp,#-4
  2682. moveb @#12345678,d0
  2683. extbl d0
  2684. unlk fp
  2685. rts
  2686. This could create a reloc pointing to 'foo', but leave the offset in
  2687. the data, something like:
  2688. RELOCATION RECORDS FOR [.text]:
  2689. offset type value
  2690. 00000006 32 _foo
  2691. 00000000 4e56 fffc ; linkw fp,#-4
  2692. 00000004 1039 1234 5678 ; moveb @#12345678,d0
  2693. 0000000a 49c0 ; extbl d0
  2694. 0000000c 4e5e ; unlk fp
  2695. 0000000e 4e75 ; rts
  2696. Using coff and an 88k, some instructions don't have enough space in
  2697. them to represent the full address range, and pointers have to be loaded
  2698. in two parts. So you'd get something like:
  2699. or.u r13,r0,hi16(_foo+0x12345678)
  2700. ld.b r2,r13,lo16(_foo+0x12345678)
  2701. jmp r1
  2702. This should create two relocs, both pointing to '_foo', and with
  2703. 0x12340000 in their addend field. The data would consist of:
  2704. RELOCATION RECORDS FOR [.text]:
  2705. offset type value
  2706. 00000002 HVRT16 _foo+0x12340000
  2707. 00000006 LVRT16 _foo+0x12340000
  2708. 00000000 5da05678 ; or.u r13,r0,0x5678
  2709. 00000004 1c4d5678 ; ld.b r2,r13,0x5678
  2710. 00000008 f400c001 ; jmp r1
  2711. The relocation routine digs out the value from the data, adds it to
  2712. the addend to get the original offset, and then adds the value of
  2713. '_foo'. Note that all 32 bits have to be kept around somewhere, to cope
  2714. with carry from bit 15 to bit 16.
  2715. One further example is the sparc and the a.out format. The sparc has
  2716. a similar problem to the 88k, in that some instructions don't have room
  2717. for an entire offset, but on the sparc the parts are created in odd
  2718. sized lumps. The designers of the a.out format chose to not use the
  2719. data within the section for storing part of the offset; all the offset
  2720. is kept within the reloc. Anything in the data should be ignored.
  2721. save %sp,-112,%sp
  2722. sethi %hi(_foo+0x12345678),%g2
  2723. ldsb [%g2+%lo(_foo+0x12345678)],%i0
  2724. ret
  2725. restore
  2726. Both relocs contain a pointer to 'foo', and the offsets contain junk.
  2727. RELOCATION RECORDS FOR [.text]:
  2728. offset type value
  2729. 00000004 HI22 _foo+0x12345678
  2730. 00000008 LO10 _foo+0x12345678
  2731. 00000000 9de3bf90 ; save %sp,-112,%sp
  2732. 00000004 05000000 ; sethi %hi(_foo+0),%g2
  2733. 00000008 f048a000 ; ldsb [%g2+%lo(_foo+0)],%i0
  2734. 0000000c 81c7e008 ; ret
  2735. 00000010 81e80000 ; restore
  2736. * 'howto'
  2737. The 'howto' field can be imagined as a relocation instruction. It is
  2738. a pointer to a structure which contains information on what to do with
  2739. all of the other information in the reloc record and data section. A
  2740. back end would normally have a relocation instruction set and turn
  2741. relocations into pointers to the correct structure on input - but it
  2742. would be possible to create each howto field on demand.
  2743. 2.10.1.1 'enum complain_overflow'
  2744. .................................
  2745. Indicates what sort of overflow checking should be done when performing
  2746. a relocation.
  2747. enum complain_overflow
  2748. {
  2749. /* Do not complain on overflow. */
  2750. complain_overflow_dont,
  2751. /* Complain if the value overflows when considered as a signed
  2752. number one bit larger than the field. ie. A bitfield of N bits
  2753. is allowed to represent -2**n to 2**n-1. */
  2754. complain_overflow_bitfield,
  2755. /* Complain if the value overflows when considered as a signed
  2756. number. */
  2757. complain_overflow_signed,
  2758. /* Complain if the value overflows when considered as an
  2759. unsigned number. */
  2760. complain_overflow_unsigned
  2761. };
  2762. 2.10.1.2 'reloc_howto_type'
  2763. ...........................
  2764. The 'reloc_howto_type' is a structure which contains all the information
  2765. that libbfd needs to know to tie up a back end's data.
  2766. struct reloc_howto_struct
  2767. {
  2768. /* The type field has mainly a documentary use - the back end can
  2769. do what it wants with it, though normally the back end's idea of
  2770. an external reloc number is stored in this field. */
  2771. unsigned int type;
  2772. /* The encoded size of the item to be relocated. This is *not* a
  2773. power-of-two measure. Use bfd_get_reloc_size to find the size
  2774. of the item in bytes. */
  2775. unsigned int size:3;
  2776. /* The number of bits in the field to be relocated. This is used
  2777. when doing overflow checking. */
  2778. unsigned int bitsize:7;
  2779. /* The value the final relocation is shifted right by. This drops
  2780. unwanted data from the relocation. */
  2781. unsigned int rightshift:6;
  2782. /* The bit position of the reloc value in the destination.
  2783. The relocated value is left shifted by this amount. */
  2784. unsigned int bitpos:6;
  2785. /* What type of overflow error should be checked for when
  2786. relocating. */
  2787. ENUM_BITFIELD (complain_overflow) complain_on_overflow:2;
  2788. /* The relocation value should be negated before applying. */
  2789. unsigned int negate:1;
  2790. /* The relocation is relative to the item being relocated. */
  2791. unsigned int pc_relative:1;
  2792. /* Some formats record a relocation addend in the section contents
  2793. rather than with the relocation. For ELF formats this is the
  2794. distinction between USE_REL and USE_RELA (though the code checks
  2795. for USE_REL == 1/0). The value of this field is TRUE if the
  2796. addend is recorded with the section contents; when performing a
  2797. partial link (ld -r) the section contents (the data) will be
  2798. modified. The value of this field is FALSE if addends are
  2799. recorded with the relocation (in arelent.addend); when performing
  2800. a partial link the relocation will be modified.
  2801. All relocations for all ELF USE_RELA targets should set this field
  2802. to FALSE (values of TRUE should be looked on with suspicion).
  2803. However, the converse is not true: not all relocations of all ELF
  2804. USE_REL targets set this field to TRUE. Why this is so is peculiar
  2805. to each particular target. For relocs that aren't used in partial
  2806. links (e.g. GOT stuff) it doesn't matter what this is set to. */
  2807. unsigned int partial_inplace:1;
  2808. /* When some formats create PC relative instructions, they leave
  2809. the value of the pc of the place being relocated in the offset
  2810. slot of the instruction, so that a PC relative relocation can
  2811. be made just by adding in an ordinary offset (e.g., sun3 a.out).
  2812. Some formats leave the displacement part of an instruction
  2813. empty (e.g., ELF); this flag signals the fact. */
  2814. unsigned int pcrel_offset:1;
  2815. /* src_mask selects the part of the instruction (or data) to be used
  2816. in the relocation sum. If the target relocations don't have an
  2817. addend in the reloc, eg. ELF USE_REL, src_mask will normally equal
  2818. dst_mask to extract the addend from the section contents. If
  2819. relocations do have an addend in the reloc, eg. ELF USE_RELA, this
  2820. field should normally be zero. Non-zero values for ELF USE_RELA
  2821. targets should be viewed with suspicion as normally the value in
  2822. the dst_mask part of the section contents should be ignored. */
  2823. bfd_vma src_mask;
  2824. /* dst_mask selects which parts of the instruction (or data) are
  2825. replaced with a relocated value. */
  2826. bfd_vma dst_mask;
  2827. /* If this field is non null, then the supplied function is
  2828. called rather than the normal function. This allows really
  2829. strange relocation methods to be accommodated. */
  2830. bfd_reloc_status_type (*special_function)
  2831. (bfd *, arelent *, struct bfd_symbol *, void *, asection *,
  2832. bfd *, char **);
  2833. /* The textual name of the relocation type. */
  2834. const char *name;
  2835. };
  2836. 2.10.1.3 'The HOWTO Macro'
  2837. ..........................
  2838. *Description*
  2839. The HOWTO macro fills in a reloc_howto_type (a typedef for const struct
  2840. reloc_howto_struct).
  2841. #define HOWTO(type, right, size, bits, pcrel, left, ovf, func, name, \
  2842. inplace, src_mask, dst_mask, pcrel_off) \
  2843. { (unsigned) type, size < 0 ? -size : size, bits, right, left, ovf, \
  2844. size < 0, pcrel, inplace, pcrel_off, src_mask, dst_mask, func, name }
  2845. *Description*
  2846. This is used to fill in an empty howto entry in an array.
  2847. #define EMPTY_HOWTO(C) \
  2848. HOWTO ((C), 0, 0, 0, FALSE, 0, complain_overflow_dont, NULL, \
  2849. NULL, FALSE, 0, 0, FALSE)
  2850. 2.10.1.4 'bfd_get_reloc_size'
  2851. .............................
  2852. *Synopsis*
  2853. unsigned int bfd_get_reloc_size (reloc_howto_type *);
  2854. *Description*
  2855. For a reloc_howto_type that operates on a fixed number of bytes, this
  2856. returns the number of bytes operated on.
  2857. 2.10.1.5 'arelent_chain'
  2858. ........................
  2859. *Description*
  2860. How relocs are tied together in an 'asection':
  2861. typedef struct relent_chain
  2862. {
  2863. arelent relent;
  2864. struct relent_chain *next;
  2865. }
  2866. arelent_chain;
  2867. 2.10.1.6 'bfd_check_overflow'
  2868. .............................
  2869. *Synopsis*
  2870. bfd_reloc_status_type bfd_check_overflow
  2871. (enum complain_overflow how,
  2872. unsigned int bitsize,
  2873. unsigned int rightshift,
  2874. unsigned int addrsize,
  2875. bfd_vma relocation);
  2876. *Description*
  2877. Perform overflow checking on RELOCATION which has BITSIZE significant
  2878. bits and will be shifted right by RIGHTSHIFT bits, on a machine with
  2879. addresses containing ADDRSIZE significant bits. The result is either of
  2880. 'bfd_reloc_ok' or 'bfd_reloc_overflow'.
  2881. 2.10.1.7 'bfd_reloc_offset_in_range'
  2882. ....................................
  2883. *Synopsis*
  2884. bfd_boolean bfd_reloc_offset_in_range
  2885. (reloc_howto_type *howto,
  2886. bfd *abfd,
  2887. asection *section,
  2888. bfd_size_type offset);
  2889. *Description*
  2890. Returns TRUE if the reloc described by HOWTO can be applied at OFFSET
  2891. octets in SECTION.
  2892. 2.10.1.8 'bfd_perform_relocation'
  2893. .................................
  2894. *Synopsis*
  2895. bfd_reloc_status_type bfd_perform_relocation
  2896. (bfd *abfd,
  2897. arelent *reloc_entry,
  2898. void *data,
  2899. asection *input_section,
  2900. bfd *output_bfd,
  2901. char **error_message);
  2902. *Description*
  2903. If OUTPUT_BFD is supplied to this function, the generated image will be
  2904. relocatable; the relocations are copied to the output file after they
  2905. have been changed to reflect the new state of the world. There are two
  2906. ways of reflecting the results of partial linkage in an output file: by
  2907. modifying the output data in place, and by modifying the relocation
  2908. record. Some native formats (e.g., basic a.out and basic coff) have no
  2909. way of specifying an addend in the relocation type, so the addend has to
  2910. go in the output data. This is no big deal since in these formats the
  2911. output data slot will always be big enough for the addend. Complex
  2912. reloc types with addends were invented to solve just this problem. The
  2913. ERROR_MESSAGE argument is set to an error message if this return
  2914. 'bfd_reloc_dangerous'.
  2915. 2.10.1.9 'bfd_install_relocation'
  2916. .................................
  2917. *Synopsis*
  2918. bfd_reloc_status_type bfd_install_relocation
  2919. (bfd *abfd,
  2920. arelent *reloc_entry,
  2921. void *data, bfd_vma data_start,
  2922. asection *input_section,
  2923. char **error_message);
  2924. *Description*
  2925. This looks remarkably like 'bfd_perform_relocation', except it does not
  2926. expect that the section contents have been filled in. I.e., it's
  2927. suitable for use when creating, rather than applying a relocation.
  2928. For now, this function should be considered reserved for the
  2929. assembler.
  2930. 
  2931. File: bfd.info, Node: howto manager, Prev: typedef arelent, Up: Relocations
  2932. 2.10.2 The howto manager
  2933. ------------------------
  2934. When an application wants to create a relocation, but doesn't know what
  2935. the target machine might call it, it can find out by using this bit of
  2936. code.
  2937. 2.10.2.1 'bfd_reloc_code_type'
  2938. ..............................
  2939. *Description*
  2940. The insides of a reloc code. The idea is that, eventually, there will
  2941. be one enumerator for every type of relocation we ever do. Pass one of
  2942. these values to 'bfd_reloc_type_lookup', and it'll return a howto
  2943. pointer.
  2944. This does mean that the application must determine the correct
  2945. enumerator value; you can't get a howto pointer from a random set of
  2946. attributes.
  2947. Here are the possible values for 'enum bfd_reloc_code_real':
  2948. -- : BFD_RELOC_64
  2949. -- : BFD_RELOC_32
  2950. -- : BFD_RELOC_26
  2951. -- : BFD_RELOC_24
  2952. -- : BFD_RELOC_16
  2953. -- : BFD_RELOC_14
  2954. -- : BFD_RELOC_8
  2955. Basic absolute relocations of N bits.
  2956. -- : BFD_RELOC_64_PCREL
  2957. -- : BFD_RELOC_32_PCREL
  2958. -- : BFD_RELOC_24_PCREL
  2959. -- : BFD_RELOC_16_PCREL
  2960. -- : BFD_RELOC_12_PCREL
  2961. -- : BFD_RELOC_8_PCREL
  2962. PC-relative relocations. Sometimes these are relative to the
  2963. address of the relocation itself; sometimes they are relative to
  2964. the start of the section containing the relocation. It depends on
  2965. the specific target.
  2966. -- : BFD_RELOC_32_SECREL
  2967. Section relative relocations. Some targets need this for DWARF2.
  2968. -- : BFD_RELOC_32_GOT_PCREL
  2969. -- : BFD_RELOC_16_GOT_PCREL
  2970. -- : BFD_RELOC_8_GOT_PCREL
  2971. -- : BFD_RELOC_32_GOTOFF
  2972. -- : BFD_RELOC_16_GOTOFF
  2973. -- : BFD_RELOC_LO16_GOTOFF
  2974. -- : BFD_RELOC_HI16_GOTOFF
  2975. -- : BFD_RELOC_HI16_S_GOTOFF
  2976. -- : BFD_RELOC_8_GOTOFF
  2977. -- : BFD_RELOC_64_PLT_PCREL
  2978. -- : BFD_RELOC_32_PLT_PCREL
  2979. -- : BFD_RELOC_24_PLT_PCREL
  2980. -- : BFD_RELOC_16_PLT_PCREL
  2981. -- : BFD_RELOC_8_PLT_PCREL
  2982. -- : BFD_RELOC_64_PLTOFF
  2983. -- : BFD_RELOC_32_PLTOFF
  2984. -- : BFD_RELOC_16_PLTOFF
  2985. -- : BFD_RELOC_LO16_PLTOFF
  2986. -- : BFD_RELOC_HI16_PLTOFF
  2987. -- : BFD_RELOC_HI16_S_PLTOFF
  2988. -- : BFD_RELOC_8_PLTOFF
  2989. For ELF.
  2990. -- : BFD_RELOC_SIZE32
  2991. -- : BFD_RELOC_SIZE64
  2992. Size relocations.
  2993. -- : BFD_RELOC_68K_GLOB_DAT
  2994. -- : BFD_RELOC_68K_JMP_SLOT
  2995. -- : BFD_RELOC_68K_RELATIVE
  2996. -- : BFD_RELOC_68K_TLS_GD32
  2997. -- : BFD_RELOC_68K_TLS_GD16
  2998. -- : BFD_RELOC_68K_TLS_GD8
  2999. -- : BFD_RELOC_68K_TLS_LDM32
  3000. -- : BFD_RELOC_68K_TLS_LDM16
  3001. -- : BFD_RELOC_68K_TLS_LDM8
  3002. -- : BFD_RELOC_68K_TLS_LDO32
  3003. -- : BFD_RELOC_68K_TLS_LDO16
  3004. -- : BFD_RELOC_68K_TLS_LDO8
  3005. -- : BFD_RELOC_68K_TLS_IE32
  3006. -- : BFD_RELOC_68K_TLS_IE16
  3007. -- : BFD_RELOC_68K_TLS_IE8
  3008. -- : BFD_RELOC_68K_TLS_LE32
  3009. -- : BFD_RELOC_68K_TLS_LE16
  3010. -- : BFD_RELOC_68K_TLS_LE8
  3011. Relocations used by 68K ELF.
  3012. -- : BFD_RELOC_32_BASEREL
  3013. -- : BFD_RELOC_16_BASEREL
  3014. -- : BFD_RELOC_LO16_BASEREL
  3015. -- : BFD_RELOC_HI16_BASEREL
  3016. -- : BFD_RELOC_HI16_S_BASEREL
  3017. -- : BFD_RELOC_8_BASEREL
  3018. -- : BFD_RELOC_RVA
  3019. Linkage-table relative.
  3020. -- : BFD_RELOC_8_FFnn
  3021. Absolute 8-bit relocation, but used to form an address like 0xFFnn.
  3022. -- : BFD_RELOC_32_PCREL_S2
  3023. -- : BFD_RELOC_16_PCREL_S2
  3024. -- : BFD_RELOC_23_PCREL_S2
  3025. These PC-relative relocations are stored as word displacements -
  3026. i.e., byte displacements shifted right two bits. The 30-bit word
  3027. displacement (<<32_PCREL_S2>> - 32 bits, shifted 2) is used on the
  3028. SPARC. (SPARC tools generally refer to this as <<WDISP30>>.) The
  3029. signed 16-bit displacement is used on the MIPS, and the 23-bit
  3030. displacement is used on the Alpha.
  3031. -- : BFD_RELOC_HI22
  3032. -- : BFD_RELOC_LO10
  3033. High 22 bits and low 10 bits of 32-bit value, placed into lower
  3034. bits of the target word. These are used on the SPARC.
  3035. -- : BFD_RELOC_GPREL16
  3036. -- : BFD_RELOC_GPREL32
  3037. For systems that allocate a Global Pointer register, these are
  3038. displacements off that register. These relocation types are
  3039. handled specially, because the value the register will have is
  3040. decided relatively late.
  3041. -- : BFD_RELOC_NONE
  3042. -- : BFD_RELOC_SPARC_WDISP22
  3043. -- : BFD_RELOC_SPARC22
  3044. -- : BFD_RELOC_SPARC13
  3045. -- : BFD_RELOC_SPARC_GOT10
  3046. -- : BFD_RELOC_SPARC_GOT13
  3047. -- : BFD_RELOC_SPARC_GOT22
  3048. -- : BFD_RELOC_SPARC_PC10
  3049. -- : BFD_RELOC_SPARC_PC22
  3050. -- : BFD_RELOC_SPARC_WPLT30
  3051. -- : BFD_RELOC_SPARC_COPY
  3052. -- : BFD_RELOC_SPARC_GLOB_DAT
  3053. -- : BFD_RELOC_SPARC_JMP_SLOT
  3054. -- : BFD_RELOC_SPARC_RELATIVE
  3055. -- : BFD_RELOC_SPARC_UA16
  3056. -- : BFD_RELOC_SPARC_UA32
  3057. -- : BFD_RELOC_SPARC_UA64
  3058. -- : BFD_RELOC_SPARC_GOTDATA_HIX22
  3059. -- : BFD_RELOC_SPARC_GOTDATA_LOX10
  3060. -- : BFD_RELOC_SPARC_GOTDATA_OP_HIX22
  3061. -- : BFD_RELOC_SPARC_GOTDATA_OP_LOX10
  3062. -- : BFD_RELOC_SPARC_GOTDATA_OP
  3063. -- : BFD_RELOC_SPARC_JMP_IREL
  3064. -- : BFD_RELOC_SPARC_IRELATIVE
  3065. SPARC ELF relocations. There is probably some overlap with other
  3066. relocation types already defined.
  3067. -- : BFD_RELOC_SPARC_BASE13
  3068. -- : BFD_RELOC_SPARC_BASE22
  3069. I think these are specific to SPARC a.out (e.g., Sun 4).
  3070. -- : BFD_RELOC_SPARC_64
  3071. -- : BFD_RELOC_SPARC_10
  3072. -- : BFD_RELOC_SPARC_11
  3073. -- : BFD_RELOC_SPARC_OLO10
  3074. -- : BFD_RELOC_SPARC_HH22
  3075. -- : BFD_RELOC_SPARC_HM10
  3076. -- : BFD_RELOC_SPARC_LM22
  3077. -- : BFD_RELOC_SPARC_PC_HH22
  3078. -- : BFD_RELOC_SPARC_PC_HM10
  3079. -- : BFD_RELOC_SPARC_PC_LM22
  3080. -- : BFD_RELOC_SPARC_WDISP16
  3081. -- : BFD_RELOC_SPARC_WDISP19
  3082. -- : BFD_RELOC_SPARC_7
  3083. -- : BFD_RELOC_SPARC_6
  3084. -- : BFD_RELOC_SPARC_5
  3085. -- : BFD_RELOC_SPARC_DISP64
  3086. -- : BFD_RELOC_SPARC_PLT32
  3087. -- : BFD_RELOC_SPARC_PLT64
  3088. -- : BFD_RELOC_SPARC_HIX22
  3089. -- : BFD_RELOC_SPARC_LOX10
  3090. -- : BFD_RELOC_SPARC_H44
  3091. -- : BFD_RELOC_SPARC_M44
  3092. -- : BFD_RELOC_SPARC_L44
  3093. -- : BFD_RELOC_SPARC_REGISTER
  3094. -- : BFD_RELOC_SPARC_H34
  3095. -- : BFD_RELOC_SPARC_SIZE32
  3096. -- : BFD_RELOC_SPARC_SIZE64
  3097. -- : BFD_RELOC_SPARC_WDISP10
  3098. SPARC64 relocations
  3099. -- : BFD_RELOC_SPARC_REV32
  3100. SPARC little endian relocation
  3101. -- : BFD_RELOC_SPARC_TLS_GD_HI22
  3102. -- : BFD_RELOC_SPARC_TLS_GD_LO10
  3103. -- : BFD_RELOC_SPARC_TLS_GD_ADD
  3104. -- : BFD_RELOC_SPARC_TLS_GD_CALL
  3105. -- : BFD_RELOC_SPARC_TLS_LDM_HI22
  3106. -- : BFD_RELOC_SPARC_TLS_LDM_LO10
  3107. -- : BFD_RELOC_SPARC_TLS_LDM_ADD
  3108. -- : BFD_RELOC_SPARC_TLS_LDM_CALL
  3109. -- : BFD_RELOC_SPARC_TLS_LDO_HIX22
  3110. -- : BFD_RELOC_SPARC_TLS_LDO_LOX10
  3111. -- : BFD_RELOC_SPARC_TLS_LDO_ADD
  3112. -- : BFD_RELOC_SPARC_TLS_IE_HI22
  3113. -- : BFD_RELOC_SPARC_TLS_IE_LO10
  3114. -- : BFD_RELOC_SPARC_TLS_IE_LD
  3115. -- : BFD_RELOC_SPARC_TLS_IE_LDX
  3116. -- : BFD_RELOC_SPARC_TLS_IE_ADD
  3117. -- : BFD_RELOC_SPARC_TLS_LE_HIX22
  3118. -- : BFD_RELOC_SPARC_TLS_LE_LOX10
  3119. -- : BFD_RELOC_SPARC_TLS_DTPMOD32
  3120. -- : BFD_RELOC_SPARC_TLS_DTPMOD64
  3121. -- : BFD_RELOC_SPARC_TLS_DTPOFF32
  3122. -- : BFD_RELOC_SPARC_TLS_DTPOFF64
  3123. -- : BFD_RELOC_SPARC_TLS_TPOFF32
  3124. -- : BFD_RELOC_SPARC_TLS_TPOFF64
  3125. SPARC TLS relocations
  3126. -- : BFD_RELOC_SPU_IMM7
  3127. -- : BFD_RELOC_SPU_IMM8
  3128. -- : BFD_RELOC_SPU_IMM10
  3129. -- : BFD_RELOC_SPU_IMM10W
  3130. -- : BFD_RELOC_SPU_IMM16
  3131. -- : BFD_RELOC_SPU_IMM16W
  3132. -- : BFD_RELOC_SPU_IMM18
  3133. -- : BFD_RELOC_SPU_PCREL9a
  3134. -- : BFD_RELOC_SPU_PCREL9b
  3135. -- : BFD_RELOC_SPU_PCREL16
  3136. -- : BFD_RELOC_SPU_LO16
  3137. -- : BFD_RELOC_SPU_HI16
  3138. -- : BFD_RELOC_SPU_PPU32
  3139. -- : BFD_RELOC_SPU_PPU64
  3140. -- : BFD_RELOC_SPU_ADD_PIC
  3141. SPU Relocations.
  3142. -- : BFD_RELOC_ALPHA_GPDISP_HI16
  3143. Alpha ECOFF and ELF relocations. Some of these treat the symbol or
  3144. "addend" in some special way. For GPDISP_HI16 ("gpdisp")
  3145. relocations, the symbol is ignored when writing; when reading, it
  3146. will be the absolute section symbol. The addend is the
  3147. displacement in bytes of the "lda" instruction from the "ldah"
  3148. instruction (which is at the address of this reloc).
  3149. -- : BFD_RELOC_ALPHA_GPDISP_LO16
  3150. For GPDISP_LO16 ("ignore") relocations, the symbol is handled as
  3151. with GPDISP_HI16 relocs. The addend is ignored when writing the
  3152. relocations out, and is filled in with the file's GP value on
  3153. reading, for convenience.
  3154. -- : BFD_RELOC_ALPHA_GPDISP
  3155. The ELF GPDISP relocation is exactly the same as the GPDISP_HI16
  3156. relocation except that there is no accompanying GPDISP_LO16
  3157. relocation.
  3158. -- : BFD_RELOC_ALPHA_LITERAL
  3159. -- : BFD_RELOC_ALPHA_ELF_LITERAL
  3160. -- : BFD_RELOC_ALPHA_LITUSE
  3161. The Alpha LITERAL/LITUSE relocs are produced by a symbol reference;
  3162. the assembler turns it into a LDQ instruction to load the address
  3163. of the symbol, and then fills in a register in the real
  3164. instruction.
  3165. The LITERAL reloc, at the LDQ instruction, refers to the .lita
  3166. section symbol. The addend is ignored when writing, but is filled
  3167. in with the file's GP value on reading, for convenience, as with
  3168. the GPDISP_LO16 reloc.
  3169. The ELF_LITERAL reloc is somewhere between 16_GOTOFF and
  3170. GPDISP_LO16. It should refer to the symbol to be referenced, as
  3171. with 16_GOTOFF, but it generates output not based on the position
  3172. within the .got section, but relative to the GP value chosen for
  3173. the file during the final link stage.
  3174. The LITUSE reloc, on the instruction using the loaded address,
  3175. gives information to the linker that it might be able to use to
  3176. optimize away some literal section references. The symbol is
  3177. ignored (read as the absolute section symbol), and the "addend"
  3178. indicates the type of instruction using the register: 1 - "memory"
  3179. fmt insn 2 - byte-manipulation (byte offset reg) 3 - jsr (target of
  3180. branch)
  3181. -- : BFD_RELOC_ALPHA_HINT
  3182. The HINT relocation indicates a value that should be filled into
  3183. the "hint" field of a jmp/jsr/ret instruction, for possible branch-
  3184. prediction logic which may be provided on some processors.
  3185. -- : BFD_RELOC_ALPHA_LINKAGE
  3186. The LINKAGE relocation outputs a linkage pair in the object file,
  3187. which is filled by the linker.
  3188. -- : BFD_RELOC_ALPHA_CODEADDR
  3189. The CODEADDR relocation outputs a STO_CA in the object file, which
  3190. is filled by the linker.
  3191. -- : BFD_RELOC_ALPHA_GPREL_HI16
  3192. -- : BFD_RELOC_ALPHA_GPREL_LO16
  3193. The GPREL_HI/LO relocations together form a 32-bit offset from the
  3194. GP register.
  3195. -- : BFD_RELOC_ALPHA_BRSGP
  3196. Like BFD_RELOC_23_PCREL_S2, except that the source and target must
  3197. share a common GP, and the target address is adjusted for
  3198. STO_ALPHA_STD_GPLOAD.
  3199. -- : BFD_RELOC_ALPHA_NOP
  3200. The NOP relocation outputs a NOP if the longword displacement
  3201. between two procedure entry points is < 2^21.
  3202. -- : BFD_RELOC_ALPHA_BSR
  3203. The BSR relocation outputs a BSR if the longword displacement
  3204. between two procedure entry points is < 2^21.
  3205. -- : BFD_RELOC_ALPHA_LDA
  3206. The LDA relocation outputs a LDA if the longword displacement
  3207. between two procedure entry points is < 2^16.
  3208. -- : BFD_RELOC_ALPHA_BOH
  3209. The BOH relocation outputs a BSR if the longword displacement
  3210. between two procedure entry points is < 2^21, or else a hint.
  3211. -- : BFD_RELOC_ALPHA_TLSGD
  3212. -- : BFD_RELOC_ALPHA_TLSLDM
  3213. -- : BFD_RELOC_ALPHA_DTPMOD64
  3214. -- : BFD_RELOC_ALPHA_GOTDTPREL16
  3215. -- : BFD_RELOC_ALPHA_DTPREL64
  3216. -- : BFD_RELOC_ALPHA_DTPREL_HI16
  3217. -- : BFD_RELOC_ALPHA_DTPREL_LO16
  3218. -- : BFD_RELOC_ALPHA_DTPREL16
  3219. -- : BFD_RELOC_ALPHA_GOTTPREL16
  3220. -- : BFD_RELOC_ALPHA_TPREL64
  3221. -- : BFD_RELOC_ALPHA_TPREL_HI16
  3222. -- : BFD_RELOC_ALPHA_TPREL_LO16
  3223. -- : BFD_RELOC_ALPHA_TPREL16
  3224. Alpha thread-local storage relocations.
  3225. -- : BFD_RELOC_MIPS_JMP
  3226. -- : BFD_RELOC_MICROMIPS_JMP
  3227. The MIPS jump instruction.
  3228. -- : BFD_RELOC_MIPS16_JMP
  3229. The MIPS16 jump instruction.
  3230. -- : BFD_RELOC_MIPS16_GPREL
  3231. MIPS16 GP relative reloc.
  3232. -- : BFD_RELOC_HI16
  3233. High 16 bits of 32-bit value; simple reloc.
  3234. -- : BFD_RELOC_HI16_S
  3235. High 16 bits of 32-bit value but the low 16 bits will be sign
  3236. extended and added to form the final result. If the low 16 bits
  3237. form a negative number, we need to add one to the high value to
  3238. compensate for the borrow when the low bits are added.
  3239. -- : BFD_RELOC_LO16
  3240. Low 16 bits.
  3241. -- : BFD_RELOC_HI16_PCREL
  3242. High 16 bits of 32-bit pc-relative value
  3243. -- : BFD_RELOC_HI16_S_PCREL
  3244. High 16 bits of 32-bit pc-relative value, adjusted
  3245. -- : BFD_RELOC_LO16_PCREL
  3246. Low 16 bits of pc-relative value
  3247. -- : BFD_RELOC_MIPS16_GOT16
  3248. -- : BFD_RELOC_MIPS16_CALL16
  3249. Equivalent of BFD_RELOC_MIPS_*, but with the MIPS16 layout of
  3250. 16-bit immediate fields
  3251. -- : BFD_RELOC_MIPS16_HI16
  3252. MIPS16 high 16 bits of 32-bit value.
  3253. -- : BFD_RELOC_MIPS16_HI16_S
  3254. MIPS16 high 16 bits of 32-bit value but the low 16 bits will be
  3255. sign extended and added to form the final result. If the low 16
  3256. bits form a negative number, we need to add one to the high value
  3257. to compensate for the borrow when the low bits are added.
  3258. -- : BFD_RELOC_MIPS16_LO16
  3259. MIPS16 low 16 bits.
  3260. -- : BFD_RELOC_MIPS16_TLS_GD
  3261. -- : BFD_RELOC_MIPS16_TLS_LDM
  3262. -- : BFD_RELOC_MIPS16_TLS_DTPREL_HI16
  3263. -- : BFD_RELOC_MIPS16_TLS_DTPREL_LO16
  3264. -- : BFD_RELOC_MIPS16_TLS_GOTTPREL
  3265. -- : BFD_RELOC_MIPS16_TLS_TPREL_HI16
  3266. -- : BFD_RELOC_MIPS16_TLS_TPREL_LO16
  3267. MIPS16 TLS relocations
  3268. -- : BFD_RELOC_MIPS_LITERAL
  3269. -- : BFD_RELOC_MICROMIPS_LITERAL
  3270. Relocation against a MIPS literal section.
  3271. -- : BFD_RELOC_MICROMIPS_7_PCREL_S1
  3272. -- : BFD_RELOC_MICROMIPS_10_PCREL_S1
  3273. -- : BFD_RELOC_MICROMIPS_16_PCREL_S1
  3274. microMIPS PC-relative relocations.
  3275. -- : BFD_RELOC_MIPS16_16_PCREL_S1
  3276. MIPS16 PC-relative relocation.
  3277. -- : BFD_RELOC_MIPS_21_PCREL_S2
  3278. -- : BFD_RELOC_MIPS_26_PCREL_S2
  3279. -- : BFD_RELOC_MIPS_18_PCREL_S3
  3280. -- : BFD_RELOC_MIPS_19_PCREL_S2
  3281. MIPS PC-relative relocations.
  3282. -- : BFD_RELOC_MICROMIPS_GPREL16
  3283. -- : BFD_RELOC_MICROMIPS_HI16
  3284. -- : BFD_RELOC_MICROMIPS_HI16_S
  3285. -- : BFD_RELOC_MICROMIPS_LO16
  3286. microMIPS versions of generic BFD relocs.
  3287. -- : BFD_RELOC_MIPS_GOT16
  3288. -- : BFD_RELOC_MICROMIPS_GOT16
  3289. -- : BFD_RELOC_MIPS_CALL16
  3290. -- : BFD_RELOC_MICROMIPS_CALL16
  3291. -- : BFD_RELOC_MIPS_GOT_HI16
  3292. -- : BFD_RELOC_MICROMIPS_GOT_HI16
  3293. -- : BFD_RELOC_MIPS_GOT_LO16
  3294. -- : BFD_RELOC_MICROMIPS_GOT_LO16
  3295. -- : BFD_RELOC_MIPS_CALL_HI16
  3296. -- : BFD_RELOC_MICROMIPS_CALL_HI16
  3297. -- : BFD_RELOC_MIPS_CALL_LO16
  3298. -- : BFD_RELOC_MICROMIPS_CALL_LO16
  3299. -- : BFD_RELOC_MIPS_SUB
  3300. -- : BFD_RELOC_MICROMIPS_SUB
  3301. -- : BFD_RELOC_MIPS_GOT_PAGE
  3302. -- : BFD_RELOC_MICROMIPS_GOT_PAGE
  3303. -- : BFD_RELOC_MIPS_GOT_OFST
  3304. -- : BFD_RELOC_MICROMIPS_GOT_OFST
  3305. -- : BFD_RELOC_MIPS_GOT_DISP
  3306. -- : BFD_RELOC_MICROMIPS_GOT_DISP
  3307. -- : BFD_RELOC_MIPS_SHIFT5
  3308. -- : BFD_RELOC_MIPS_SHIFT6
  3309. -- : BFD_RELOC_MIPS_INSERT_A
  3310. -- : BFD_RELOC_MIPS_INSERT_B
  3311. -- : BFD_RELOC_MIPS_DELETE
  3312. -- : BFD_RELOC_MIPS_HIGHEST
  3313. -- : BFD_RELOC_MICROMIPS_HIGHEST
  3314. -- : BFD_RELOC_MIPS_HIGHER
  3315. -- : BFD_RELOC_MICROMIPS_HIGHER
  3316. -- : BFD_RELOC_MIPS_SCN_DISP
  3317. -- : BFD_RELOC_MICROMIPS_SCN_DISP
  3318. -- : BFD_RELOC_MIPS_REL16
  3319. -- : BFD_RELOC_MIPS_RELGOT
  3320. -- : BFD_RELOC_MIPS_JALR
  3321. -- : BFD_RELOC_MICROMIPS_JALR
  3322. -- : BFD_RELOC_MIPS_TLS_DTPMOD32
  3323. -- : BFD_RELOC_MIPS_TLS_DTPREL32
  3324. -- : BFD_RELOC_MIPS_TLS_DTPMOD64
  3325. -- : BFD_RELOC_MIPS_TLS_DTPREL64
  3326. -- : BFD_RELOC_MIPS_TLS_GD
  3327. -- : BFD_RELOC_MICROMIPS_TLS_GD
  3328. -- : BFD_RELOC_MIPS_TLS_LDM
  3329. -- : BFD_RELOC_MICROMIPS_TLS_LDM
  3330. -- : BFD_RELOC_MIPS_TLS_DTPREL_HI16
  3331. -- : BFD_RELOC_MICROMIPS_TLS_DTPREL_HI16
  3332. -- : BFD_RELOC_MIPS_TLS_DTPREL_LO16
  3333. -- : BFD_RELOC_MICROMIPS_TLS_DTPREL_LO16
  3334. -- : BFD_RELOC_MIPS_TLS_GOTTPREL
  3335. -- : BFD_RELOC_MICROMIPS_TLS_GOTTPREL
  3336. -- : BFD_RELOC_MIPS_TLS_TPREL32
  3337. -- : BFD_RELOC_MIPS_TLS_TPREL64
  3338. -- : BFD_RELOC_MIPS_TLS_TPREL_HI16
  3339. -- : BFD_RELOC_MICROMIPS_TLS_TPREL_HI16
  3340. -- : BFD_RELOC_MIPS_TLS_TPREL_LO16
  3341. -- : BFD_RELOC_MICROMIPS_TLS_TPREL_LO16
  3342. -- : BFD_RELOC_MIPS_EH
  3343. MIPS ELF relocations.
  3344. -- : BFD_RELOC_MIPS_COPY
  3345. -- : BFD_RELOC_MIPS_JUMP_SLOT
  3346. MIPS ELF relocations (VxWorks and PLT extensions).
  3347. -- : BFD_RELOC_MOXIE_10_PCREL
  3348. Moxie ELF relocations.
  3349. -- : BFD_RELOC_FT32_10
  3350. -- : BFD_RELOC_FT32_20
  3351. -- : BFD_RELOC_FT32_17
  3352. -- : BFD_RELOC_FT32_18
  3353. -- : BFD_RELOC_FT32_RELAX
  3354. -- : BFD_RELOC_FT32_SC0
  3355. -- : BFD_RELOC_FT32_SC1
  3356. -- : BFD_RELOC_FT32_15
  3357. -- : BFD_RELOC_FT32_DIFF32
  3358. FT32 ELF relocations.
  3359. -- : BFD_RELOC_FRV_LABEL16
  3360. -- : BFD_RELOC_FRV_LABEL24
  3361. -- : BFD_RELOC_FRV_LO16
  3362. -- : BFD_RELOC_FRV_HI16
  3363. -- : BFD_RELOC_FRV_GPREL12
  3364. -- : BFD_RELOC_FRV_GPRELU12
  3365. -- : BFD_RELOC_FRV_GPREL32
  3366. -- : BFD_RELOC_FRV_GPRELHI
  3367. -- : BFD_RELOC_FRV_GPRELLO
  3368. -- : BFD_RELOC_FRV_GOT12
  3369. -- : BFD_RELOC_FRV_GOTHI
  3370. -- : BFD_RELOC_FRV_GOTLO
  3371. -- : BFD_RELOC_FRV_FUNCDESC
  3372. -- : BFD_RELOC_FRV_FUNCDESC_GOT12
  3373. -- : BFD_RELOC_FRV_FUNCDESC_GOTHI
  3374. -- : BFD_RELOC_FRV_FUNCDESC_GOTLO
  3375. -- : BFD_RELOC_FRV_FUNCDESC_VALUE
  3376. -- : BFD_RELOC_FRV_FUNCDESC_GOTOFF12
  3377. -- : BFD_RELOC_FRV_FUNCDESC_GOTOFFHI
  3378. -- : BFD_RELOC_FRV_FUNCDESC_GOTOFFLO
  3379. -- : BFD_RELOC_FRV_GOTOFF12
  3380. -- : BFD_RELOC_FRV_GOTOFFHI
  3381. -- : BFD_RELOC_FRV_GOTOFFLO
  3382. -- : BFD_RELOC_FRV_GETTLSOFF
  3383. -- : BFD_RELOC_FRV_TLSDESC_VALUE
  3384. -- : BFD_RELOC_FRV_GOTTLSDESC12
  3385. -- : BFD_RELOC_FRV_GOTTLSDESCHI
  3386. -- : BFD_RELOC_FRV_GOTTLSDESCLO
  3387. -- : BFD_RELOC_FRV_TLSMOFF12
  3388. -- : BFD_RELOC_FRV_TLSMOFFHI
  3389. -- : BFD_RELOC_FRV_TLSMOFFLO
  3390. -- : BFD_RELOC_FRV_GOTTLSOFF12
  3391. -- : BFD_RELOC_FRV_GOTTLSOFFHI
  3392. -- : BFD_RELOC_FRV_GOTTLSOFFLO
  3393. -- : BFD_RELOC_FRV_TLSOFF
  3394. -- : BFD_RELOC_FRV_TLSDESC_RELAX
  3395. -- : BFD_RELOC_FRV_GETTLSOFF_RELAX
  3396. -- : BFD_RELOC_FRV_TLSOFF_RELAX
  3397. -- : BFD_RELOC_FRV_TLSMOFF
  3398. Fujitsu Frv Relocations.
  3399. -- : BFD_RELOC_MN10300_GOTOFF24
  3400. This is a 24bit GOT-relative reloc for the mn10300.
  3401. -- : BFD_RELOC_MN10300_GOT32
  3402. This is a 32bit GOT-relative reloc for the mn10300, offset by two
  3403. bytes in the instruction.
  3404. -- : BFD_RELOC_MN10300_GOT24
  3405. This is a 24bit GOT-relative reloc for the mn10300, offset by two
  3406. bytes in the instruction.
  3407. -- : BFD_RELOC_MN10300_GOT16
  3408. This is a 16bit GOT-relative reloc for the mn10300, offset by two
  3409. bytes in the instruction.
  3410. -- : BFD_RELOC_MN10300_COPY
  3411. Copy symbol at runtime.
  3412. -- : BFD_RELOC_MN10300_GLOB_DAT
  3413. Create GOT entry.
  3414. -- : BFD_RELOC_MN10300_JMP_SLOT
  3415. Create PLT entry.
  3416. -- : BFD_RELOC_MN10300_RELATIVE
  3417. Adjust by program base.
  3418. -- : BFD_RELOC_MN10300_SYM_DIFF
  3419. Together with another reloc targeted at the same location, allows
  3420. for a value that is the difference of two symbols in the same
  3421. section.
  3422. -- : BFD_RELOC_MN10300_ALIGN
  3423. The addend of this reloc is an alignment power that must be
  3424. honoured at the offset's location, regardless of linker relaxation.
  3425. -- : BFD_RELOC_MN10300_TLS_GD
  3426. -- : BFD_RELOC_MN10300_TLS_LD
  3427. -- : BFD_RELOC_MN10300_TLS_LDO
  3428. -- : BFD_RELOC_MN10300_TLS_GOTIE
  3429. -- : BFD_RELOC_MN10300_TLS_IE
  3430. -- : BFD_RELOC_MN10300_TLS_LE
  3431. -- : BFD_RELOC_MN10300_TLS_DTPMOD
  3432. -- : BFD_RELOC_MN10300_TLS_DTPOFF
  3433. -- : BFD_RELOC_MN10300_TLS_TPOFF
  3434. Various TLS-related relocations.
  3435. -- : BFD_RELOC_MN10300_32_PCREL
  3436. This is a 32bit pcrel reloc for the mn10300, offset by two bytes in
  3437. the instruction.
  3438. -- : BFD_RELOC_MN10300_16_PCREL
  3439. This is a 16bit pcrel reloc for the mn10300, offset by two bytes in
  3440. the instruction.
  3441. -- : BFD_RELOC_386_GOT32
  3442. -- : BFD_RELOC_386_PLT32
  3443. -- : BFD_RELOC_386_COPY
  3444. -- : BFD_RELOC_386_GLOB_DAT
  3445. -- : BFD_RELOC_386_JUMP_SLOT
  3446. -- : BFD_RELOC_386_RELATIVE
  3447. -- : BFD_RELOC_386_GOTOFF
  3448. -- : BFD_RELOC_386_GOTPC
  3449. -- : BFD_RELOC_386_TLS_TPOFF
  3450. -- : BFD_RELOC_386_TLS_IE
  3451. -- : BFD_RELOC_386_TLS_GOTIE
  3452. -- : BFD_RELOC_386_TLS_LE
  3453. -- : BFD_RELOC_386_TLS_GD
  3454. -- : BFD_RELOC_386_TLS_LDM
  3455. -- : BFD_RELOC_386_TLS_LDO_32
  3456. -- : BFD_RELOC_386_TLS_IE_32
  3457. -- : BFD_RELOC_386_TLS_LE_32
  3458. -- : BFD_RELOC_386_TLS_DTPMOD32
  3459. -- : BFD_RELOC_386_TLS_DTPOFF32
  3460. -- : BFD_RELOC_386_TLS_TPOFF32
  3461. -- : BFD_RELOC_386_TLS_GOTDESC
  3462. -- : BFD_RELOC_386_TLS_DESC_CALL
  3463. -- : BFD_RELOC_386_TLS_DESC
  3464. -- : BFD_RELOC_386_IRELATIVE
  3465. -- : BFD_RELOC_386_GOT32X
  3466. i386/elf relocations
  3467. -- : BFD_RELOC_X86_64_GOT32
  3468. -- : BFD_RELOC_X86_64_PLT32
  3469. -- : BFD_RELOC_X86_64_COPY
  3470. -- : BFD_RELOC_X86_64_GLOB_DAT
  3471. -- : BFD_RELOC_X86_64_JUMP_SLOT
  3472. -- : BFD_RELOC_X86_64_RELATIVE
  3473. -- : BFD_RELOC_X86_64_GOTPCREL
  3474. -- : BFD_RELOC_X86_64_32S
  3475. -- : BFD_RELOC_X86_64_DTPMOD64
  3476. -- : BFD_RELOC_X86_64_DTPOFF64
  3477. -- : BFD_RELOC_X86_64_TPOFF64
  3478. -- : BFD_RELOC_X86_64_TLSGD
  3479. -- : BFD_RELOC_X86_64_TLSLD
  3480. -- : BFD_RELOC_X86_64_DTPOFF32
  3481. -- : BFD_RELOC_X86_64_GOTTPOFF
  3482. -- : BFD_RELOC_X86_64_TPOFF32
  3483. -- : BFD_RELOC_X86_64_GOTOFF64
  3484. -- : BFD_RELOC_X86_64_GOTPC32
  3485. -- : BFD_RELOC_X86_64_GOT64
  3486. -- : BFD_RELOC_X86_64_GOTPCREL64
  3487. -- : BFD_RELOC_X86_64_GOTPC64
  3488. -- : BFD_RELOC_X86_64_GOTPLT64
  3489. -- : BFD_RELOC_X86_64_PLTOFF64
  3490. -- : BFD_RELOC_X86_64_GOTPC32_TLSDESC
  3491. -- : BFD_RELOC_X86_64_TLSDESC_CALL
  3492. -- : BFD_RELOC_X86_64_TLSDESC
  3493. -- : BFD_RELOC_X86_64_IRELATIVE
  3494. -- : BFD_RELOC_X86_64_PC32_BND
  3495. -- : BFD_RELOC_X86_64_PLT32_BND
  3496. -- : BFD_RELOC_X86_64_GOTPCRELX
  3497. -- : BFD_RELOC_X86_64_REX_GOTPCRELX
  3498. x86-64/elf relocations
  3499. -- : BFD_RELOC_NS32K_IMM_8
  3500. -- : BFD_RELOC_NS32K_IMM_16
  3501. -- : BFD_RELOC_NS32K_IMM_32
  3502. -- : BFD_RELOC_NS32K_IMM_8_PCREL
  3503. -- : BFD_RELOC_NS32K_IMM_16_PCREL
  3504. -- : BFD_RELOC_NS32K_IMM_32_PCREL
  3505. -- : BFD_RELOC_NS32K_DISP_8
  3506. -- : BFD_RELOC_NS32K_DISP_16
  3507. -- : BFD_RELOC_NS32K_DISP_32
  3508. -- : BFD_RELOC_NS32K_DISP_8_PCREL
  3509. -- : BFD_RELOC_NS32K_DISP_16_PCREL
  3510. -- : BFD_RELOC_NS32K_DISP_32_PCREL
  3511. ns32k relocations
  3512. -- : BFD_RELOC_PDP11_DISP_8_PCREL
  3513. -- : BFD_RELOC_PDP11_DISP_6_PCREL
  3514. PDP11 relocations
  3515. -- : BFD_RELOC_PJ_CODE_HI16
  3516. -- : BFD_RELOC_PJ_CODE_LO16
  3517. -- : BFD_RELOC_PJ_CODE_DIR16
  3518. -- : BFD_RELOC_PJ_CODE_DIR32
  3519. -- : BFD_RELOC_PJ_CODE_REL16
  3520. -- : BFD_RELOC_PJ_CODE_REL32
  3521. Picojava relocs. Not all of these appear in object files.
  3522. -- : BFD_RELOC_PPC_B26
  3523. -- : BFD_RELOC_PPC_BA26
  3524. -- : BFD_RELOC_PPC_TOC16
  3525. -- : BFD_RELOC_PPC_B16
  3526. -- : BFD_RELOC_PPC_B16_BRTAKEN
  3527. -- : BFD_RELOC_PPC_B16_BRNTAKEN
  3528. -- : BFD_RELOC_PPC_BA16
  3529. -- : BFD_RELOC_PPC_BA16_BRTAKEN
  3530. -- : BFD_RELOC_PPC_BA16_BRNTAKEN
  3531. -- : BFD_RELOC_PPC_COPY
  3532. -- : BFD_RELOC_PPC_GLOB_DAT
  3533. -- : BFD_RELOC_PPC_JMP_SLOT
  3534. -- : BFD_RELOC_PPC_RELATIVE
  3535. -- : BFD_RELOC_PPC_LOCAL24PC
  3536. -- : BFD_RELOC_PPC_EMB_NADDR32
  3537. -- : BFD_RELOC_PPC_EMB_NADDR16
  3538. -- : BFD_RELOC_PPC_EMB_NADDR16_LO
  3539. -- : BFD_RELOC_PPC_EMB_NADDR16_HI
  3540. -- : BFD_RELOC_PPC_EMB_NADDR16_HA
  3541. -- : BFD_RELOC_PPC_EMB_SDAI16
  3542. -- : BFD_RELOC_PPC_EMB_SDA2I16
  3543. -- : BFD_RELOC_PPC_EMB_SDA2REL
  3544. -- : BFD_RELOC_PPC_EMB_SDA21
  3545. -- : BFD_RELOC_PPC_EMB_MRKREF
  3546. -- : BFD_RELOC_PPC_EMB_RELSEC16
  3547. -- : BFD_RELOC_PPC_EMB_RELST_LO
  3548. -- : BFD_RELOC_PPC_EMB_RELST_HI
  3549. -- : BFD_RELOC_PPC_EMB_RELST_HA
  3550. -- : BFD_RELOC_PPC_EMB_BIT_FLD
  3551. -- : BFD_RELOC_PPC_EMB_RELSDA
  3552. -- : BFD_RELOC_PPC_VLE_REL8
  3553. -- : BFD_RELOC_PPC_VLE_REL15
  3554. -- : BFD_RELOC_PPC_VLE_REL24
  3555. -- : BFD_RELOC_PPC_VLE_LO16A
  3556. -- : BFD_RELOC_PPC_VLE_LO16D
  3557. -- : BFD_RELOC_PPC_VLE_HI16A
  3558. -- : BFD_RELOC_PPC_VLE_HI16D
  3559. -- : BFD_RELOC_PPC_VLE_HA16A
  3560. -- : BFD_RELOC_PPC_VLE_HA16D
  3561. -- : BFD_RELOC_PPC_VLE_SDA21
  3562. -- : BFD_RELOC_PPC_VLE_SDA21_LO
  3563. -- : BFD_RELOC_PPC_VLE_SDAREL_LO16A
  3564. -- : BFD_RELOC_PPC_VLE_SDAREL_LO16D
  3565. -- : BFD_RELOC_PPC_VLE_SDAREL_HI16A
  3566. -- : BFD_RELOC_PPC_VLE_SDAREL_HI16D
  3567. -- : BFD_RELOC_PPC_VLE_SDAREL_HA16A
  3568. -- : BFD_RELOC_PPC_VLE_SDAREL_HA16D
  3569. -- : BFD_RELOC_PPC_16DX_HA
  3570. -- : BFD_RELOC_PPC_REL16DX_HA
  3571. -- : BFD_RELOC_PPC64_HIGHER
  3572. -- : BFD_RELOC_PPC64_HIGHER_S
  3573. -- : BFD_RELOC_PPC64_HIGHEST
  3574. -- : BFD_RELOC_PPC64_HIGHEST_S
  3575. -- : BFD_RELOC_PPC64_TOC16_LO
  3576. -- : BFD_RELOC_PPC64_TOC16_HI
  3577. -- : BFD_RELOC_PPC64_TOC16_HA
  3578. -- : BFD_RELOC_PPC64_TOC
  3579. -- : BFD_RELOC_PPC64_PLTGOT16
  3580. -- : BFD_RELOC_PPC64_PLTGOT16_LO
  3581. -- : BFD_RELOC_PPC64_PLTGOT16_HI
  3582. -- : BFD_RELOC_PPC64_PLTGOT16_HA
  3583. -- : BFD_RELOC_PPC64_ADDR16_DS
  3584. -- : BFD_RELOC_PPC64_ADDR16_LO_DS
  3585. -- : BFD_RELOC_PPC64_GOT16_DS
  3586. -- : BFD_RELOC_PPC64_GOT16_LO_DS
  3587. -- : BFD_RELOC_PPC64_PLT16_LO_DS
  3588. -- : BFD_RELOC_PPC64_SECTOFF_DS
  3589. -- : BFD_RELOC_PPC64_SECTOFF_LO_DS
  3590. -- : BFD_RELOC_PPC64_TOC16_DS
  3591. -- : BFD_RELOC_PPC64_TOC16_LO_DS
  3592. -- : BFD_RELOC_PPC64_PLTGOT16_DS
  3593. -- : BFD_RELOC_PPC64_PLTGOT16_LO_DS
  3594. -- : BFD_RELOC_PPC64_ADDR16_HIGH
  3595. -- : BFD_RELOC_PPC64_ADDR16_HIGHA
  3596. -- : BFD_RELOC_PPC64_REL16_HIGH
  3597. -- : BFD_RELOC_PPC64_REL16_HIGHA
  3598. -- : BFD_RELOC_PPC64_REL16_HIGHER
  3599. -- : BFD_RELOC_PPC64_REL16_HIGHERA
  3600. -- : BFD_RELOC_PPC64_REL16_HIGHEST
  3601. -- : BFD_RELOC_PPC64_REL16_HIGHESTA
  3602. -- : BFD_RELOC_PPC64_ADDR64_LOCAL
  3603. -- : BFD_RELOC_PPC64_ENTRY
  3604. -- : BFD_RELOC_PPC64_REL24_NOTOC
  3605. -- : BFD_RELOC_PPC64_D34
  3606. -- : BFD_RELOC_PPC64_D34_LO
  3607. -- : BFD_RELOC_PPC64_D34_HI30
  3608. -- : BFD_RELOC_PPC64_D34_HA30
  3609. -- : BFD_RELOC_PPC64_PCREL34
  3610. -- : BFD_RELOC_PPC64_GOT_PCREL34
  3611. -- : BFD_RELOC_PPC64_PLT_PCREL34
  3612. -- : BFD_RELOC_PPC64_ADDR16_HIGHER34
  3613. -- : BFD_RELOC_PPC64_ADDR16_HIGHERA34
  3614. -- : BFD_RELOC_PPC64_ADDR16_HIGHEST34
  3615. -- : BFD_RELOC_PPC64_ADDR16_HIGHESTA34
  3616. -- : BFD_RELOC_PPC64_REL16_HIGHER34
  3617. -- : BFD_RELOC_PPC64_REL16_HIGHERA34
  3618. -- : BFD_RELOC_PPC64_REL16_HIGHEST34
  3619. -- : BFD_RELOC_PPC64_REL16_HIGHESTA34
  3620. -- : BFD_RELOC_PPC64_D28
  3621. -- : BFD_RELOC_PPC64_PCREL28
  3622. Power(rs6000) and PowerPC relocations.
  3623. -- : BFD_RELOC_PPC_TLS
  3624. -- : BFD_RELOC_PPC_TLSGD
  3625. -- : BFD_RELOC_PPC_TLSLD
  3626. -- : BFD_RELOC_PPC_DTPMOD
  3627. -- : BFD_RELOC_PPC_TPREL16
  3628. -- : BFD_RELOC_PPC_TPREL16_LO
  3629. -- : BFD_RELOC_PPC_TPREL16_HI
  3630. -- : BFD_RELOC_PPC_TPREL16_HA
  3631. -- : BFD_RELOC_PPC_TPREL
  3632. -- : BFD_RELOC_PPC_DTPREL16
  3633. -- : BFD_RELOC_PPC_DTPREL16_LO
  3634. -- : BFD_RELOC_PPC_DTPREL16_HI
  3635. -- : BFD_RELOC_PPC_DTPREL16_HA
  3636. -- : BFD_RELOC_PPC_DTPREL
  3637. -- : BFD_RELOC_PPC_GOT_TLSGD16
  3638. -- : BFD_RELOC_PPC_GOT_TLSGD16_LO
  3639. -- : BFD_RELOC_PPC_GOT_TLSGD16_HI
  3640. -- : BFD_RELOC_PPC_GOT_TLSGD16_HA
  3641. -- : BFD_RELOC_PPC_GOT_TLSLD16
  3642. -- : BFD_RELOC_PPC_GOT_TLSLD16_LO
  3643. -- : BFD_RELOC_PPC_GOT_TLSLD16_HI
  3644. -- : BFD_RELOC_PPC_GOT_TLSLD16_HA
  3645. -- : BFD_RELOC_PPC_GOT_TPREL16
  3646. -- : BFD_RELOC_PPC_GOT_TPREL16_LO
  3647. -- : BFD_RELOC_PPC_GOT_TPREL16_HI
  3648. -- : BFD_RELOC_PPC_GOT_TPREL16_HA
  3649. -- : BFD_RELOC_PPC_GOT_DTPREL16
  3650. -- : BFD_RELOC_PPC_GOT_DTPREL16_LO
  3651. -- : BFD_RELOC_PPC_GOT_DTPREL16_HI
  3652. -- : BFD_RELOC_PPC_GOT_DTPREL16_HA
  3653. -- : BFD_RELOC_PPC64_TPREL16_DS
  3654. -- : BFD_RELOC_PPC64_TPREL16_LO_DS
  3655. -- : BFD_RELOC_PPC64_TPREL16_HIGH
  3656. -- : BFD_RELOC_PPC64_TPREL16_HIGHA
  3657. -- : BFD_RELOC_PPC64_TPREL16_HIGHER
  3658. -- : BFD_RELOC_PPC64_TPREL16_HIGHERA
  3659. -- : BFD_RELOC_PPC64_TPREL16_HIGHEST
  3660. -- : BFD_RELOC_PPC64_TPREL16_HIGHESTA
  3661. -- : BFD_RELOC_PPC64_DTPREL16_DS
  3662. -- : BFD_RELOC_PPC64_DTPREL16_LO_DS
  3663. -- : BFD_RELOC_PPC64_DTPREL16_HIGH
  3664. -- : BFD_RELOC_PPC64_DTPREL16_HIGHA
  3665. -- : BFD_RELOC_PPC64_DTPREL16_HIGHER
  3666. -- : BFD_RELOC_PPC64_DTPREL16_HIGHERA
  3667. -- : BFD_RELOC_PPC64_DTPREL16_HIGHEST
  3668. -- : BFD_RELOC_PPC64_DTPREL16_HIGHESTA
  3669. -- : BFD_RELOC_PPC64_TPREL34
  3670. -- : BFD_RELOC_PPC64_DTPREL34
  3671. -- : BFD_RELOC_PPC64_GOT_TLSGD34
  3672. -- : BFD_RELOC_PPC64_GOT_TLSLD34
  3673. -- : BFD_RELOC_PPC64_GOT_TPREL34
  3674. -- : BFD_RELOC_PPC64_GOT_DTPREL34
  3675. -- : BFD_RELOC_PPC64_TLS_PCREL
  3676. PowerPC and PowerPC64 thread-local storage relocations.
  3677. -- : BFD_RELOC_I370_D12
  3678. IBM 370/390 relocations
  3679. -- : BFD_RELOC_CTOR
  3680. The type of reloc used to build a constructor table - at the moment
  3681. probably a 32 bit wide absolute relocation, but the target can
  3682. choose. It generally does map to one of the other relocation
  3683. types.
  3684. -- : BFD_RELOC_ARM_PCREL_BRANCH
  3685. ARM 26 bit pc-relative branch. The lowest two bits must be zero
  3686. and are not stored in the instruction.
  3687. -- : BFD_RELOC_ARM_PCREL_BLX
  3688. ARM 26 bit pc-relative branch. The lowest bit must be zero and is
  3689. not stored in the instruction. The 2nd lowest bit comes from a 1
  3690. bit field in the instruction.
  3691. -- : BFD_RELOC_THUMB_PCREL_BLX
  3692. Thumb 22 bit pc-relative branch. The lowest bit must be zero and
  3693. is not stored in the instruction. The 2nd lowest bit comes from a
  3694. 1 bit field in the instruction.
  3695. -- : BFD_RELOC_ARM_PCREL_CALL
  3696. ARM 26-bit pc-relative branch for an unconditional BL or BLX
  3697. instruction.
  3698. -- : BFD_RELOC_ARM_PCREL_JUMP
  3699. ARM 26-bit pc-relative branch for B or conditional BL instruction.
  3700. -- : BFD_RELOC_THUMB_PCREL_BRANCH5
  3701. ARM 5-bit pc-relative branch for Branch Future instructions.
  3702. -- : BFD_RELOC_THUMB_PCREL_BFCSEL
  3703. ARM 6-bit pc-relative branch for BFCSEL instruction.
  3704. -- : BFD_RELOC_ARM_THUMB_BF17
  3705. ARM 17-bit pc-relative branch for Branch Future instructions.
  3706. -- : BFD_RELOC_ARM_THUMB_BF13
  3707. ARM 13-bit pc-relative branch for BFCSEL instruction.
  3708. -- : BFD_RELOC_ARM_THUMB_BF19
  3709. ARM 19-bit pc-relative branch for Branch Future Link instruction.
  3710. -- : BFD_RELOC_ARM_THUMB_LOOP12
  3711. ARM 12-bit pc-relative branch for Low Overhead Loop instructions.
  3712. -- : BFD_RELOC_THUMB_PCREL_BRANCH7
  3713. -- : BFD_RELOC_THUMB_PCREL_BRANCH9
  3714. -- : BFD_RELOC_THUMB_PCREL_BRANCH12
  3715. -- : BFD_RELOC_THUMB_PCREL_BRANCH20
  3716. -- : BFD_RELOC_THUMB_PCREL_BRANCH23
  3717. -- : BFD_RELOC_THUMB_PCREL_BRANCH25
  3718. Thumb 7-, 9-, 12-, 20-, 23-, and 25-bit pc-relative branches. The
  3719. lowest bit must be zero and is not stored in the instruction. Note
  3720. that the corresponding ELF R_ARM_THM_JUMPnn constant has an "nn"
  3721. one smaller in all cases. Note further that BRANCH23 corresponds
  3722. to R_ARM_THM_CALL.
  3723. -- : BFD_RELOC_ARM_OFFSET_IMM
  3724. 12-bit immediate offset, used in ARM-format ldr and str
  3725. instructions.
  3726. -- : BFD_RELOC_ARM_THUMB_OFFSET
  3727. 5-bit immediate offset, used in Thumb-format ldr and str
  3728. instructions.
  3729. -- : BFD_RELOC_ARM_TARGET1
  3730. Pc-relative or absolute relocation depending on target. Used for
  3731. entries in .init_array sections.
  3732. -- : BFD_RELOC_ARM_ROSEGREL32
  3733. Read-only segment base relative address.
  3734. -- : BFD_RELOC_ARM_SBREL32
  3735. Data segment base relative address.
  3736. -- : BFD_RELOC_ARM_TARGET2
  3737. This reloc is used for references to RTTI data from exception
  3738. handling tables. The actual definition depends on the target. It
  3739. may be a pc-relative or some form of GOT-indirect relocation.
  3740. -- : BFD_RELOC_ARM_PREL31
  3741. 31-bit PC relative address.
  3742. -- : BFD_RELOC_ARM_MOVW
  3743. -- : BFD_RELOC_ARM_MOVT
  3744. -- : BFD_RELOC_ARM_MOVW_PCREL
  3745. -- : BFD_RELOC_ARM_MOVT_PCREL
  3746. -- : BFD_RELOC_ARM_THUMB_MOVW
  3747. -- : BFD_RELOC_ARM_THUMB_MOVT
  3748. -- : BFD_RELOC_ARM_THUMB_MOVW_PCREL
  3749. -- : BFD_RELOC_ARM_THUMB_MOVT_PCREL
  3750. Low and High halfword relocations for MOVW and MOVT instructions.
  3751. -- : BFD_RELOC_ARM_GOTFUNCDESC
  3752. -- : BFD_RELOC_ARM_GOTOFFFUNCDESC
  3753. -- : BFD_RELOC_ARM_FUNCDESC
  3754. -- : BFD_RELOC_ARM_FUNCDESC_VALUE
  3755. -- : BFD_RELOC_ARM_TLS_GD32_FDPIC
  3756. -- : BFD_RELOC_ARM_TLS_LDM32_FDPIC
  3757. -- : BFD_RELOC_ARM_TLS_IE32_FDPIC
  3758. ARM FDPIC specific relocations.
  3759. -- : BFD_RELOC_ARM_JUMP_SLOT
  3760. -- : BFD_RELOC_ARM_GLOB_DAT
  3761. -- : BFD_RELOC_ARM_GOT32
  3762. -- : BFD_RELOC_ARM_PLT32
  3763. -- : BFD_RELOC_ARM_RELATIVE
  3764. -- : BFD_RELOC_ARM_GOTOFF
  3765. -- : BFD_RELOC_ARM_GOTPC
  3766. -- : BFD_RELOC_ARM_GOT_PREL
  3767. Relocations for setting up GOTs and PLTs for shared libraries.
  3768. -- : BFD_RELOC_ARM_TLS_GD32
  3769. -- : BFD_RELOC_ARM_TLS_LDO32
  3770. -- : BFD_RELOC_ARM_TLS_LDM32
  3771. -- : BFD_RELOC_ARM_TLS_DTPOFF32
  3772. -- : BFD_RELOC_ARM_TLS_DTPMOD32
  3773. -- : BFD_RELOC_ARM_TLS_TPOFF32
  3774. -- : BFD_RELOC_ARM_TLS_IE32
  3775. -- : BFD_RELOC_ARM_TLS_LE32
  3776. -- : BFD_RELOC_ARM_TLS_GOTDESC
  3777. -- : BFD_RELOC_ARM_TLS_CALL
  3778. -- : BFD_RELOC_ARM_THM_TLS_CALL
  3779. -- : BFD_RELOC_ARM_TLS_DESCSEQ
  3780. -- : BFD_RELOC_ARM_THM_TLS_DESCSEQ
  3781. -- : BFD_RELOC_ARM_TLS_DESC
  3782. ARM thread-local storage relocations.
  3783. -- : BFD_RELOC_ARM_ALU_PC_G0_NC
  3784. -- : BFD_RELOC_ARM_ALU_PC_G0
  3785. -- : BFD_RELOC_ARM_ALU_PC_G1_NC
  3786. -- : BFD_RELOC_ARM_ALU_PC_G1
  3787. -- : BFD_RELOC_ARM_ALU_PC_G2
  3788. -- : BFD_RELOC_ARM_LDR_PC_G0
  3789. -- : BFD_RELOC_ARM_LDR_PC_G1
  3790. -- : BFD_RELOC_ARM_LDR_PC_G2
  3791. -- : BFD_RELOC_ARM_LDRS_PC_G0
  3792. -- : BFD_RELOC_ARM_LDRS_PC_G1
  3793. -- : BFD_RELOC_ARM_LDRS_PC_G2
  3794. -- : BFD_RELOC_ARM_LDC_PC_G0
  3795. -- : BFD_RELOC_ARM_LDC_PC_G1
  3796. -- : BFD_RELOC_ARM_LDC_PC_G2
  3797. -- : BFD_RELOC_ARM_ALU_SB_G0_NC
  3798. -- : BFD_RELOC_ARM_ALU_SB_G0
  3799. -- : BFD_RELOC_ARM_ALU_SB_G1_NC
  3800. -- : BFD_RELOC_ARM_ALU_SB_G1
  3801. -- : BFD_RELOC_ARM_ALU_SB_G2
  3802. -- : BFD_RELOC_ARM_LDR_SB_G0
  3803. -- : BFD_RELOC_ARM_LDR_SB_G1
  3804. -- : BFD_RELOC_ARM_LDR_SB_G2
  3805. -- : BFD_RELOC_ARM_LDRS_SB_G0
  3806. -- : BFD_RELOC_ARM_LDRS_SB_G1
  3807. -- : BFD_RELOC_ARM_LDRS_SB_G2
  3808. -- : BFD_RELOC_ARM_LDC_SB_G0
  3809. -- : BFD_RELOC_ARM_LDC_SB_G1
  3810. -- : BFD_RELOC_ARM_LDC_SB_G2
  3811. ARM group relocations.
  3812. -- : BFD_RELOC_ARM_V4BX
  3813. Annotation of BX instructions.
  3814. -- : BFD_RELOC_ARM_IRELATIVE
  3815. ARM support for STT_GNU_IFUNC.
  3816. -- : BFD_RELOC_ARM_THUMB_ALU_ABS_G0_NC
  3817. -- : BFD_RELOC_ARM_THUMB_ALU_ABS_G1_NC
  3818. -- : BFD_RELOC_ARM_THUMB_ALU_ABS_G2_NC
  3819. -- : BFD_RELOC_ARM_THUMB_ALU_ABS_G3_NC
  3820. Thumb1 relocations to support execute-only code.
  3821. -- : BFD_RELOC_ARM_IMMEDIATE
  3822. -- : BFD_RELOC_ARM_ADRL_IMMEDIATE
  3823. -- : BFD_RELOC_ARM_T32_IMMEDIATE
  3824. -- : BFD_RELOC_ARM_T32_ADD_IMM
  3825. -- : BFD_RELOC_ARM_T32_IMM12
  3826. -- : BFD_RELOC_ARM_T32_ADD_PC12
  3827. -- : BFD_RELOC_ARM_SHIFT_IMM
  3828. -- : BFD_RELOC_ARM_SMC
  3829. -- : BFD_RELOC_ARM_HVC
  3830. -- : BFD_RELOC_ARM_SWI
  3831. -- : BFD_RELOC_ARM_MULTI
  3832. -- : BFD_RELOC_ARM_CP_OFF_IMM
  3833. -- : BFD_RELOC_ARM_CP_OFF_IMM_S2
  3834. -- : BFD_RELOC_ARM_T32_CP_OFF_IMM
  3835. -- : BFD_RELOC_ARM_T32_CP_OFF_IMM_S2
  3836. -- : BFD_RELOC_ARM_T32_VLDR_VSTR_OFF_IMM
  3837. -- : BFD_RELOC_ARM_ADR_IMM
  3838. -- : BFD_RELOC_ARM_LDR_IMM
  3839. -- : BFD_RELOC_ARM_LITERAL
  3840. -- : BFD_RELOC_ARM_IN_POOL
  3841. -- : BFD_RELOC_ARM_OFFSET_IMM8
  3842. -- : BFD_RELOC_ARM_T32_OFFSET_U8
  3843. -- : BFD_RELOC_ARM_T32_OFFSET_IMM
  3844. -- : BFD_RELOC_ARM_HWLITERAL
  3845. -- : BFD_RELOC_ARM_THUMB_ADD
  3846. -- : BFD_RELOC_ARM_THUMB_IMM
  3847. -- : BFD_RELOC_ARM_THUMB_SHIFT
  3848. These relocs are only used within the ARM assembler. They are not
  3849. (at present) written to any object files.
  3850. -- : BFD_RELOC_SH_PCDISP8BY2
  3851. -- : BFD_RELOC_SH_PCDISP12BY2
  3852. -- : BFD_RELOC_SH_IMM3
  3853. -- : BFD_RELOC_SH_IMM3U
  3854. -- : BFD_RELOC_SH_DISP12
  3855. -- : BFD_RELOC_SH_DISP12BY2
  3856. -- : BFD_RELOC_SH_DISP12BY4
  3857. -- : BFD_RELOC_SH_DISP12BY8
  3858. -- : BFD_RELOC_SH_DISP20
  3859. -- : BFD_RELOC_SH_DISP20BY8
  3860. -- : BFD_RELOC_SH_IMM4
  3861. -- : BFD_RELOC_SH_IMM4BY2
  3862. -- : BFD_RELOC_SH_IMM4BY4
  3863. -- : BFD_RELOC_SH_IMM8
  3864. -- : BFD_RELOC_SH_IMM8BY2
  3865. -- : BFD_RELOC_SH_IMM8BY4
  3866. -- : BFD_RELOC_SH_PCRELIMM8BY2
  3867. -- : BFD_RELOC_SH_PCRELIMM8BY4
  3868. -- : BFD_RELOC_SH_SWITCH16
  3869. -- : BFD_RELOC_SH_SWITCH32
  3870. -- : BFD_RELOC_SH_USES
  3871. -- : BFD_RELOC_SH_COUNT
  3872. -- : BFD_RELOC_SH_ALIGN
  3873. -- : BFD_RELOC_SH_CODE
  3874. -- : BFD_RELOC_SH_DATA
  3875. -- : BFD_RELOC_SH_LABEL
  3876. -- : BFD_RELOC_SH_LOOP_START
  3877. -- : BFD_RELOC_SH_LOOP_END
  3878. -- : BFD_RELOC_SH_COPY
  3879. -- : BFD_RELOC_SH_GLOB_DAT
  3880. -- : BFD_RELOC_SH_JMP_SLOT
  3881. -- : BFD_RELOC_SH_RELATIVE
  3882. -- : BFD_RELOC_SH_GOTPC
  3883. -- : BFD_RELOC_SH_GOT_LOW16
  3884. -- : BFD_RELOC_SH_GOT_MEDLOW16
  3885. -- : BFD_RELOC_SH_GOT_MEDHI16
  3886. -- : BFD_RELOC_SH_GOT_HI16
  3887. -- : BFD_RELOC_SH_GOTPLT_LOW16
  3888. -- : BFD_RELOC_SH_GOTPLT_MEDLOW16
  3889. -- : BFD_RELOC_SH_GOTPLT_MEDHI16
  3890. -- : BFD_RELOC_SH_GOTPLT_HI16
  3891. -- : BFD_RELOC_SH_PLT_LOW16
  3892. -- : BFD_RELOC_SH_PLT_MEDLOW16
  3893. -- : BFD_RELOC_SH_PLT_MEDHI16
  3894. -- : BFD_RELOC_SH_PLT_HI16
  3895. -- : BFD_RELOC_SH_GOTOFF_LOW16
  3896. -- : BFD_RELOC_SH_GOTOFF_MEDLOW16
  3897. -- : BFD_RELOC_SH_GOTOFF_MEDHI16
  3898. -- : BFD_RELOC_SH_GOTOFF_HI16
  3899. -- : BFD_RELOC_SH_GOTPC_LOW16
  3900. -- : BFD_RELOC_SH_GOTPC_MEDLOW16
  3901. -- : BFD_RELOC_SH_GOTPC_MEDHI16
  3902. -- : BFD_RELOC_SH_GOTPC_HI16
  3903. -- : BFD_RELOC_SH_COPY64
  3904. -- : BFD_RELOC_SH_GLOB_DAT64
  3905. -- : BFD_RELOC_SH_JMP_SLOT64
  3906. -- : BFD_RELOC_SH_RELATIVE64
  3907. -- : BFD_RELOC_SH_GOT10BY4
  3908. -- : BFD_RELOC_SH_GOT10BY8
  3909. -- : BFD_RELOC_SH_GOTPLT10BY4
  3910. -- : BFD_RELOC_SH_GOTPLT10BY8
  3911. -- : BFD_RELOC_SH_GOTPLT32
  3912. -- : BFD_RELOC_SH_SHMEDIA_CODE
  3913. -- : BFD_RELOC_SH_IMMU5
  3914. -- : BFD_RELOC_SH_IMMS6
  3915. -- : BFD_RELOC_SH_IMMS6BY32
  3916. -- : BFD_RELOC_SH_IMMU6
  3917. -- : BFD_RELOC_SH_IMMS10
  3918. -- : BFD_RELOC_SH_IMMS10BY2
  3919. -- : BFD_RELOC_SH_IMMS10BY4
  3920. -- : BFD_RELOC_SH_IMMS10BY8
  3921. -- : BFD_RELOC_SH_IMMS16
  3922. -- : BFD_RELOC_SH_IMMU16
  3923. -- : BFD_RELOC_SH_IMM_LOW16
  3924. -- : BFD_RELOC_SH_IMM_LOW16_PCREL
  3925. -- : BFD_RELOC_SH_IMM_MEDLOW16
  3926. -- : BFD_RELOC_SH_IMM_MEDLOW16_PCREL
  3927. -- : BFD_RELOC_SH_IMM_MEDHI16
  3928. -- : BFD_RELOC_SH_IMM_MEDHI16_PCREL
  3929. -- : BFD_RELOC_SH_IMM_HI16
  3930. -- : BFD_RELOC_SH_IMM_HI16_PCREL
  3931. -- : BFD_RELOC_SH_PT_16
  3932. -- : BFD_RELOC_SH_TLS_GD_32
  3933. -- : BFD_RELOC_SH_TLS_LD_32
  3934. -- : BFD_RELOC_SH_TLS_LDO_32
  3935. -- : BFD_RELOC_SH_TLS_IE_32
  3936. -- : BFD_RELOC_SH_TLS_LE_32
  3937. -- : BFD_RELOC_SH_TLS_DTPMOD32
  3938. -- : BFD_RELOC_SH_TLS_DTPOFF32
  3939. -- : BFD_RELOC_SH_TLS_TPOFF32
  3940. -- : BFD_RELOC_SH_GOT20
  3941. -- : BFD_RELOC_SH_GOTOFF20
  3942. -- : BFD_RELOC_SH_GOTFUNCDESC
  3943. -- : BFD_RELOC_SH_GOTFUNCDESC20
  3944. -- : BFD_RELOC_SH_GOTOFFFUNCDESC
  3945. -- : BFD_RELOC_SH_GOTOFFFUNCDESC20
  3946. -- : BFD_RELOC_SH_FUNCDESC
  3947. Renesas / SuperH SH relocs. Not all of these appear in object
  3948. files.
  3949. -- : BFD_RELOC_ARC_NONE
  3950. -- : BFD_RELOC_ARC_8
  3951. -- : BFD_RELOC_ARC_16
  3952. -- : BFD_RELOC_ARC_24
  3953. -- : BFD_RELOC_ARC_32
  3954. -- : BFD_RELOC_ARC_N8
  3955. -- : BFD_RELOC_ARC_N16
  3956. -- : BFD_RELOC_ARC_N24
  3957. -- : BFD_RELOC_ARC_N32
  3958. -- : BFD_RELOC_ARC_SDA
  3959. -- : BFD_RELOC_ARC_SECTOFF
  3960. -- : BFD_RELOC_ARC_S21H_PCREL
  3961. -- : BFD_RELOC_ARC_S21W_PCREL
  3962. -- : BFD_RELOC_ARC_S25H_PCREL
  3963. -- : BFD_RELOC_ARC_S25W_PCREL
  3964. -- : BFD_RELOC_ARC_SDA32
  3965. -- : BFD_RELOC_ARC_SDA_LDST
  3966. -- : BFD_RELOC_ARC_SDA_LDST1
  3967. -- : BFD_RELOC_ARC_SDA_LDST2
  3968. -- : BFD_RELOC_ARC_SDA16_LD
  3969. -- : BFD_RELOC_ARC_SDA16_LD1
  3970. -- : BFD_RELOC_ARC_SDA16_LD2
  3971. -- : BFD_RELOC_ARC_S13_PCREL
  3972. -- : BFD_RELOC_ARC_W
  3973. -- : BFD_RELOC_ARC_32_ME
  3974. -- : BFD_RELOC_ARC_32_ME_S
  3975. -- : BFD_RELOC_ARC_N32_ME
  3976. -- : BFD_RELOC_ARC_SECTOFF_ME
  3977. -- : BFD_RELOC_ARC_SDA32_ME
  3978. -- : BFD_RELOC_ARC_W_ME
  3979. -- : BFD_RELOC_AC_SECTOFF_U8
  3980. -- : BFD_RELOC_AC_SECTOFF_U8_1
  3981. -- : BFD_RELOC_AC_SECTOFF_U8_2
  3982. -- : BFD_RELOC_AC_SECTOFF_S9
  3983. -- : BFD_RELOC_AC_SECTOFF_S9_1
  3984. -- : BFD_RELOC_AC_SECTOFF_S9_2
  3985. -- : BFD_RELOC_ARC_SECTOFF_ME_1
  3986. -- : BFD_RELOC_ARC_SECTOFF_ME_2
  3987. -- : BFD_RELOC_ARC_SECTOFF_1
  3988. -- : BFD_RELOC_ARC_SECTOFF_2
  3989. -- : BFD_RELOC_ARC_SDA_12
  3990. -- : BFD_RELOC_ARC_SDA16_ST2
  3991. -- : BFD_RELOC_ARC_32_PCREL
  3992. -- : BFD_RELOC_ARC_PC32
  3993. -- : BFD_RELOC_ARC_GOT32
  3994. -- : BFD_RELOC_ARC_GOTPC32
  3995. -- : BFD_RELOC_ARC_PLT32
  3996. -- : BFD_RELOC_ARC_COPY
  3997. -- : BFD_RELOC_ARC_GLOB_DAT
  3998. -- : BFD_RELOC_ARC_JMP_SLOT
  3999. -- : BFD_RELOC_ARC_RELATIVE
  4000. -- : BFD_RELOC_ARC_GOTOFF
  4001. -- : BFD_RELOC_ARC_GOTPC
  4002. -- : BFD_RELOC_ARC_S21W_PCREL_PLT
  4003. -- : BFD_RELOC_ARC_S25H_PCREL_PLT
  4004. -- : BFD_RELOC_ARC_TLS_DTPMOD
  4005. -- : BFD_RELOC_ARC_TLS_TPOFF
  4006. -- : BFD_RELOC_ARC_TLS_GD_GOT
  4007. -- : BFD_RELOC_ARC_TLS_GD_LD
  4008. -- : BFD_RELOC_ARC_TLS_GD_CALL
  4009. -- : BFD_RELOC_ARC_TLS_IE_GOT
  4010. -- : BFD_RELOC_ARC_TLS_DTPOFF
  4011. -- : BFD_RELOC_ARC_TLS_DTPOFF_S9
  4012. -- : BFD_RELOC_ARC_TLS_LE_S9
  4013. -- : BFD_RELOC_ARC_TLS_LE_32
  4014. -- : BFD_RELOC_ARC_S25W_PCREL_PLT
  4015. -- : BFD_RELOC_ARC_S21H_PCREL_PLT
  4016. -- : BFD_RELOC_ARC_NPS_CMEM16
  4017. -- : BFD_RELOC_ARC_JLI_SECTOFF
  4018. ARC relocs.
  4019. -- : BFD_RELOC_BFIN_16_IMM
  4020. ADI Blackfin 16 bit immediate absolute reloc.
  4021. -- : BFD_RELOC_BFIN_16_HIGH
  4022. ADI Blackfin 16 bit immediate absolute reloc higher 16 bits.
  4023. -- : BFD_RELOC_BFIN_4_PCREL
  4024. ADI Blackfin 'a' part of LSETUP.
  4025. -- : BFD_RELOC_BFIN_5_PCREL
  4026. ADI Blackfin.
  4027. -- : BFD_RELOC_BFIN_16_LOW
  4028. ADI Blackfin 16 bit immediate absolute reloc lower 16 bits.
  4029. -- : BFD_RELOC_BFIN_10_PCREL
  4030. ADI Blackfin.
  4031. -- : BFD_RELOC_BFIN_11_PCREL
  4032. ADI Blackfin 'b' part of LSETUP.
  4033. -- : BFD_RELOC_BFIN_12_PCREL_JUMP
  4034. ADI Blackfin.
  4035. -- : BFD_RELOC_BFIN_12_PCREL_JUMP_S
  4036. ADI Blackfin Short jump, pcrel.
  4037. -- : BFD_RELOC_BFIN_24_PCREL_CALL_X
  4038. ADI Blackfin Call.x not implemented.
  4039. -- : BFD_RELOC_BFIN_24_PCREL_JUMP_L
  4040. ADI Blackfin Long Jump pcrel.
  4041. -- : BFD_RELOC_BFIN_GOT17M4
  4042. -- : BFD_RELOC_BFIN_GOTHI
  4043. -- : BFD_RELOC_BFIN_GOTLO
  4044. -- : BFD_RELOC_BFIN_FUNCDESC
  4045. -- : BFD_RELOC_BFIN_FUNCDESC_GOT17M4
  4046. -- : BFD_RELOC_BFIN_FUNCDESC_GOTHI
  4047. -- : BFD_RELOC_BFIN_FUNCDESC_GOTLO
  4048. -- : BFD_RELOC_BFIN_FUNCDESC_VALUE
  4049. -- : BFD_RELOC_BFIN_FUNCDESC_GOTOFF17M4
  4050. -- : BFD_RELOC_BFIN_FUNCDESC_GOTOFFHI
  4051. -- : BFD_RELOC_BFIN_FUNCDESC_GOTOFFLO
  4052. -- : BFD_RELOC_BFIN_GOTOFF17M4
  4053. -- : BFD_RELOC_BFIN_GOTOFFHI
  4054. -- : BFD_RELOC_BFIN_GOTOFFLO
  4055. ADI Blackfin FD-PIC relocations.
  4056. -- : BFD_RELOC_BFIN_GOT
  4057. ADI Blackfin GOT relocation.
  4058. -- : BFD_RELOC_BFIN_PLTPC
  4059. ADI Blackfin PLTPC relocation.
  4060. -- : BFD_ARELOC_BFIN_PUSH
  4061. ADI Blackfin arithmetic relocation.
  4062. -- : BFD_ARELOC_BFIN_CONST
  4063. ADI Blackfin arithmetic relocation.
  4064. -- : BFD_ARELOC_BFIN_ADD
  4065. ADI Blackfin arithmetic relocation.
  4066. -- : BFD_ARELOC_BFIN_SUB
  4067. ADI Blackfin arithmetic relocation.
  4068. -- : BFD_ARELOC_BFIN_MULT
  4069. ADI Blackfin arithmetic relocation.
  4070. -- : BFD_ARELOC_BFIN_DIV
  4071. ADI Blackfin arithmetic relocation.
  4072. -- : BFD_ARELOC_BFIN_MOD
  4073. ADI Blackfin arithmetic relocation.
  4074. -- : BFD_ARELOC_BFIN_LSHIFT
  4075. ADI Blackfin arithmetic relocation.
  4076. -- : BFD_ARELOC_BFIN_RSHIFT
  4077. ADI Blackfin arithmetic relocation.
  4078. -- : BFD_ARELOC_BFIN_AND
  4079. ADI Blackfin arithmetic relocation.
  4080. -- : BFD_ARELOC_BFIN_OR
  4081. ADI Blackfin arithmetic relocation.
  4082. -- : BFD_ARELOC_BFIN_XOR
  4083. ADI Blackfin arithmetic relocation.
  4084. -- : BFD_ARELOC_BFIN_LAND
  4085. ADI Blackfin arithmetic relocation.
  4086. -- : BFD_ARELOC_BFIN_LOR
  4087. ADI Blackfin arithmetic relocation.
  4088. -- : BFD_ARELOC_BFIN_LEN
  4089. ADI Blackfin arithmetic relocation.
  4090. -- : BFD_ARELOC_BFIN_NEG
  4091. ADI Blackfin arithmetic relocation.
  4092. -- : BFD_ARELOC_BFIN_COMP
  4093. ADI Blackfin arithmetic relocation.
  4094. -- : BFD_ARELOC_BFIN_PAGE
  4095. ADI Blackfin arithmetic relocation.
  4096. -- : BFD_ARELOC_BFIN_HWPAGE
  4097. ADI Blackfin arithmetic relocation.
  4098. -- : BFD_ARELOC_BFIN_ADDR
  4099. ADI Blackfin arithmetic relocation.
  4100. -- : BFD_RELOC_D10V_10_PCREL_R
  4101. Mitsubishi D10V relocs. This is a 10-bit reloc with the right 2
  4102. bits assumed to be 0.
  4103. -- : BFD_RELOC_D10V_10_PCREL_L
  4104. Mitsubishi D10V relocs. This is a 10-bit reloc with the right 2
  4105. bits assumed to be 0. This is the same as the previous reloc
  4106. except it is in the left container, i.e., shifted left 15 bits.
  4107. -- : BFD_RELOC_D10V_18
  4108. This is an 18-bit reloc with the right 2 bits assumed to be 0.
  4109. -- : BFD_RELOC_D10V_18_PCREL
  4110. This is an 18-bit reloc with the right 2 bits assumed to be 0.
  4111. -- : BFD_RELOC_D30V_6
  4112. Mitsubishi D30V relocs. This is a 6-bit absolute reloc.
  4113. -- : BFD_RELOC_D30V_9_PCREL
  4114. This is a 6-bit pc-relative reloc with the right 3 bits assumed to
  4115. be 0.
  4116. -- : BFD_RELOC_D30V_9_PCREL_R
  4117. This is a 6-bit pc-relative reloc with the right 3 bits assumed to
  4118. be 0. Same as the previous reloc but on the right side of the
  4119. container.
  4120. -- : BFD_RELOC_D30V_15
  4121. This is a 12-bit absolute reloc with the right 3 bitsassumed to be
  4122. 0.
  4123. -- : BFD_RELOC_D30V_15_PCREL
  4124. This is a 12-bit pc-relative reloc with the right 3 bits assumed to
  4125. be 0.
  4126. -- : BFD_RELOC_D30V_15_PCREL_R
  4127. This is a 12-bit pc-relative reloc with the right 3 bits assumed to
  4128. be 0. Same as the previous reloc but on the right side of the
  4129. container.
  4130. -- : BFD_RELOC_D30V_21
  4131. This is an 18-bit absolute reloc with the right 3 bits assumed to
  4132. be 0.
  4133. -- : BFD_RELOC_D30V_21_PCREL
  4134. This is an 18-bit pc-relative reloc with the right 3 bits assumed
  4135. to be 0.
  4136. -- : BFD_RELOC_D30V_21_PCREL_R
  4137. This is an 18-bit pc-relative reloc with the right 3 bits assumed
  4138. to be 0. Same as the previous reloc but on the right side of the
  4139. container.
  4140. -- : BFD_RELOC_D30V_32
  4141. This is a 32-bit absolute reloc.
  4142. -- : BFD_RELOC_D30V_32_PCREL
  4143. This is a 32-bit pc-relative reloc.
  4144. -- : BFD_RELOC_DLX_HI16_S
  4145. DLX relocs
  4146. -- : BFD_RELOC_DLX_LO16
  4147. DLX relocs
  4148. -- : BFD_RELOC_DLX_JMP26
  4149. DLX relocs
  4150. -- : BFD_RELOC_M32C_HI8
  4151. -- : BFD_RELOC_M32C_RL_JUMP
  4152. -- : BFD_RELOC_M32C_RL_1ADDR
  4153. -- : BFD_RELOC_M32C_RL_2ADDR
  4154. Renesas M16C/M32C Relocations.
  4155. -- : BFD_RELOC_M32R_24
  4156. Renesas M32R (formerly Mitsubishi M32R) relocs. This is a 24 bit
  4157. absolute address.
  4158. -- : BFD_RELOC_M32R_10_PCREL
  4159. This is a 10-bit pc-relative reloc with the right 2 bits assumed to
  4160. be 0.
  4161. -- : BFD_RELOC_M32R_18_PCREL
  4162. This is an 18-bit reloc with the right 2 bits assumed to be 0.
  4163. -- : BFD_RELOC_M32R_26_PCREL
  4164. This is a 26-bit reloc with the right 2 bits assumed to be 0.
  4165. -- : BFD_RELOC_M32R_HI16_ULO
  4166. This is a 16-bit reloc containing the high 16 bits of an address
  4167. used when the lower 16 bits are treated as unsigned.
  4168. -- : BFD_RELOC_M32R_HI16_SLO
  4169. This is a 16-bit reloc containing the high 16 bits of an address
  4170. used when the lower 16 bits are treated as signed.
  4171. -- : BFD_RELOC_M32R_LO16
  4172. This is a 16-bit reloc containing the lower 16 bits of an address.
  4173. -- : BFD_RELOC_M32R_SDA16
  4174. This is a 16-bit reloc containing the small data area offset for
  4175. use in add3, load, and store instructions.
  4176. -- : BFD_RELOC_M32R_GOT24
  4177. -- : BFD_RELOC_M32R_26_PLTREL
  4178. -- : BFD_RELOC_M32R_COPY
  4179. -- : BFD_RELOC_M32R_GLOB_DAT
  4180. -- : BFD_RELOC_M32R_JMP_SLOT
  4181. -- : BFD_RELOC_M32R_RELATIVE
  4182. -- : BFD_RELOC_M32R_GOTOFF
  4183. -- : BFD_RELOC_M32R_GOTOFF_HI_ULO
  4184. -- : BFD_RELOC_M32R_GOTOFF_HI_SLO
  4185. -- : BFD_RELOC_M32R_GOTOFF_LO
  4186. -- : BFD_RELOC_M32R_GOTPC24
  4187. -- : BFD_RELOC_M32R_GOT16_HI_ULO
  4188. -- : BFD_RELOC_M32R_GOT16_HI_SLO
  4189. -- : BFD_RELOC_M32R_GOT16_LO
  4190. -- : BFD_RELOC_M32R_GOTPC_HI_ULO
  4191. -- : BFD_RELOC_M32R_GOTPC_HI_SLO
  4192. -- : BFD_RELOC_M32R_GOTPC_LO
  4193. For PIC.
  4194. -- : BFD_RELOC_NDS32_20
  4195. NDS32 relocs. This is a 20 bit absolute address.
  4196. -- : BFD_RELOC_NDS32_9_PCREL
  4197. This is a 9-bit pc-relative reloc with the right 1 bit assumed to
  4198. be 0.
  4199. -- : BFD_RELOC_NDS32_WORD_9_PCREL
  4200. This is a 9-bit pc-relative reloc with the right 1 bit assumed to
  4201. be 0.
  4202. -- : BFD_RELOC_NDS32_15_PCREL
  4203. This is an 15-bit reloc with the right 1 bit assumed to be 0.
  4204. -- : BFD_RELOC_NDS32_17_PCREL
  4205. This is an 17-bit reloc with the right 1 bit assumed to be 0.
  4206. -- : BFD_RELOC_NDS32_25_PCREL
  4207. This is a 25-bit reloc with the right 1 bit assumed to be 0.
  4208. -- : BFD_RELOC_NDS32_HI20
  4209. This is a 20-bit reloc containing the high 20 bits of an address
  4210. used with the lower 12 bits
  4211. -- : BFD_RELOC_NDS32_LO12S3
  4212. This is a 12-bit reloc containing the lower 12 bits of an address
  4213. then shift right by 3. This is used with ldi,sdi...
  4214. -- : BFD_RELOC_NDS32_LO12S2
  4215. This is a 12-bit reloc containing the lower 12 bits of an address
  4216. then shift left by 2. This is used with lwi,swi...
  4217. -- : BFD_RELOC_NDS32_LO12S1
  4218. This is a 12-bit reloc containing the lower 12 bits of an address
  4219. then shift left by 1. This is used with lhi,shi...
  4220. -- : BFD_RELOC_NDS32_LO12S0
  4221. This is a 12-bit reloc containing the lower 12 bits of an address
  4222. then shift left by 0. This is used with lbisbi...
  4223. -- : BFD_RELOC_NDS32_LO12S0_ORI
  4224. This is a 12-bit reloc containing the lower 12 bits of an address
  4225. then shift left by 0. This is only used with branch relaxations
  4226. -- : BFD_RELOC_NDS32_SDA15S3
  4227. This is a 15-bit reloc containing the small data area 18-bit signed
  4228. offset and shift left by 3 for use in ldi, sdi...
  4229. -- : BFD_RELOC_NDS32_SDA15S2
  4230. This is a 15-bit reloc containing the small data area 17-bit signed
  4231. offset and shift left by 2 for use in lwi, swi...
  4232. -- : BFD_RELOC_NDS32_SDA15S1
  4233. This is a 15-bit reloc containing the small data area 16-bit signed
  4234. offset and shift left by 1 for use in lhi, shi...
  4235. -- : BFD_RELOC_NDS32_SDA15S0
  4236. This is a 15-bit reloc containing the small data area 15-bit signed
  4237. offset and shift left by 0 for use in lbi, sbi...
  4238. -- : BFD_RELOC_NDS32_SDA16S3
  4239. This is a 16-bit reloc containing the small data area 16-bit signed
  4240. offset and shift left by 3
  4241. -- : BFD_RELOC_NDS32_SDA17S2
  4242. This is a 17-bit reloc containing the small data area 17-bit signed
  4243. offset and shift left by 2 for use in lwi.gp, swi.gp...
  4244. -- : BFD_RELOC_NDS32_SDA18S1
  4245. This is a 18-bit reloc containing the small data area 18-bit signed
  4246. offset and shift left by 1 for use in lhi.gp, shi.gp...
  4247. -- : BFD_RELOC_NDS32_SDA19S0
  4248. This is a 19-bit reloc containing the small data area 19-bit signed
  4249. offset and shift left by 0 for use in lbi.gp, sbi.gp...
  4250. -- : BFD_RELOC_NDS32_GOT20
  4251. -- : BFD_RELOC_NDS32_9_PLTREL
  4252. -- : BFD_RELOC_NDS32_25_PLTREL
  4253. -- : BFD_RELOC_NDS32_COPY
  4254. -- : BFD_RELOC_NDS32_GLOB_DAT
  4255. -- : BFD_RELOC_NDS32_JMP_SLOT
  4256. -- : BFD_RELOC_NDS32_RELATIVE
  4257. -- : BFD_RELOC_NDS32_GOTOFF
  4258. -- : BFD_RELOC_NDS32_GOTOFF_HI20
  4259. -- : BFD_RELOC_NDS32_GOTOFF_LO12
  4260. -- : BFD_RELOC_NDS32_GOTPC20
  4261. -- : BFD_RELOC_NDS32_GOT_HI20
  4262. -- : BFD_RELOC_NDS32_GOT_LO12
  4263. -- : BFD_RELOC_NDS32_GOTPC_HI20
  4264. -- : BFD_RELOC_NDS32_GOTPC_LO12
  4265. for PIC
  4266. -- : BFD_RELOC_NDS32_INSN16
  4267. -- : BFD_RELOC_NDS32_LABEL
  4268. -- : BFD_RELOC_NDS32_LONGCALL1
  4269. -- : BFD_RELOC_NDS32_LONGCALL2
  4270. -- : BFD_RELOC_NDS32_LONGCALL3
  4271. -- : BFD_RELOC_NDS32_LONGJUMP1
  4272. -- : BFD_RELOC_NDS32_LONGJUMP2
  4273. -- : BFD_RELOC_NDS32_LONGJUMP3
  4274. -- : BFD_RELOC_NDS32_LOADSTORE
  4275. -- : BFD_RELOC_NDS32_9_FIXED
  4276. -- : BFD_RELOC_NDS32_15_FIXED
  4277. -- : BFD_RELOC_NDS32_17_FIXED
  4278. -- : BFD_RELOC_NDS32_25_FIXED
  4279. -- : BFD_RELOC_NDS32_LONGCALL4
  4280. -- : BFD_RELOC_NDS32_LONGCALL5
  4281. -- : BFD_RELOC_NDS32_LONGCALL6
  4282. -- : BFD_RELOC_NDS32_LONGJUMP4
  4283. -- : BFD_RELOC_NDS32_LONGJUMP5
  4284. -- : BFD_RELOC_NDS32_LONGJUMP6
  4285. -- : BFD_RELOC_NDS32_LONGJUMP7
  4286. for relax
  4287. -- : BFD_RELOC_NDS32_PLTREL_HI20
  4288. -- : BFD_RELOC_NDS32_PLTREL_LO12
  4289. -- : BFD_RELOC_NDS32_PLT_GOTREL_HI20
  4290. -- : BFD_RELOC_NDS32_PLT_GOTREL_LO12
  4291. for PIC
  4292. -- : BFD_RELOC_NDS32_SDA12S2_DP
  4293. -- : BFD_RELOC_NDS32_SDA12S2_SP
  4294. -- : BFD_RELOC_NDS32_LO12S2_DP
  4295. -- : BFD_RELOC_NDS32_LO12S2_SP
  4296. for floating point
  4297. -- : BFD_RELOC_NDS32_DWARF2_OP1
  4298. -- : BFD_RELOC_NDS32_DWARF2_OP2
  4299. -- : BFD_RELOC_NDS32_DWARF2_LEB
  4300. for dwarf2 debug_line.
  4301. -- : BFD_RELOC_NDS32_UPDATE_TA
  4302. for eliminate 16-bit instructions
  4303. -- : BFD_RELOC_NDS32_PLT_GOTREL_LO20
  4304. -- : BFD_RELOC_NDS32_PLT_GOTREL_LO15
  4305. -- : BFD_RELOC_NDS32_PLT_GOTREL_LO19
  4306. -- : BFD_RELOC_NDS32_GOT_LO15
  4307. -- : BFD_RELOC_NDS32_GOT_LO19
  4308. -- : BFD_RELOC_NDS32_GOTOFF_LO15
  4309. -- : BFD_RELOC_NDS32_GOTOFF_LO19
  4310. -- : BFD_RELOC_NDS32_GOT15S2
  4311. -- : BFD_RELOC_NDS32_GOT17S2
  4312. for PIC object relaxation
  4313. -- : BFD_RELOC_NDS32_5
  4314. NDS32 relocs. This is a 5 bit absolute address.
  4315. -- : BFD_RELOC_NDS32_10_UPCREL
  4316. This is a 10-bit unsigned pc-relative reloc with the right 1 bit
  4317. assumed to be 0.
  4318. -- : BFD_RELOC_NDS32_SDA_FP7U2_RELA
  4319. If fp were omitted, fp can used as another gp.
  4320. -- : BFD_RELOC_NDS32_RELAX_ENTRY
  4321. -- : BFD_RELOC_NDS32_GOT_SUFF
  4322. -- : BFD_RELOC_NDS32_GOTOFF_SUFF
  4323. -- : BFD_RELOC_NDS32_PLT_GOT_SUFF
  4324. -- : BFD_RELOC_NDS32_MULCALL_SUFF
  4325. -- : BFD_RELOC_NDS32_PTR
  4326. -- : BFD_RELOC_NDS32_PTR_COUNT
  4327. -- : BFD_RELOC_NDS32_PTR_RESOLVED
  4328. -- : BFD_RELOC_NDS32_PLTBLOCK
  4329. -- : BFD_RELOC_NDS32_RELAX_REGION_BEGIN
  4330. -- : BFD_RELOC_NDS32_RELAX_REGION_END
  4331. -- : BFD_RELOC_NDS32_MINUEND
  4332. -- : BFD_RELOC_NDS32_SUBTRAHEND
  4333. -- : BFD_RELOC_NDS32_DIFF8
  4334. -- : BFD_RELOC_NDS32_DIFF16
  4335. -- : BFD_RELOC_NDS32_DIFF32
  4336. -- : BFD_RELOC_NDS32_DIFF_ULEB128
  4337. -- : BFD_RELOC_NDS32_EMPTY
  4338. relaxation relative relocation types
  4339. -- : BFD_RELOC_NDS32_25_ABS
  4340. This is a 25 bit absolute address.
  4341. -- : BFD_RELOC_NDS32_DATA
  4342. -- : BFD_RELOC_NDS32_TRAN
  4343. -- : BFD_RELOC_NDS32_17IFC_PCREL
  4344. -- : BFD_RELOC_NDS32_10IFCU_PCREL
  4345. For ex9 and ifc using.
  4346. -- : BFD_RELOC_NDS32_TPOFF
  4347. -- : BFD_RELOC_NDS32_GOTTPOFF
  4348. -- : BFD_RELOC_NDS32_TLS_LE_HI20
  4349. -- : BFD_RELOC_NDS32_TLS_LE_LO12
  4350. -- : BFD_RELOC_NDS32_TLS_LE_20
  4351. -- : BFD_RELOC_NDS32_TLS_LE_15S0
  4352. -- : BFD_RELOC_NDS32_TLS_LE_15S1
  4353. -- : BFD_RELOC_NDS32_TLS_LE_15S2
  4354. -- : BFD_RELOC_NDS32_TLS_LE_ADD
  4355. -- : BFD_RELOC_NDS32_TLS_LE_LS
  4356. -- : BFD_RELOC_NDS32_TLS_IE_HI20
  4357. -- : BFD_RELOC_NDS32_TLS_IE_LO12
  4358. -- : BFD_RELOC_NDS32_TLS_IE_LO12S2
  4359. -- : BFD_RELOC_NDS32_TLS_IEGP_HI20
  4360. -- : BFD_RELOC_NDS32_TLS_IEGP_LO12
  4361. -- : BFD_RELOC_NDS32_TLS_IEGP_LO12S2
  4362. -- : BFD_RELOC_NDS32_TLS_IEGP_LW
  4363. -- : BFD_RELOC_NDS32_TLS_DESC
  4364. -- : BFD_RELOC_NDS32_TLS_DESC_HI20
  4365. -- : BFD_RELOC_NDS32_TLS_DESC_LO12
  4366. -- : BFD_RELOC_NDS32_TLS_DESC_20
  4367. -- : BFD_RELOC_NDS32_TLS_DESC_SDA17S2
  4368. -- : BFD_RELOC_NDS32_TLS_DESC_ADD
  4369. -- : BFD_RELOC_NDS32_TLS_DESC_FUNC
  4370. -- : BFD_RELOC_NDS32_TLS_DESC_CALL
  4371. -- : BFD_RELOC_NDS32_TLS_DESC_MEM
  4372. -- : BFD_RELOC_NDS32_REMOVE
  4373. -- : BFD_RELOC_NDS32_GROUP
  4374. For TLS.
  4375. -- : BFD_RELOC_NDS32_LSI
  4376. For floating load store relaxation.
  4377. -- : BFD_RELOC_V850_9_PCREL
  4378. This is a 9-bit reloc
  4379. -- : BFD_RELOC_V850_22_PCREL
  4380. This is a 22-bit reloc
  4381. -- : BFD_RELOC_V850_SDA_16_16_OFFSET
  4382. This is a 16 bit offset from the short data area pointer.
  4383. -- : BFD_RELOC_V850_SDA_15_16_OFFSET
  4384. This is a 16 bit offset (of which only 15 bits are used) from the
  4385. short data area pointer.
  4386. -- : BFD_RELOC_V850_ZDA_16_16_OFFSET
  4387. This is a 16 bit offset from the zero data area pointer.
  4388. -- : BFD_RELOC_V850_ZDA_15_16_OFFSET
  4389. This is a 16 bit offset (of which only 15 bits are used) from the
  4390. zero data area pointer.
  4391. -- : BFD_RELOC_V850_TDA_6_8_OFFSET
  4392. This is an 8 bit offset (of which only 6 bits are used) from the
  4393. tiny data area pointer.
  4394. -- : BFD_RELOC_V850_TDA_7_8_OFFSET
  4395. This is an 8bit offset (of which only 7 bits are used) from the
  4396. tiny data area pointer.
  4397. -- : BFD_RELOC_V850_TDA_7_7_OFFSET
  4398. This is a 7 bit offset from the tiny data area pointer.
  4399. -- : BFD_RELOC_V850_TDA_16_16_OFFSET
  4400. This is a 16 bit offset from the tiny data area pointer.
  4401. -- : BFD_RELOC_V850_TDA_4_5_OFFSET
  4402. This is a 5 bit offset (of which only 4 bits are used) from the
  4403. tiny data area pointer.
  4404. -- : BFD_RELOC_V850_TDA_4_4_OFFSET
  4405. This is a 4 bit offset from the tiny data area pointer.
  4406. -- : BFD_RELOC_V850_SDA_16_16_SPLIT_OFFSET
  4407. This is a 16 bit offset from the short data area pointer, with the
  4408. bits placed non-contiguously in the instruction.
  4409. -- : BFD_RELOC_V850_ZDA_16_16_SPLIT_OFFSET
  4410. This is a 16 bit offset from the zero data area pointer, with the
  4411. bits placed non-contiguously in the instruction.
  4412. -- : BFD_RELOC_V850_CALLT_6_7_OFFSET
  4413. This is a 6 bit offset from the call table base pointer.
  4414. -- : BFD_RELOC_V850_CALLT_16_16_OFFSET
  4415. This is a 16 bit offset from the call table base pointer.
  4416. -- : BFD_RELOC_V850_LONGCALL
  4417. Used for relaxing indirect function calls.
  4418. -- : BFD_RELOC_V850_LONGJUMP
  4419. Used for relaxing indirect jumps.
  4420. -- : BFD_RELOC_V850_ALIGN
  4421. Used to maintain alignment whilst relaxing.
  4422. -- : BFD_RELOC_V850_LO16_SPLIT_OFFSET
  4423. This is a variation of BFD_RELOC_LO16 that can be used in v850e
  4424. ld.bu instructions.
  4425. -- : BFD_RELOC_V850_16_PCREL
  4426. This is a 16-bit reloc.
  4427. -- : BFD_RELOC_V850_17_PCREL
  4428. This is a 17-bit reloc.
  4429. -- : BFD_RELOC_V850_23
  4430. This is a 23-bit reloc.
  4431. -- : BFD_RELOC_V850_32_PCREL
  4432. This is a 32-bit reloc.
  4433. -- : BFD_RELOC_V850_32_ABS
  4434. This is a 32-bit reloc.
  4435. -- : BFD_RELOC_V850_16_SPLIT_OFFSET
  4436. This is a 16-bit reloc.
  4437. -- : BFD_RELOC_V850_16_S1
  4438. This is a 16-bit reloc.
  4439. -- : BFD_RELOC_V850_LO16_S1
  4440. Low 16 bits. 16 bit shifted by 1.
  4441. -- : BFD_RELOC_V850_CALLT_15_16_OFFSET
  4442. This is a 16 bit offset from the call table base pointer.
  4443. -- : BFD_RELOC_V850_32_GOTPCREL
  4444. DSO relocations.
  4445. -- : BFD_RELOC_V850_16_GOT
  4446. DSO relocations.
  4447. -- : BFD_RELOC_V850_32_GOT
  4448. DSO relocations.
  4449. -- : BFD_RELOC_V850_22_PLT_PCREL
  4450. DSO relocations.
  4451. -- : BFD_RELOC_V850_32_PLT_PCREL
  4452. DSO relocations.
  4453. -- : BFD_RELOC_V850_COPY
  4454. DSO relocations.
  4455. -- : BFD_RELOC_V850_GLOB_DAT
  4456. DSO relocations.
  4457. -- : BFD_RELOC_V850_JMP_SLOT
  4458. DSO relocations.
  4459. -- : BFD_RELOC_V850_RELATIVE
  4460. DSO relocations.
  4461. -- : BFD_RELOC_V850_16_GOTOFF
  4462. DSO relocations.
  4463. -- : BFD_RELOC_V850_32_GOTOFF
  4464. DSO relocations.
  4465. -- : BFD_RELOC_V850_CODE
  4466. start code.
  4467. -- : BFD_RELOC_V850_DATA
  4468. start data in text.
  4469. -- : BFD_RELOC_TIC30_LDP
  4470. This is a 8bit DP reloc for the tms320c30, where the most
  4471. significant 8 bits of a 24 bit word are placed into the least
  4472. significant 8 bits of the opcode.
  4473. -- : BFD_RELOC_TIC54X_PARTLS7
  4474. This is a 7bit reloc for the tms320c54x, where the least
  4475. significant 7 bits of a 16 bit word are placed into the least
  4476. significant 7 bits of the opcode.
  4477. -- : BFD_RELOC_TIC54X_PARTMS9
  4478. This is a 9bit DP reloc for the tms320c54x, where the most
  4479. significant 9 bits of a 16 bit word are placed into the least
  4480. significant 9 bits of the opcode.
  4481. -- : BFD_RELOC_TIC54X_23
  4482. This is an extended address 23-bit reloc for the tms320c54x.
  4483. -- : BFD_RELOC_TIC54X_16_OF_23
  4484. This is a 16-bit reloc for the tms320c54x, where the least
  4485. significant 16 bits of a 23-bit extended address are placed into
  4486. the opcode.
  4487. -- : BFD_RELOC_TIC54X_MS7_OF_23
  4488. This is a reloc for the tms320c54x, where the most significant 7
  4489. bits of a 23-bit extended address are placed into the opcode.
  4490. -- : BFD_RELOC_C6000_PCR_S21
  4491. -- : BFD_RELOC_C6000_PCR_S12
  4492. -- : BFD_RELOC_C6000_PCR_S10
  4493. -- : BFD_RELOC_C6000_PCR_S7
  4494. -- : BFD_RELOC_C6000_ABS_S16
  4495. -- : BFD_RELOC_C6000_ABS_L16
  4496. -- : BFD_RELOC_C6000_ABS_H16
  4497. -- : BFD_RELOC_C6000_SBR_U15_B
  4498. -- : BFD_RELOC_C6000_SBR_U15_H
  4499. -- : BFD_RELOC_C6000_SBR_U15_W
  4500. -- : BFD_RELOC_C6000_SBR_S16
  4501. -- : BFD_RELOC_C6000_SBR_L16_B
  4502. -- : BFD_RELOC_C6000_SBR_L16_H
  4503. -- : BFD_RELOC_C6000_SBR_L16_W
  4504. -- : BFD_RELOC_C6000_SBR_H16_B
  4505. -- : BFD_RELOC_C6000_SBR_H16_H
  4506. -- : BFD_RELOC_C6000_SBR_H16_W
  4507. -- : BFD_RELOC_C6000_SBR_GOT_U15_W
  4508. -- : BFD_RELOC_C6000_SBR_GOT_L16_W
  4509. -- : BFD_RELOC_C6000_SBR_GOT_H16_W
  4510. -- : BFD_RELOC_C6000_DSBT_INDEX
  4511. -- : BFD_RELOC_C6000_PREL31
  4512. -- : BFD_RELOC_C6000_COPY
  4513. -- : BFD_RELOC_C6000_JUMP_SLOT
  4514. -- : BFD_RELOC_C6000_EHTYPE
  4515. -- : BFD_RELOC_C6000_PCR_H16
  4516. -- : BFD_RELOC_C6000_PCR_L16
  4517. -- : BFD_RELOC_C6000_ALIGN
  4518. -- : BFD_RELOC_C6000_FPHEAD
  4519. -- : BFD_RELOC_C6000_NOCMP
  4520. TMS320C6000 relocations.
  4521. -- : BFD_RELOC_FR30_48
  4522. This is a 48 bit reloc for the FR30 that stores 32 bits.
  4523. -- : BFD_RELOC_FR30_20
  4524. This is a 32 bit reloc for the FR30 that stores 20 bits split up
  4525. into two sections.
  4526. -- : BFD_RELOC_FR30_6_IN_4
  4527. This is a 16 bit reloc for the FR30 that stores a 6 bit word offset
  4528. in 4 bits.
  4529. -- : BFD_RELOC_FR30_8_IN_8
  4530. This is a 16 bit reloc for the FR30 that stores an 8 bit byte
  4531. offset into 8 bits.
  4532. -- : BFD_RELOC_FR30_9_IN_8
  4533. This is a 16 bit reloc for the FR30 that stores a 9 bit short
  4534. offset into 8 bits.
  4535. -- : BFD_RELOC_FR30_10_IN_8
  4536. This is a 16 bit reloc for the FR30 that stores a 10 bit word
  4537. offset into 8 bits.
  4538. -- : BFD_RELOC_FR30_9_PCREL
  4539. This is a 16 bit reloc for the FR30 that stores a 9 bit pc relative
  4540. short offset into 8 bits.
  4541. -- : BFD_RELOC_FR30_12_PCREL
  4542. This is a 16 bit reloc for the FR30 that stores a 12 bit pc
  4543. relative short offset into 11 bits.
  4544. -- : BFD_RELOC_MCORE_PCREL_IMM8BY4
  4545. -- : BFD_RELOC_MCORE_PCREL_IMM11BY2
  4546. -- : BFD_RELOC_MCORE_PCREL_IMM4BY2
  4547. -- : BFD_RELOC_MCORE_PCREL_32
  4548. -- : BFD_RELOC_MCORE_PCREL_JSR_IMM11BY2
  4549. -- : BFD_RELOC_MCORE_RVA
  4550. Motorola Mcore relocations.
  4551. -- : BFD_RELOC_MEP_8
  4552. -- : BFD_RELOC_MEP_16
  4553. -- : BFD_RELOC_MEP_32
  4554. -- : BFD_RELOC_MEP_PCREL8A2
  4555. -- : BFD_RELOC_MEP_PCREL12A2
  4556. -- : BFD_RELOC_MEP_PCREL17A2
  4557. -- : BFD_RELOC_MEP_PCREL24A2
  4558. -- : BFD_RELOC_MEP_PCABS24A2
  4559. -- : BFD_RELOC_MEP_LOW16
  4560. -- : BFD_RELOC_MEP_HI16U
  4561. -- : BFD_RELOC_MEP_HI16S
  4562. -- : BFD_RELOC_MEP_GPREL
  4563. -- : BFD_RELOC_MEP_TPREL
  4564. -- : BFD_RELOC_MEP_TPREL7
  4565. -- : BFD_RELOC_MEP_TPREL7A2
  4566. -- : BFD_RELOC_MEP_TPREL7A4
  4567. -- : BFD_RELOC_MEP_UIMM24
  4568. -- : BFD_RELOC_MEP_ADDR24A4
  4569. -- : BFD_RELOC_MEP_GNU_VTINHERIT
  4570. -- : BFD_RELOC_MEP_GNU_VTENTRY
  4571. Toshiba Media Processor Relocations.
  4572. -- : BFD_RELOC_METAG_HIADDR16
  4573. -- : BFD_RELOC_METAG_LOADDR16
  4574. -- : BFD_RELOC_METAG_RELBRANCH
  4575. -- : BFD_RELOC_METAG_GETSETOFF
  4576. -- : BFD_RELOC_METAG_HIOG
  4577. -- : BFD_RELOC_METAG_LOOG
  4578. -- : BFD_RELOC_METAG_REL8
  4579. -- : BFD_RELOC_METAG_REL16
  4580. -- : BFD_RELOC_METAG_HI16_GOTOFF
  4581. -- : BFD_RELOC_METAG_LO16_GOTOFF
  4582. -- : BFD_RELOC_METAG_GETSET_GOTOFF
  4583. -- : BFD_RELOC_METAG_GETSET_GOT
  4584. -- : BFD_RELOC_METAG_HI16_GOTPC
  4585. -- : BFD_RELOC_METAG_LO16_GOTPC
  4586. -- : BFD_RELOC_METAG_HI16_PLT
  4587. -- : BFD_RELOC_METAG_LO16_PLT
  4588. -- : BFD_RELOC_METAG_RELBRANCH_PLT
  4589. -- : BFD_RELOC_METAG_GOTOFF
  4590. -- : BFD_RELOC_METAG_PLT
  4591. -- : BFD_RELOC_METAG_COPY
  4592. -- : BFD_RELOC_METAG_JMP_SLOT
  4593. -- : BFD_RELOC_METAG_RELATIVE
  4594. -- : BFD_RELOC_METAG_GLOB_DAT
  4595. -- : BFD_RELOC_METAG_TLS_GD
  4596. -- : BFD_RELOC_METAG_TLS_LDM
  4597. -- : BFD_RELOC_METAG_TLS_LDO_HI16
  4598. -- : BFD_RELOC_METAG_TLS_LDO_LO16
  4599. -- : BFD_RELOC_METAG_TLS_LDO
  4600. -- : BFD_RELOC_METAG_TLS_IE
  4601. -- : BFD_RELOC_METAG_TLS_IENONPIC
  4602. -- : BFD_RELOC_METAG_TLS_IENONPIC_HI16
  4603. -- : BFD_RELOC_METAG_TLS_IENONPIC_LO16
  4604. -- : BFD_RELOC_METAG_TLS_TPOFF
  4605. -- : BFD_RELOC_METAG_TLS_DTPMOD
  4606. -- : BFD_RELOC_METAG_TLS_DTPOFF
  4607. -- : BFD_RELOC_METAG_TLS_LE
  4608. -- : BFD_RELOC_METAG_TLS_LE_HI16
  4609. -- : BFD_RELOC_METAG_TLS_LE_LO16
  4610. Imagination Technologies Meta relocations.
  4611. -- : BFD_RELOC_MMIX_GETA
  4612. -- : BFD_RELOC_MMIX_GETA_1
  4613. -- : BFD_RELOC_MMIX_GETA_2
  4614. -- : BFD_RELOC_MMIX_GETA_3
  4615. These are relocations for the GETA instruction.
  4616. -- : BFD_RELOC_MMIX_CBRANCH
  4617. -- : BFD_RELOC_MMIX_CBRANCH_J
  4618. -- : BFD_RELOC_MMIX_CBRANCH_1
  4619. -- : BFD_RELOC_MMIX_CBRANCH_2
  4620. -- : BFD_RELOC_MMIX_CBRANCH_3
  4621. These are relocations for a conditional branch instruction.
  4622. -- : BFD_RELOC_MMIX_PUSHJ
  4623. -- : BFD_RELOC_MMIX_PUSHJ_1
  4624. -- : BFD_RELOC_MMIX_PUSHJ_2
  4625. -- : BFD_RELOC_MMIX_PUSHJ_3
  4626. -- : BFD_RELOC_MMIX_PUSHJ_STUBBABLE
  4627. These are relocations for the PUSHJ instruction.
  4628. -- : BFD_RELOC_MMIX_JMP
  4629. -- : BFD_RELOC_MMIX_JMP_1
  4630. -- : BFD_RELOC_MMIX_JMP_2
  4631. -- : BFD_RELOC_MMIX_JMP_3
  4632. These are relocations for the JMP instruction.
  4633. -- : BFD_RELOC_MMIX_ADDR19
  4634. This is a relocation for a relative address as in a GETA
  4635. instruction or a branch.
  4636. -- : BFD_RELOC_MMIX_ADDR27
  4637. This is a relocation for a relative address as in a JMP
  4638. instruction.
  4639. -- : BFD_RELOC_MMIX_REG_OR_BYTE
  4640. This is a relocation for an instruction field that may be a general
  4641. register or a value 0..255.
  4642. -- : BFD_RELOC_MMIX_REG
  4643. This is a relocation for an instruction field that may be a general
  4644. register.
  4645. -- : BFD_RELOC_MMIX_BASE_PLUS_OFFSET
  4646. This is a relocation for two instruction fields holding a register
  4647. and an offset, the equivalent of the relocation.
  4648. -- : BFD_RELOC_MMIX_LOCAL
  4649. This relocation is an assertion that the expression is not
  4650. allocated as a global register. It does not modify contents.
  4651. -- : BFD_RELOC_AVR_7_PCREL
  4652. This is a 16 bit reloc for the AVR that stores 8 bit pc relative
  4653. short offset into 7 bits.
  4654. -- : BFD_RELOC_AVR_13_PCREL
  4655. This is a 16 bit reloc for the AVR that stores 13 bit pc relative
  4656. short offset into 12 bits.
  4657. -- : BFD_RELOC_AVR_16_PM
  4658. This is a 16 bit reloc for the AVR that stores 17 bit value
  4659. (usually program memory address) into 16 bits.
  4660. -- : BFD_RELOC_AVR_LO8_LDI
  4661. This is a 16 bit reloc for the AVR that stores 8 bit value (usually
  4662. data memory address) into 8 bit immediate value of LDI insn.
  4663. -- : BFD_RELOC_AVR_HI8_LDI
  4664. This is a 16 bit reloc for the AVR that stores 8 bit value (high 8
  4665. bit of data memory address) into 8 bit immediate value of LDI insn.
  4666. -- : BFD_RELOC_AVR_HH8_LDI
  4667. This is a 16 bit reloc for the AVR that stores 8 bit value (most
  4668. high 8 bit of program memory address) into 8 bit immediate value of
  4669. LDI insn.
  4670. -- : BFD_RELOC_AVR_MS8_LDI
  4671. This is a 16 bit reloc for the AVR that stores 8 bit value (most
  4672. high 8 bit of 32 bit value) into 8 bit immediate value of LDI insn.
  4673. -- : BFD_RELOC_AVR_LO8_LDI_NEG
  4674. This is a 16 bit reloc for the AVR that stores negated 8 bit value
  4675. (usually data memory address) into 8 bit immediate value of SUBI
  4676. insn.
  4677. -- : BFD_RELOC_AVR_HI8_LDI_NEG
  4678. This is a 16 bit reloc for the AVR that stores negated 8 bit value
  4679. (high 8 bit of data memory address) into 8 bit immediate value of
  4680. SUBI insn.
  4681. -- : BFD_RELOC_AVR_HH8_LDI_NEG
  4682. This is a 16 bit reloc for the AVR that stores negated 8 bit value
  4683. (most high 8 bit of program memory address) into 8 bit immediate
  4684. value of LDI or SUBI insn.
  4685. -- : BFD_RELOC_AVR_MS8_LDI_NEG
  4686. This is a 16 bit reloc for the AVR that stores negated 8 bit value
  4687. (msb of 32 bit value) into 8 bit immediate value of LDI insn.
  4688. -- : BFD_RELOC_AVR_LO8_LDI_PM
  4689. This is a 16 bit reloc for the AVR that stores 8 bit value (usually
  4690. command address) into 8 bit immediate value of LDI insn.
  4691. -- : BFD_RELOC_AVR_LO8_LDI_GS
  4692. This is a 16 bit reloc for the AVR that stores 8 bit value (command
  4693. address) into 8 bit immediate value of LDI insn. If the address is
  4694. beyond the 128k boundary, the linker inserts a jump stub for this
  4695. reloc in the lower 128k.
  4696. -- : BFD_RELOC_AVR_HI8_LDI_PM
  4697. This is a 16 bit reloc for the AVR that stores 8 bit value (high 8
  4698. bit of command address) into 8 bit immediate value of LDI insn.
  4699. -- : BFD_RELOC_AVR_HI8_LDI_GS
  4700. This is a 16 bit reloc for the AVR that stores 8 bit value (high 8
  4701. bit of command address) into 8 bit immediate value of LDI insn. If
  4702. the address is beyond the 128k boundary, the linker inserts a jump
  4703. stub for this reloc below 128k.
  4704. -- : BFD_RELOC_AVR_HH8_LDI_PM
  4705. This is a 16 bit reloc for the AVR that stores 8 bit value (most
  4706. high 8 bit of command address) into 8 bit immediate value of LDI
  4707. insn.
  4708. -- : BFD_RELOC_AVR_LO8_LDI_PM_NEG
  4709. This is a 16 bit reloc for the AVR that stores negated 8 bit value
  4710. (usually command address) into 8 bit immediate value of SUBI insn.
  4711. -- : BFD_RELOC_AVR_HI8_LDI_PM_NEG
  4712. This is a 16 bit reloc for the AVR that stores negated 8 bit value
  4713. (high 8 bit of 16 bit command address) into 8 bit immediate value
  4714. of SUBI insn.
  4715. -- : BFD_RELOC_AVR_HH8_LDI_PM_NEG
  4716. This is a 16 bit reloc for the AVR that stores negated 8 bit value
  4717. (high 6 bit of 22 bit command address) into 8 bit immediate value
  4718. of SUBI insn.
  4719. -- : BFD_RELOC_AVR_CALL
  4720. This is a 32 bit reloc for the AVR that stores 23 bit value into 22
  4721. bits.
  4722. -- : BFD_RELOC_AVR_LDI
  4723. This is a 16 bit reloc for the AVR that stores all needed bits for
  4724. absolute addressing with ldi with overflow check to linktime
  4725. -- : BFD_RELOC_AVR_6
  4726. This is a 6 bit reloc for the AVR that stores offset for ldd/std
  4727. instructions
  4728. -- : BFD_RELOC_AVR_6_ADIW
  4729. This is a 6 bit reloc for the AVR that stores offset for adiw/sbiw
  4730. instructions
  4731. -- : BFD_RELOC_AVR_8_LO
  4732. This is a 8 bit reloc for the AVR that stores bits 0..7 of a symbol
  4733. in .byte lo8(symbol)
  4734. -- : BFD_RELOC_AVR_8_HI
  4735. This is a 8 bit reloc for the AVR that stores bits 8..15 of a
  4736. symbol in .byte hi8(symbol)
  4737. -- : BFD_RELOC_AVR_8_HLO
  4738. This is a 8 bit reloc for the AVR that stores bits 16..23 of a
  4739. symbol in .byte hlo8(symbol)
  4740. -- : BFD_RELOC_AVR_DIFF8
  4741. -- : BFD_RELOC_AVR_DIFF16
  4742. -- : BFD_RELOC_AVR_DIFF32
  4743. AVR relocations to mark the difference of two local symbols. These
  4744. are only needed to support linker relaxation and can be ignored
  4745. when not relaxing. The field is set to the value of the difference
  4746. assuming no relaxation. The relocation encodes the position of the
  4747. second symbol so the linker can determine whether to adjust the
  4748. field value.
  4749. -- : BFD_RELOC_AVR_LDS_STS_16
  4750. This is a 7 bit reloc for the AVR that stores SRAM address for
  4751. 16bit lds and sts instructions supported only tiny core.
  4752. -- : BFD_RELOC_AVR_PORT6
  4753. This is a 6 bit reloc for the AVR that stores an I/O register
  4754. number for the IN and OUT instructions
  4755. -- : BFD_RELOC_AVR_PORT5
  4756. This is a 5 bit reloc for the AVR that stores an I/O register
  4757. number for the SBIC, SBIS, SBI and CBI instructions
  4758. -- : BFD_RELOC_RISCV_HI20
  4759. -- : BFD_RELOC_RISCV_PCREL_HI20
  4760. -- : BFD_RELOC_RISCV_PCREL_LO12_I
  4761. -- : BFD_RELOC_RISCV_PCREL_LO12_S
  4762. -- : BFD_RELOC_RISCV_LO12_I
  4763. -- : BFD_RELOC_RISCV_LO12_S
  4764. -- : BFD_RELOC_RISCV_GPREL12_I
  4765. -- : BFD_RELOC_RISCV_GPREL12_S
  4766. -- : BFD_RELOC_RISCV_TPREL_HI20
  4767. -- : BFD_RELOC_RISCV_TPREL_LO12_I
  4768. -- : BFD_RELOC_RISCV_TPREL_LO12_S
  4769. -- : BFD_RELOC_RISCV_TPREL_ADD
  4770. -- : BFD_RELOC_RISCV_CALL
  4771. -- : BFD_RELOC_RISCV_CALL_PLT
  4772. -- : BFD_RELOC_RISCV_ADD8
  4773. -- : BFD_RELOC_RISCV_ADD16
  4774. -- : BFD_RELOC_RISCV_ADD32
  4775. -- : BFD_RELOC_RISCV_ADD64
  4776. -- : BFD_RELOC_RISCV_SUB8
  4777. -- : BFD_RELOC_RISCV_SUB16
  4778. -- : BFD_RELOC_RISCV_SUB32
  4779. -- : BFD_RELOC_RISCV_SUB64
  4780. -- : BFD_RELOC_RISCV_GOT_HI20
  4781. -- : BFD_RELOC_RISCV_TLS_GOT_HI20
  4782. -- : BFD_RELOC_RISCV_TLS_GD_HI20
  4783. -- : BFD_RELOC_RISCV_JMP
  4784. -- : BFD_RELOC_RISCV_TLS_DTPMOD32
  4785. -- : BFD_RELOC_RISCV_TLS_DTPREL32
  4786. -- : BFD_RELOC_RISCV_TLS_DTPMOD64
  4787. -- : BFD_RELOC_RISCV_TLS_DTPREL64
  4788. -- : BFD_RELOC_RISCV_TLS_TPREL32
  4789. -- : BFD_RELOC_RISCV_TLS_TPREL64
  4790. -- : BFD_RELOC_RISCV_ALIGN
  4791. -- : BFD_RELOC_RISCV_RVC_BRANCH
  4792. -- : BFD_RELOC_RISCV_RVC_JUMP
  4793. -- : BFD_RELOC_RISCV_RVC_LUI
  4794. -- : BFD_RELOC_RISCV_GPREL_I
  4795. -- : BFD_RELOC_RISCV_GPREL_S
  4796. -- : BFD_RELOC_RISCV_TPREL_I
  4797. -- : BFD_RELOC_RISCV_TPREL_S
  4798. -- : BFD_RELOC_RISCV_RELAX
  4799. -- : BFD_RELOC_RISCV_CFA
  4800. -- : BFD_RELOC_RISCV_SUB6
  4801. -- : BFD_RELOC_RISCV_SET6
  4802. -- : BFD_RELOC_RISCV_SET8
  4803. -- : BFD_RELOC_RISCV_SET16
  4804. -- : BFD_RELOC_RISCV_SET32
  4805. -- : BFD_RELOC_RISCV_32_PCREL
  4806. RISC-V relocations.
  4807. -- : BFD_RELOC_RL78_NEG8
  4808. -- : BFD_RELOC_RL78_NEG16
  4809. -- : BFD_RELOC_RL78_NEG24
  4810. -- : BFD_RELOC_RL78_NEG32
  4811. -- : BFD_RELOC_RL78_16_OP
  4812. -- : BFD_RELOC_RL78_24_OP
  4813. -- : BFD_RELOC_RL78_32_OP
  4814. -- : BFD_RELOC_RL78_8U
  4815. -- : BFD_RELOC_RL78_16U
  4816. -- : BFD_RELOC_RL78_24U
  4817. -- : BFD_RELOC_RL78_DIR3U_PCREL
  4818. -- : BFD_RELOC_RL78_DIFF
  4819. -- : BFD_RELOC_RL78_GPRELB
  4820. -- : BFD_RELOC_RL78_GPRELW
  4821. -- : BFD_RELOC_RL78_GPRELL
  4822. -- : BFD_RELOC_RL78_SYM
  4823. -- : BFD_RELOC_RL78_OP_SUBTRACT
  4824. -- : BFD_RELOC_RL78_OP_NEG
  4825. -- : BFD_RELOC_RL78_OP_AND
  4826. -- : BFD_RELOC_RL78_OP_SHRA
  4827. -- : BFD_RELOC_RL78_ABS8
  4828. -- : BFD_RELOC_RL78_ABS16
  4829. -- : BFD_RELOC_RL78_ABS16_REV
  4830. -- : BFD_RELOC_RL78_ABS32
  4831. -- : BFD_RELOC_RL78_ABS32_REV
  4832. -- : BFD_RELOC_RL78_ABS16U
  4833. -- : BFD_RELOC_RL78_ABS16UW
  4834. -- : BFD_RELOC_RL78_ABS16UL
  4835. -- : BFD_RELOC_RL78_RELAX
  4836. -- : BFD_RELOC_RL78_HI16
  4837. -- : BFD_RELOC_RL78_HI8
  4838. -- : BFD_RELOC_RL78_LO16
  4839. -- : BFD_RELOC_RL78_CODE
  4840. -- : BFD_RELOC_RL78_SADDR
  4841. Renesas RL78 Relocations.
  4842. -- : BFD_RELOC_RX_NEG8
  4843. -- : BFD_RELOC_RX_NEG16
  4844. -- : BFD_RELOC_RX_NEG24
  4845. -- : BFD_RELOC_RX_NEG32
  4846. -- : BFD_RELOC_RX_16_OP
  4847. -- : BFD_RELOC_RX_24_OP
  4848. -- : BFD_RELOC_RX_32_OP
  4849. -- : BFD_RELOC_RX_8U
  4850. -- : BFD_RELOC_RX_16U
  4851. -- : BFD_RELOC_RX_24U
  4852. -- : BFD_RELOC_RX_DIR3U_PCREL
  4853. -- : BFD_RELOC_RX_DIFF
  4854. -- : BFD_RELOC_RX_GPRELB
  4855. -- : BFD_RELOC_RX_GPRELW
  4856. -- : BFD_RELOC_RX_GPRELL
  4857. -- : BFD_RELOC_RX_SYM
  4858. -- : BFD_RELOC_RX_OP_SUBTRACT
  4859. -- : BFD_RELOC_RX_OP_NEG
  4860. -- : BFD_RELOC_RX_ABS8
  4861. -- : BFD_RELOC_RX_ABS16
  4862. -- : BFD_RELOC_RX_ABS16_REV
  4863. -- : BFD_RELOC_RX_ABS32
  4864. -- : BFD_RELOC_RX_ABS32_REV
  4865. -- : BFD_RELOC_RX_ABS16U
  4866. -- : BFD_RELOC_RX_ABS16UW
  4867. -- : BFD_RELOC_RX_ABS16UL
  4868. -- : BFD_RELOC_RX_RELAX
  4869. Renesas RX Relocations.
  4870. -- : BFD_RELOC_390_12
  4871. Direct 12 bit.
  4872. -- : BFD_RELOC_390_GOT12
  4873. 12 bit GOT offset.
  4874. -- : BFD_RELOC_390_PLT32
  4875. 32 bit PC relative PLT address.
  4876. -- : BFD_RELOC_390_COPY
  4877. Copy symbol at runtime.
  4878. -- : BFD_RELOC_390_GLOB_DAT
  4879. Create GOT entry.
  4880. -- : BFD_RELOC_390_JMP_SLOT
  4881. Create PLT entry.
  4882. -- : BFD_RELOC_390_RELATIVE
  4883. Adjust by program base.
  4884. -- : BFD_RELOC_390_GOTPC
  4885. 32 bit PC relative offset to GOT.
  4886. -- : BFD_RELOC_390_GOT16
  4887. 16 bit GOT offset.
  4888. -- : BFD_RELOC_390_PC12DBL
  4889. PC relative 12 bit shifted by 1.
  4890. -- : BFD_RELOC_390_PLT12DBL
  4891. 12 bit PC rel. PLT shifted by 1.
  4892. -- : BFD_RELOC_390_PC16DBL
  4893. PC relative 16 bit shifted by 1.
  4894. -- : BFD_RELOC_390_PLT16DBL
  4895. 16 bit PC rel. PLT shifted by 1.
  4896. -- : BFD_RELOC_390_PC24DBL
  4897. PC relative 24 bit shifted by 1.
  4898. -- : BFD_RELOC_390_PLT24DBL
  4899. 24 bit PC rel. PLT shifted by 1.
  4900. -- : BFD_RELOC_390_PC32DBL
  4901. PC relative 32 bit shifted by 1.
  4902. -- : BFD_RELOC_390_PLT32DBL
  4903. 32 bit PC rel. PLT shifted by 1.
  4904. -- : BFD_RELOC_390_GOTPCDBL
  4905. 32 bit PC rel. GOT shifted by 1.
  4906. -- : BFD_RELOC_390_GOT64
  4907. 64 bit GOT offset.
  4908. -- : BFD_RELOC_390_PLT64
  4909. 64 bit PC relative PLT address.
  4910. -- : BFD_RELOC_390_GOTENT
  4911. 32 bit rel. offset to GOT entry.
  4912. -- : BFD_RELOC_390_GOTOFF64
  4913. 64 bit offset to GOT.
  4914. -- : BFD_RELOC_390_GOTPLT12
  4915. 12-bit offset to symbol-entry within GOT, with PLT handling.
  4916. -- : BFD_RELOC_390_GOTPLT16
  4917. 16-bit offset to symbol-entry within GOT, with PLT handling.
  4918. -- : BFD_RELOC_390_GOTPLT32
  4919. 32-bit offset to symbol-entry within GOT, with PLT handling.
  4920. -- : BFD_RELOC_390_GOTPLT64
  4921. 64-bit offset to symbol-entry within GOT, with PLT handling.
  4922. -- : BFD_RELOC_390_GOTPLTENT
  4923. 32-bit rel. offset to symbol-entry within GOT, with PLT handling.
  4924. -- : BFD_RELOC_390_PLTOFF16
  4925. 16-bit rel. offset from the GOT to a PLT entry.
  4926. -- : BFD_RELOC_390_PLTOFF32
  4927. 32-bit rel. offset from the GOT to a PLT entry.
  4928. -- : BFD_RELOC_390_PLTOFF64
  4929. 64-bit rel. offset from the GOT to a PLT entry.
  4930. -- : BFD_RELOC_390_TLS_LOAD
  4931. -- : BFD_RELOC_390_TLS_GDCALL
  4932. -- : BFD_RELOC_390_TLS_LDCALL
  4933. -- : BFD_RELOC_390_TLS_GD32
  4934. -- : BFD_RELOC_390_TLS_GD64
  4935. -- : BFD_RELOC_390_TLS_GOTIE12
  4936. -- : BFD_RELOC_390_TLS_GOTIE32
  4937. -- : BFD_RELOC_390_TLS_GOTIE64
  4938. -- : BFD_RELOC_390_TLS_LDM32
  4939. -- : BFD_RELOC_390_TLS_LDM64
  4940. -- : BFD_RELOC_390_TLS_IE32
  4941. -- : BFD_RELOC_390_TLS_IE64
  4942. -- : BFD_RELOC_390_TLS_IEENT
  4943. -- : BFD_RELOC_390_TLS_LE32
  4944. -- : BFD_RELOC_390_TLS_LE64
  4945. -- : BFD_RELOC_390_TLS_LDO32
  4946. -- : BFD_RELOC_390_TLS_LDO64
  4947. -- : BFD_RELOC_390_TLS_DTPMOD
  4948. -- : BFD_RELOC_390_TLS_DTPOFF
  4949. -- : BFD_RELOC_390_TLS_TPOFF
  4950. s390 tls relocations.
  4951. -- : BFD_RELOC_390_20
  4952. -- : BFD_RELOC_390_GOT20
  4953. -- : BFD_RELOC_390_GOTPLT20
  4954. -- : BFD_RELOC_390_TLS_GOTIE20
  4955. Long displacement extension.
  4956. -- : BFD_RELOC_390_IRELATIVE
  4957. STT_GNU_IFUNC relocation.
  4958. -- : BFD_RELOC_SCORE_GPREL15
  4959. Score relocations Low 16 bit for load/store
  4960. -- : BFD_RELOC_SCORE_DUMMY2
  4961. -- : BFD_RELOC_SCORE_JMP
  4962. This is a 24-bit reloc with the right 1 bit assumed to be 0
  4963. -- : BFD_RELOC_SCORE_BRANCH
  4964. This is a 19-bit reloc with the right 1 bit assumed to be 0
  4965. -- : BFD_RELOC_SCORE_IMM30
  4966. This is a 32-bit reloc for 48-bit instructions.
  4967. -- : BFD_RELOC_SCORE_IMM32
  4968. This is a 32-bit reloc for 48-bit instructions.
  4969. -- : BFD_RELOC_SCORE16_JMP
  4970. This is a 11-bit reloc with the right 1 bit assumed to be 0
  4971. -- : BFD_RELOC_SCORE16_BRANCH
  4972. This is a 8-bit reloc with the right 1 bit assumed to be 0
  4973. -- : BFD_RELOC_SCORE_BCMP
  4974. This is a 9-bit reloc with the right 1 bit assumed to be 0
  4975. -- : BFD_RELOC_SCORE_GOT15
  4976. -- : BFD_RELOC_SCORE_GOT_LO16
  4977. -- : BFD_RELOC_SCORE_CALL15
  4978. -- : BFD_RELOC_SCORE_DUMMY_HI16
  4979. Undocumented Score relocs
  4980. -- : BFD_RELOC_IP2K_FR9
  4981. Scenix IP2K - 9-bit register number / data address
  4982. -- : BFD_RELOC_IP2K_BANK
  4983. Scenix IP2K - 4-bit register/data bank number
  4984. -- : BFD_RELOC_IP2K_ADDR16CJP
  4985. Scenix IP2K - low 13 bits of instruction word address
  4986. -- : BFD_RELOC_IP2K_PAGE3
  4987. Scenix IP2K - high 3 bits of instruction word address
  4988. -- : BFD_RELOC_IP2K_LO8DATA
  4989. -- : BFD_RELOC_IP2K_HI8DATA
  4990. -- : BFD_RELOC_IP2K_EX8DATA
  4991. Scenix IP2K - ext/low/high 8 bits of data address
  4992. -- : BFD_RELOC_IP2K_LO8INSN
  4993. -- : BFD_RELOC_IP2K_HI8INSN
  4994. Scenix IP2K - low/high 8 bits of instruction word address
  4995. -- : BFD_RELOC_IP2K_PC_SKIP
  4996. Scenix IP2K - even/odd PC modifier to modify snb pcl.0
  4997. -- : BFD_RELOC_IP2K_TEXT
  4998. Scenix IP2K - 16 bit word address in text section.
  4999. -- : BFD_RELOC_IP2K_FR_OFFSET
  5000. Scenix IP2K - 7-bit sp or dp offset
  5001. -- : BFD_RELOC_VPE4KMATH_DATA
  5002. -- : BFD_RELOC_VPE4KMATH_INSN
  5003. Scenix VPE4K coprocessor - data/insn-space addressing
  5004. -- : BFD_RELOC_VTABLE_INHERIT
  5005. -- : BFD_RELOC_VTABLE_ENTRY
  5006. These two relocations are used by the linker to determine which of
  5007. the entries in a C++ virtual function table are actually used.
  5008. When the -gc-sections option is given, the linker will zero out the
  5009. entries that are not used, so that the code for those functions
  5010. need not be included in the output.
  5011. VTABLE_INHERIT is a zero-space relocation used to describe to the
  5012. linker the inheritance tree of a C++ virtual function table. The
  5013. relocation's symbol should be the parent class' vtable, and the
  5014. relocation should be located at the child vtable.
  5015. VTABLE_ENTRY is a zero-space relocation that describes the use of a
  5016. virtual function table entry. The reloc's symbol should refer to
  5017. the table of the class mentioned in the code. Off of that base, an
  5018. offset describes the entry that is being used. For Rela hosts,
  5019. this offset is stored in the reloc's addend. For Rel hosts, we are
  5020. forced to put this offset in the reloc's section offset.
  5021. -- : BFD_RELOC_IA64_IMM14
  5022. -- : BFD_RELOC_IA64_IMM22
  5023. -- : BFD_RELOC_IA64_IMM64
  5024. -- : BFD_RELOC_IA64_DIR32MSB
  5025. -- : BFD_RELOC_IA64_DIR32LSB
  5026. -- : BFD_RELOC_IA64_DIR64MSB
  5027. -- : BFD_RELOC_IA64_DIR64LSB
  5028. -- : BFD_RELOC_IA64_GPREL22
  5029. -- : BFD_RELOC_IA64_GPREL64I
  5030. -- : BFD_RELOC_IA64_GPREL32MSB
  5031. -- : BFD_RELOC_IA64_GPREL32LSB
  5032. -- : BFD_RELOC_IA64_GPREL64MSB
  5033. -- : BFD_RELOC_IA64_GPREL64LSB
  5034. -- : BFD_RELOC_IA64_LTOFF22
  5035. -- : BFD_RELOC_IA64_LTOFF64I
  5036. -- : BFD_RELOC_IA64_PLTOFF22
  5037. -- : BFD_RELOC_IA64_PLTOFF64I
  5038. -- : BFD_RELOC_IA64_PLTOFF64MSB
  5039. -- : BFD_RELOC_IA64_PLTOFF64LSB
  5040. -- : BFD_RELOC_IA64_FPTR64I
  5041. -- : BFD_RELOC_IA64_FPTR32MSB
  5042. -- : BFD_RELOC_IA64_FPTR32LSB
  5043. -- : BFD_RELOC_IA64_FPTR64MSB
  5044. -- : BFD_RELOC_IA64_FPTR64LSB
  5045. -- : BFD_RELOC_IA64_PCREL21B
  5046. -- : BFD_RELOC_IA64_PCREL21BI
  5047. -- : BFD_RELOC_IA64_PCREL21M
  5048. -- : BFD_RELOC_IA64_PCREL21F
  5049. -- : BFD_RELOC_IA64_PCREL22
  5050. -- : BFD_RELOC_IA64_PCREL60B
  5051. -- : BFD_RELOC_IA64_PCREL64I
  5052. -- : BFD_RELOC_IA64_PCREL32MSB
  5053. -- : BFD_RELOC_IA64_PCREL32LSB
  5054. -- : BFD_RELOC_IA64_PCREL64MSB
  5055. -- : BFD_RELOC_IA64_PCREL64LSB
  5056. -- : BFD_RELOC_IA64_LTOFF_FPTR22
  5057. -- : BFD_RELOC_IA64_LTOFF_FPTR64I
  5058. -- : BFD_RELOC_IA64_LTOFF_FPTR32MSB
  5059. -- : BFD_RELOC_IA64_LTOFF_FPTR32LSB
  5060. -- : BFD_RELOC_IA64_LTOFF_FPTR64MSB
  5061. -- : BFD_RELOC_IA64_LTOFF_FPTR64LSB
  5062. -- : BFD_RELOC_IA64_SEGREL32MSB
  5063. -- : BFD_RELOC_IA64_SEGREL32LSB
  5064. -- : BFD_RELOC_IA64_SEGREL64MSB
  5065. -- : BFD_RELOC_IA64_SEGREL64LSB
  5066. -- : BFD_RELOC_IA64_SECREL32MSB
  5067. -- : BFD_RELOC_IA64_SECREL32LSB
  5068. -- : BFD_RELOC_IA64_SECREL64MSB
  5069. -- : BFD_RELOC_IA64_SECREL64LSB
  5070. -- : BFD_RELOC_IA64_REL32MSB
  5071. -- : BFD_RELOC_IA64_REL32LSB
  5072. -- : BFD_RELOC_IA64_REL64MSB
  5073. -- : BFD_RELOC_IA64_REL64LSB
  5074. -- : BFD_RELOC_IA64_LTV32MSB
  5075. -- : BFD_RELOC_IA64_LTV32LSB
  5076. -- : BFD_RELOC_IA64_LTV64MSB
  5077. -- : BFD_RELOC_IA64_LTV64LSB
  5078. -- : BFD_RELOC_IA64_IPLTMSB
  5079. -- : BFD_RELOC_IA64_IPLTLSB
  5080. -- : BFD_RELOC_IA64_COPY
  5081. -- : BFD_RELOC_IA64_LTOFF22X
  5082. -- : BFD_RELOC_IA64_LDXMOV
  5083. -- : BFD_RELOC_IA64_TPREL14
  5084. -- : BFD_RELOC_IA64_TPREL22
  5085. -- : BFD_RELOC_IA64_TPREL64I
  5086. -- : BFD_RELOC_IA64_TPREL64MSB
  5087. -- : BFD_RELOC_IA64_TPREL64LSB
  5088. -- : BFD_RELOC_IA64_LTOFF_TPREL22
  5089. -- : BFD_RELOC_IA64_DTPMOD64MSB
  5090. -- : BFD_RELOC_IA64_DTPMOD64LSB
  5091. -- : BFD_RELOC_IA64_LTOFF_DTPMOD22
  5092. -- : BFD_RELOC_IA64_DTPREL14
  5093. -- : BFD_RELOC_IA64_DTPREL22
  5094. -- : BFD_RELOC_IA64_DTPREL64I
  5095. -- : BFD_RELOC_IA64_DTPREL32MSB
  5096. -- : BFD_RELOC_IA64_DTPREL32LSB
  5097. -- : BFD_RELOC_IA64_DTPREL64MSB
  5098. -- : BFD_RELOC_IA64_DTPREL64LSB
  5099. -- : BFD_RELOC_IA64_LTOFF_DTPREL22
  5100. Intel IA64 Relocations.
  5101. -- : BFD_RELOC_M68HC11_HI8
  5102. Motorola 68HC11 reloc. This is the 8 bit high part of an absolute
  5103. address.
  5104. -- : BFD_RELOC_M68HC11_LO8
  5105. Motorola 68HC11 reloc. This is the 8 bit low part of an absolute
  5106. address.
  5107. -- : BFD_RELOC_M68HC11_3B
  5108. Motorola 68HC11 reloc. This is the 3 bit of a value.
  5109. -- : BFD_RELOC_M68HC11_RL_JUMP
  5110. Motorola 68HC11 reloc. This reloc marks the beginning of a
  5111. jump/call instruction. It is used for linker relaxation to
  5112. correctly identify beginning of instruction and change some
  5113. branches to use PC-relative addressing mode.
  5114. -- : BFD_RELOC_M68HC11_RL_GROUP
  5115. Motorola 68HC11 reloc. This reloc marks a group of several
  5116. instructions that gcc generates and for which the linker relaxation
  5117. pass can modify and/or remove some of them.
  5118. -- : BFD_RELOC_M68HC11_LO16
  5119. Motorola 68HC11 reloc. This is the 16-bit lower part of an
  5120. address. It is used for 'call' instruction to specify the symbol
  5121. address without any special transformation (due to memory bank
  5122. window).
  5123. -- : BFD_RELOC_M68HC11_PAGE
  5124. Motorola 68HC11 reloc. This is a 8-bit reloc that specifies the
  5125. page number of an address. It is used by 'call' instruction to
  5126. specify the page number of the symbol.
  5127. -- : BFD_RELOC_M68HC11_24
  5128. Motorola 68HC11 reloc. This is a 24-bit reloc that represents the
  5129. address with a 16-bit value and a 8-bit page number. The symbol
  5130. address is transformed to follow the 16K memory bank of 68HC12
  5131. (seen as mapped in the window).
  5132. -- : BFD_RELOC_M68HC12_5B
  5133. Motorola 68HC12 reloc. This is the 5 bits of a value.
  5134. -- : BFD_RELOC_XGATE_RL_JUMP
  5135. Freescale XGATE reloc. This reloc marks the beginning of a bra/jal
  5136. instruction.
  5137. -- : BFD_RELOC_XGATE_RL_GROUP
  5138. Freescale XGATE reloc. This reloc marks a group of several
  5139. instructions that gcc generates and for which the linker relaxation
  5140. pass can modify and/or remove some of them.
  5141. -- : BFD_RELOC_XGATE_LO16
  5142. Freescale XGATE reloc. This is the 16-bit lower part of an
  5143. address. It is used for the '16-bit' instructions.
  5144. -- : BFD_RELOC_XGATE_GPAGE
  5145. Freescale XGATE reloc.
  5146. -- : BFD_RELOC_XGATE_24
  5147. Freescale XGATE reloc.
  5148. -- : BFD_RELOC_XGATE_PCREL_9
  5149. Freescale XGATE reloc. This is a 9-bit pc-relative reloc.
  5150. -- : BFD_RELOC_XGATE_PCREL_10
  5151. Freescale XGATE reloc. This is a 10-bit pc-relative reloc.
  5152. -- : BFD_RELOC_XGATE_IMM8_LO
  5153. Freescale XGATE reloc. This is the 16-bit lower part of an
  5154. address. It is used for the '16-bit' instructions.
  5155. -- : BFD_RELOC_XGATE_IMM8_HI
  5156. Freescale XGATE reloc. This is the 16-bit higher part of an
  5157. address. It is used for the '16-bit' instructions.
  5158. -- : BFD_RELOC_XGATE_IMM3
  5159. Freescale XGATE reloc. This is a 3-bit pc-relative reloc.
  5160. -- : BFD_RELOC_XGATE_IMM4
  5161. Freescale XGATE reloc. This is a 4-bit pc-relative reloc.
  5162. -- : BFD_RELOC_XGATE_IMM5
  5163. Freescale XGATE reloc. This is a 5-bit pc-relative reloc.
  5164. -- : BFD_RELOC_M68HC12_9B
  5165. Motorola 68HC12 reloc. This is the 9 bits of a value.
  5166. -- : BFD_RELOC_M68HC12_16B
  5167. Motorola 68HC12 reloc. This is the 16 bits of a value.
  5168. -- : BFD_RELOC_M68HC12_9_PCREL
  5169. Motorola 68HC12/XGATE reloc. This is a PCREL9 branch.
  5170. -- : BFD_RELOC_M68HC12_10_PCREL
  5171. Motorola 68HC12/XGATE reloc. This is a PCREL10 branch.
  5172. -- : BFD_RELOC_M68HC12_LO8XG
  5173. Motorola 68HC12/XGATE reloc. This is the 8 bit low part of an
  5174. absolute address and immediately precedes a matching HI8XG part.
  5175. -- : BFD_RELOC_M68HC12_HI8XG
  5176. Motorola 68HC12/XGATE reloc. This is the 8 bit high part of an
  5177. absolute address and immediately follows a matching LO8XG part.
  5178. -- : BFD_RELOC_S12Z_15_PCREL
  5179. Freescale S12Z reloc. This is a 15 bit relative address. If the
  5180. most significant bits are all zero then it may be truncated to 8
  5181. bits.
  5182. -- : BFD_RELOC_CR16_NUM8
  5183. -- : BFD_RELOC_CR16_NUM16
  5184. -- : BFD_RELOC_CR16_NUM32
  5185. -- : BFD_RELOC_CR16_NUM32a
  5186. -- : BFD_RELOC_CR16_REGREL0
  5187. -- : BFD_RELOC_CR16_REGREL4
  5188. -- : BFD_RELOC_CR16_REGREL4a
  5189. -- : BFD_RELOC_CR16_REGREL14
  5190. -- : BFD_RELOC_CR16_REGREL14a
  5191. -- : BFD_RELOC_CR16_REGREL16
  5192. -- : BFD_RELOC_CR16_REGREL20
  5193. -- : BFD_RELOC_CR16_REGREL20a
  5194. -- : BFD_RELOC_CR16_ABS20
  5195. -- : BFD_RELOC_CR16_ABS24
  5196. -- : BFD_RELOC_CR16_IMM4
  5197. -- : BFD_RELOC_CR16_IMM8
  5198. -- : BFD_RELOC_CR16_IMM16
  5199. -- : BFD_RELOC_CR16_IMM20
  5200. -- : BFD_RELOC_CR16_IMM24
  5201. -- : BFD_RELOC_CR16_IMM32
  5202. -- : BFD_RELOC_CR16_IMM32a
  5203. -- : BFD_RELOC_CR16_DISP4
  5204. -- : BFD_RELOC_CR16_DISP8
  5205. -- : BFD_RELOC_CR16_DISP16
  5206. -- : BFD_RELOC_CR16_DISP20
  5207. -- : BFD_RELOC_CR16_DISP24
  5208. -- : BFD_RELOC_CR16_DISP24a
  5209. -- : BFD_RELOC_CR16_SWITCH8
  5210. -- : BFD_RELOC_CR16_SWITCH16
  5211. -- : BFD_RELOC_CR16_SWITCH32
  5212. -- : BFD_RELOC_CR16_GOT_REGREL20
  5213. -- : BFD_RELOC_CR16_GOTC_REGREL20
  5214. -- : BFD_RELOC_CR16_GLOB_DAT
  5215. NS CR16 Relocations.
  5216. -- : BFD_RELOC_CRX_REL4
  5217. -- : BFD_RELOC_CRX_REL8
  5218. -- : BFD_RELOC_CRX_REL8_CMP
  5219. -- : BFD_RELOC_CRX_REL16
  5220. -- : BFD_RELOC_CRX_REL24
  5221. -- : BFD_RELOC_CRX_REL32
  5222. -- : BFD_RELOC_CRX_REGREL12
  5223. -- : BFD_RELOC_CRX_REGREL22
  5224. -- : BFD_RELOC_CRX_REGREL28
  5225. -- : BFD_RELOC_CRX_REGREL32
  5226. -- : BFD_RELOC_CRX_ABS16
  5227. -- : BFD_RELOC_CRX_ABS32
  5228. -- : BFD_RELOC_CRX_NUM8
  5229. -- : BFD_RELOC_CRX_NUM16
  5230. -- : BFD_RELOC_CRX_NUM32
  5231. -- : BFD_RELOC_CRX_IMM16
  5232. -- : BFD_RELOC_CRX_IMM32
  5233. -- : BFD_RELOC_CRX_SWITCH8
  5234. -- : BFD_RELOC_CRX_SWITCH16
  5235. -- : BFD_RELOC_CRX_SWITCH32
  5236. NS CRX Relocations.
  5237. -- : BFD_RELOC_CRIS_BDISP8
  5238. -- : BFD_RELOC_CRIS_UNSIGNED_5
  5239. -- : BFD_RELOC_CRIS_SIGNED_6
  5240. -- : BFD_RELOC_CRIS_UNSIGNED_6
  5241. -- : BFD_RELOC_CRIS_SIGNED_8
  5242. -- : BFD_RELOC_CRIS_UNSIGNED_8
  5243. -- : BFD_RELOC_CRIS_SIGNED_16
  5244. -- : BFD_RELOC_CRIS_UNSIGNED_16
  5245. -- : BFD_RELOC_CRIS_LAPCQ_OFFSET
  5246. -- : BFD_RELOC_CRIS_UNSIGNED_4
  5247. These relocs are only used within the CRIS assembler. They are not
  5248. (at present) written to any object files.
  5249. -- : BFD_RELOC_CRIS_COPY
  5250. -- : BFD_RELOC_CRIS_GLOB_DAT
  5251. -- : BFD_RELOC_CRIS_JUMP_SLOT
  5252. -- : BFD_RELOC_CRIS_RELATIVE
  5253. Relocs used in ELF shared libraries for CRIS.
  5254. -- : BFD_RELOC_CRIS_32_GOT
  5255. 32-bit offset to symbol-entry within GOT.
  5256. -- : BFD_RELOC_CRIS_16_GOT
  5257. 16-bit offset to symbol-entry within GOT.
  5258. -- : BFD_RELOC_CRIS_32_GOTPLT
  5259. 32-bit offset to symbol-entry within GOT, with PLT handling.
  5260. -- : BFD_RELOC_CRIS_16_GOTPLT
  5261. 16-bit offset to symbol-entry within GOT, with PLT handling.
  5262. -- : BFD_RELOC_CRIS_32_GOTREL
  5263. 32-bit offset to symbol, relative to GOT.
  5264. -- : BFD_RELOC_CRIS_32_PLT_GOTREL
  5265. 32-bit offset to symbol with PLT entry, relative to GOT.
  5266. -- : BFD_RELOC_CRIS_32_PLT_PCREL
  5267. 32-bit offset to symbol with PLT entry, relative to this
  5268. relocation.
  5269. -- : BFD_RELOC_CRIS_32_GOT_GD
  5270. -- : BFD_RELOC_CRIS_16_GOT_GD
  5271. -- : BFD_RELOC_CRIS_32_GD
  5272. -- : BFD_RELOC_CRIS_DTP
  5273. -- : BFD_RELOC_CRIS_32_DTPREL
  5274. -- : BFD_RELOC_CRIS_16_DTPREL
  5275. -- : BFD_RELOC_CRIS_32_GOT_TPREL
  5276. -- : BFD_RELOC_CRIS_16_GOT_TPREL
  5277. -- : BFD_RELOC_CRIS_32_TPREL
  5278. -- : BFD_RELOC_CRIS_16_TPREL
  5279. -- : BFD_RELOC_CRIS_DTPMOD
  5280. -- : BFD_RELOC_CRIS_32_IE
  5281. Relocs used in TLS code for CRIS.
  5282. -- : BFD_RELOC_OR1K_REL_26
  5283. -- : BFD_RELOC_OR1K_SLO16
  5284. -- : BFD_RELOC_OR1K_PCREL_PG21
  5285. -- : BFD_RELOC_OR1K_LO13
  5286. -- : BFD_RELOC_OR1K_SLO13
  5287. -- : BFD_RELOC_OR1K_GOTPC_HI16
  5288. -- : BFD_RELOC_OR1K_GOTPC_LO16
  5289. -- : BFD_RELOC_OR1K_GOT16
  5290. -- : BFD_RELOC_OR1K_GOT_PG21
  5291. -- : BFD_RELOC_OR1K_GOT_LO13
  5292. -- : BFD_RELOC_OR1K_PLT26
  5293. -- : BFD_RELOC_OR1K_PLTA26
  5294. -- : BFD_RELOC_OR1K_GOTOFF_SLO16
  5295. -- : BFD_RELOC_OR1K_COPY
  5296. -- : BFD_RELOC_OR1K_GLOB_DAT
  5297. -- : BFD_RELOC_OR1K_JMP_SLOT
  5298. -- : BFD_RELOC_OR1K_RELATIVE
  5299. -- : BFD_RELOC_OR1K_TLS_GD_HI16
  5300. -- : BFD_RELOC_OR1K_TLS_GD_LO16
  5301. -- : BFD_RELOC_OR1K_TLS_GD_PG21
  5302. -- : BFD_RELOC_OR1K_TLS_GD_LO13
  5303. -- : BFD_RELOC_OR1K_TLS_LDM_HI16
  5304. -- : BFD_RELOC_OR1K_TLS_LDM_LO16
  5305. -- : BFD_RELOC_OR1K_TLS_LDM_PG21
  5306. -- : BFD_RELOC_OR1K_TLS_LDM_LO13
  5307. -- : BFD_RELOC_OR1K_TLS_LDO_HI16
  5308. -- : BFD_RELOC_OR1K_TLS_LDO_LO16
  5309. -- : BFD_RELOC_OR1K_TLS_IE_HI16
  5310. -- : BFD_RELOC_OR1K_TLS_IE_AHI16
  5311. -- : BFD_RELOC_OR1K_TLS_IE_LO16
  5312. -- : BFD_RELOC_OR1K_TLS_IE_PG21
  5313. -- : BFD_RELOC_OR1K_TLS_IE_LO13
  5314. -- : BFD_RELOC_OR1K_TLS_LE_HI16
  5315. -- : BFD_RELOC_OR1K_TLS_LE_AHI16
  5316. -- : BFD_RELOC_OR1K_TLS_LE_LO16
  5317. -- : BFD_RELOC_OR1K_TLS_LE_SLO16
  5318. -- : BFD_RELOC_OR1K_TLS_TPOFF
  5319. -- : BFD_RELOC_OR1K_TLS_DTPOFF
  5320. -- : BFD_RELOC_OR1K_TLS_DTPMOD
  5321. OpenRISC 1000 Relocations.
  5322. -- : BFD_RELOC_H8_DIR16A8
  5323. -- : BFD_RELOC_H8_DIR16R8
  5324. -- : BFD_RELOC_H8_DIR24A8
  5325. -- : BFD_RELOC_H8_DIR24R8
  5326. -- : BFD_RELOC_H8_DIR32A16
  5327. -- : BFD_RELOC_H8_DISP32A16
  5328. H8 elf Relocations.
  5329. -- : BFD_RELOC_XSTORMY16_REL_12
  5330. -- : BFD_RELOC_XSTORMY16_12
  5331. -- : BFD_RELOC_XSTORMY16_24
  5332. -- : BFD_RELOC_XSTORMY16_FPTR16
  5333. Sony Xstormy16 Relocations.
  5334. -- : BFD_RELOC_RELC
  5335. Self-describing complex relocations.
  5336. -- : BFD_RELOC_XC16X_PAG
  5337. -- : BFD_RELOC_XC16X_POF
  5338. -- : BFD_RELOC_XC16X_SEG
  5339. -- : BFD_RELOC_XC16X_SOF
  5340. Infineon Relocations.
  5341. -- : BFD_RELOC_VAX_GLOB_DAT
  5342. -- : BFD_RELOC_VAX_JMP_SLOT
  5343. -- : BFD_RELOC_VAX_RELATIVE
  5344. Relocations used by VAX ELF.
  5345. -- : BFD_RELOC_MT_PC16
  5346. Morpho MT - 16 bit immediate relocation.
  5347. -- : BFD_RELOC_MT_HI16
  5348. Morpho MT - Hi 16 bits of an address.
  5349. -- : BFD_RELOC_MT_LO16
  5350. Morpho MT - Low 16 bits of an address.
  5351. -- : BFD_RELOC_MT_GNU_VTINHERIT
  5352. Morpho MT - Used to tell the linker which vtable entries are used.
  5353. -- : BFD_RELOC_MT_GNU_VTENTRY
  5354. Morpho MT - Used to tell the linker which vtable entries are used.
  5355. -- : BFD_RELOC_MT_PCINSN8
  5356. Morpho MT - 8 bit immediate relocation.
  5357. -- : BFD_RELOC_MSP430_10_PCREL
  5358. -- : BFD_RELOC_MSP430_16_PCREL
  5359. -- : BFD_RELOC_MSP430_16
  5360. -- : BFD_RELOC_MSP430_16_PCREL_BYTE
  5361. -- : BFD_RELOC_MSP430_16_BYTE
  5362. -- : BFD_RELOC_MSP430_2X_PCREL
  5363. -- : BFD_RELOC_MSP430_RL_PCREL
  5364. -- : BFD_RELOC_MSP430_ABS8
  5365. -- : BFD_RELOC_MSP430X_PCR20_EXT_SRC
  5366. -- : BFD_RELOC_MSP430X_PCR20_EXT_DST
  5367. -- : BFD_RELOC_MSP430X_PCR20_EXT_ODST
  5368. -- : BFD_RELOC_MSP430X_ABS20_EXT_SRC
  5369. -- : BFD_RELOC_MSP430X_ABS20_EXT_DST
  5370. -- : BFD_RELOC_MSP430X_ABS20_EXT_ODST
  5371. -- : BFD_RELOC_MSP430X_ABS20_ADR_SRC
  5372. -- : BFD_RELOC_MSP430X_ABS20_ADR_DST
  5373. -- : BFD_RELOC_MSP430X_PCR16
  5374. -- : BFD_RELOC_MSP430X_PCR20_CALL
  5375. -- : BFD_RELOC_MSP430X_ABS16
  5376. -- : BFD_RELOC_MSP430_ABS_HI16
  5377. -- : BFD_RELOC_MSP430_PREL31
  5378. -- : BFD_RELOC_MSP430_SYM_DIFF
  5379. msp430 specific relocation codes
  5380. -- : BFD_RELOC_NIOS2_S16
  5381. -- : BFD_RELOC_NIOS2_U16
  5382. -- : BFD_RELOC_NIOS2_CALL26
  5383. -- : BFD_RELOC_NIOS2_IMM5
  5384. -- : BFD_RELOC_NIOS2_CACHE_OPX
  5385. -- : BFD_RELOC_NIOS2_IMM6
  5386. -- : BFD_RELOC_NIOS2_IMM8
  5387. -- : BFD_RELOC_NIOS2_HI16
  5388. -- : BFD_RELOC_NIOS2_LO16
  5389. -- : BFD_RELOC_NIOS2_HIADJ16
  5390. -- : BFD_RELOC_NIOS2_GPREL
  5391. -- : BFD_RELOC_NIOS2_UJMP
  5392. -- : BFD_RELOC_NIOS2_CJMP
  5393. -- : BFD_RELOC_NIOS2_CALLR
  5394. -- : BFD_RELOC_NIOS2_ALIGN
  5395. -- : BFD_RELOC_NIOS2_GOT16
  5396. -- : BFD_RELOC_NIOS2_CALL16
  5397. -- : BFD_RELOC_NIOS2_GOTOFF_LO
  5398. -- : BFD_RELOC_NIOS2_GOTOFF_HA
  5399. -- : BFD_RELOC_NIOS2_PCREL_LO
  5400. -- : BFD_RELOC_NIOS2_PCREL_HA
  5401. -- : BFD_RELOC_NIOS2_TLS_GD16
  5402. -- : BFD_RELOC_NIOS2_TLS_LDM16
  5403. -- : BFD_RELOC_NIOS2_TLS_LDO16
  5404. -- : BFD_RELOC_NIOS2_TLS_IE16
  5405. -- : BFD_RELOC_NIOS2_TLS_LE16
  5406. -- : BFD_RELOC_NIOS2_TLS_DTPMOD
  5407. -- : BFD_RELOC_NIOS2_TLS_DTPREL
  5408. -- : BFD_RELOC_NIOS2_TLS_TPREL
  5409. -- : BFD_RELOC_NIOS2_COPY
  5410. -- : BFD_RELOC_NIOS2_GLOB_DAT
  5411. -- : BFD_RELOC_NIOS2_JUMP_SLOT
  5412. -- : BFD_RELOC_NIOS2_RELATIVE
  5413. -- : BFD_RELOC_NIOS2_GOTOFF
  5414. -- : BFD_RELOC_NIOS2_CALL26_NOAT
  5415. -- : BFD_RELOC_NIOS2_GOT_LO
  5416. -- : BFD_RELOC_NIOS2_GOT_HA
  5417. -- : BFD_RELOC_NIOS2_CALL_LO
  5418. -- : BFD_RELOC_NIOS2_CALL_HA
  5419. -- : BFD_RELOC_NIOS2_R2_S12
  5420. -- : BFD_RELOC_NIOS2_R2_I10_1_PCREL
  5421. -- : BFD_RELOC_NIOS2_R2_T1I7_1_PCREL
  5422. -- : BFD_RELOC_NIOS2_R2_T1I7_2
  5423. -- : BFD_RELOC_NIOS2_R2_T2I4
  5424. -- : BFD_RELOC_NIOS2_R2_T2I4_1
  5425. -- : BFD_RELOC_NIOS2_R2_T2I4_2
  5426. -- : BFD_RELOC_NIOS2_R2_X1I7_2
  5427. -- : BFD_RELOC_NIOS2_R2_X2L5
  5428. -- : BFD_RELOC_NIOS2_R2_F1I5_2
  5429. -- : BFD_RELOC_NIOS2_R2_L5I4X1
  5430. -- : BFD_RELOC_NIOS2_R2_T1X1I6
  5431. -- : BFD_RELOC_NIOS2_R2_T1X1I6_2
  5432. Relocations used by the Altera Nios II core.
  5433. -- : BFD_RELOC_PRU_U16
  5434. PRU LDI 16-bit unsigned data-memory relocation.
  5435. -- : BFD_RELOC_PRU_U16_PMEMIMM
  5436. PRU LDI 16-bit unsigned instruction-memory relocation.
  5437. -- : BFD_RELOC_PRU_LDI32
  5438. PRU relocation for two consecutive LDI load instructions that load
  5439. a 32 bit value into a register. If the higher bits are all zero,
  5440. then the second instruction may be relaxed.
  5441. -- : BFD_RELOC_PRU_S10_PCREL
  5442. PRU QBBx 10-bit signed PC-relative relocation.
  5443. -- : BFD_RELOC_PRU_U8_PCREL
  5444. PRU 8-bit unsigned relocation used for the LOOP instruction.
  5445. -- : BFD_RELOC_PRU_32_PMEM
  5446. -- : BFD_RELOC_PRU_16_PMEM
  5447. PRU Program Memory relocations. Used to convert from byte
  5448. addressing to 32-bit word addressing.
  5449. -- : BFD_RELOC_PRU_GNU_DIFF8
  5450. -- : BFD_RELOC_PRU_GNU_DIFF16
  5451. -- : BFD_RELOC_PRU_GNU_DIFF32
  5452. -- : BFD_RELOC_PRU_GNU_DIFF16_PMEM
  5453. -- : BFD_RELOC_PRU_GNU_DIFF32_PMEM
  5454. PRU relocations to mark the difference of two local symbols. These
  5455. are only needed to support linker relaxation and can be ignored
  5456. when not relaxing. The field is set to the value of the difference
  5457. assuming no relaxation. The relocation encodes the position of the
  5458. second symbol so the linker can determine whether to adjust the
  5459. field value. The PMEM variants encode the word difference, instead
  5460. of byte difference between symbols.
  5461. -- : BFD_RELOC_IQ2000_OFFSET_16
  5462. -- : BFD_RELOC_IQ2000_OFFSET_21
  5463. -- : BFD_RELOC_IQ2000_UHI16
  5464. IQ2000 Relocations.
  5465. -- : BFD_RELOC_XTENSA_RTLD
  5466. Special Xtensa relocation used only by PLT entries in ELF shared
  5467. objects to indicate that the runtime linker should set the value to
  5468. one of its own internal functions or data structures.
  5469. -- : BFD_RELOC_XTENSA_GLOB_DAT
  5470. -- : BFD_RELOC_XTENSA_JMP_SLOT
  5471. -- : BFD_RELOC_XTENSA_RELATIVE
  5472. Xtensa relocations for ELF shared objects.
  5473. -- : BFD_RELOC_XTENSA_PLT
  5474. Xtensa relocation used in ELF object files for symbols that may
  5475. require PLT entries. Otherwise, this is just a generic 32-bit
  5476. relocation.
  5477. -- : BFD_RELOC_XTENSA_DIFF8
  5478. -- : BFD_RELOC_XTENSA_DIFF16
  5479. -- : BFD_RELOC_XTENSA_DIFF32
  5480. Xtensa relocations to mark the difference of two local symbols.
  5481. These are only needed to support linker relaxation and can be
  5482. ignored when not relaxing. The field is set to the value of the
  5483. difference assuming no relaxation. The relocation encodes the
  5484. position of the first symbol so the linker can determine whether to
  5485. adjust the field value.
  5486. -- : BFD_RELOC_XTENSA_SLOT0_OP
  5487. -- : BFD_RELOC_XTENSA_SLOT1_OP
  5488. -- : BFD_RELOC_XTENSA_SLOT2_OP
  5489. -- : BFD_RELOC_XTENSA_SLOT3_OP
  5490. -- : BFD_RELOC_XTENSA_SLOT4_OP
  5491. -- : BFD_RELOC_XTENSA_SLOT5_OP
  5492. -- : BFD_RELOC_XTENSA_SLOT6_OP
  5493. -- : BFD_RELOC_XTENSA_SLOT7_OP
  5494. -- : BFD_RELOC_XTENSA_SLOT8_OP
  5495. -- : BFD_RELOC_XTENSA_SLOT9_OP
  5496. -- : BFD_RELOC_XTENSA_SLOT10_OP
  5497. -- : BFD_RELOC_XTENSA_SLOT11_OP
  5498. -- : BFD_RELOC_XTENSA_SLOT12_OP
  5499. -- : BFD_RELOC_XTENSA_SLOT13_OP
  5500. -- : BFD_RELOC_XTENSA_SLOT14_OP
  5501. Generic Xtensa relocations for instruction operands. Only the slot
  5502. number is encoded in the relocation. The relocation applies to the
  5503. last PC-relative immediate operand, or if there are no PC-relative
  5504. immediates, to the last immediate operand.
  5505. -- : BFD_RELOC_XTENSA_SLOT0_ALT
  5506. -- : BFD_RELOC_XTENSA_SLOT1_ALT
  5507. -- : BFD_RELOC_XTENSA_SLOT2_ALT
  5508. -- : BFD_RELOC_XTENSA_SLOT3_ALT
  5509. -- : BFD_RELOC_XTENSA_SLOT4_ALT
  5510. -- : BFD_RELOC_XTENSA_SLOT5_ALT
  5511. -- : BFD_RELOC_XTENSA_SLOT6_ALT
  5512. -- : BFD_RELOC_XTENSA_SLOT7_ALT
  5513. -- : BFD_RELOC_XTENSA_SLOT8_ALT
  5514. -- : BFD_RELOC_XTENSA_SLOT9_ALT
  5515. -- : BFD_RELOC_XTENSA_SLOT10_ALT
  5516. -- : BFD_RELOC_XTENSA_SLOT11_ALT
  5517. -- : BFD_RELOC_XTENSA_SLOT12_ALT
  5518. -- : BFD_RELOC_XTENSA_SLOT13_ALT
  5519. -- : BFD_RELOC_XTENSA_SLOT14_ALT
  5520. Alternate Xtensa relocations. Only the slot is encoded in the
  5521. relocation. The meaning of these relocations is opcode-specific.
  5522. -- : BFD_RELOC_XTENSA_OP0
  5523. -- : BFD_RELOC_XTENSA_OP1
  5524. -- : BFD_RELOC_XTENSA_OP2
  5525. Xtensa relocations for backward compatibility. These have all been
  5526. replaced by BFD_RELOC_XTENSA_SLOT0_OP.
  5527. -- : BFD_RELOC_XTENSA_ASM_EXPAND
  5528. Xtensa relocation to mark that the assembler expanded the
  5529. instructions from an original target. The expansion size is
  5530. encoded in the reloc size.
  5531. -- : BFD_RELOC_XTENSA_ASM_SIMPLIFY
  5532. Xtensa relocation to mark that the linker should simplify
  5533. assembler-expanded instructions. This is commonly used internally
  5534. by the linker after analysis of a BFD_RELOC_XTENSA_ASM_EXPAND.
  5535. -- : BFD_RELOC_XTENSA_TLSDESC_FN
  5536. -- : BFD_RELOC_XTENSA_TLSDESC_ARG
  5537. -- : BFD_RELOC_XTENSA_TLS_DTPOFF
  5538. -- : BFD_RELOC_XTENSA_TLS_TPOFF
  5539. -- : BFD_RELOC_XTENSA_TLS_FUNC
  5540. -- : BFD_RELOC_XTENSA_TLS_ARG
  5541. -- : BFD_RELOC_XTENSA_TLS_CALL
  5542. Xtensa TLS relocations.
  5543. -- : BFD_RELOC_Z80_DISP8
  5544. 8 bit signed offset in (ix+d) or (iy+d).
  5545. -- : BFD_RELOC_Z8K_DISP7
  5546. DJNZ offset.
  5547. -- : BFD_RELOC_Z8K_CALLR
  5548. CALR offset.
  5549. -- : BFD_RELOC_Z8K_IMM4L
  5550. 4 bit value.
  5551. -- : BFD_RELOC_LM32_CALL
  5552. -- : BFD_RELOC_LM32_BRANCH
  5553. -- : BFD_RELOC_LM32_16_GOT
  5554. -- : BFD_RELOC_LM32_GOTOFF_HI16
  5555. -- : BFD_RELOC_LM32_GOTOFF_LO16
  5556. -- : BFD_RELOC_LM32_COPY
  5557. -- : BFD_RELOC_LM32_GLOB_DAT
  5558. -- : BFD_RELOC_LM32_JMP_SLOT
  5559. -- : BFD_RELOC_LM32_RELATIVE
  5560. Lattice Mico32 relocations.
  5561. -- : BFD_RELOC_MACH_O_SECTDIFF
  5562. Difference between two section addreses. Must be followed by a
  5563. BFD_RELOC_MACH_O_PAIR.
  5564. -- : BFD_RELOC_MACH_O_LOCAL_SECTDIFF
  5565. Like BFD_RELOC_MACH_O_SECTDIFF but with a local symbol.
  5566. -- : BFD_RELOC_MACH_O_PAIR
  5567. Pair of relocation. Contains the first symbol.
  5568. -- : BFD_RELOC_MACH_O_SUBTRACTOR32
  5569. Symbol will be substracted. Must be followed by a BFD_RELOC_32.
  5570. -- : BFD_RELOC_MACH_O_SUBTRACTOR64
  5571. Symbol will be substracted. Must be followed by a BFD_RELOC_64.
  5572. -- : BFD_RELOC_MACH_O_X86_64_BRANCH32
  5573. -- : BFD_RELOC_MACH_O_X86_64_BRANCH8
  5574. PCREL relocations. They are marked as branch to create PLT entry
  5575. if required.
  5576. -- : BFD_RELOC_MACH_O_X86_64_GOT
  5577. Used when referencing a GOT entry.
  5578. -- : BFD_RELOC_MACH_O_X86_64_GOT_LOAD
  5579. Used when loading a GOT entry with movq. It is specially marked so
  5580. that the linker could optimize the movq to a leaq if possible.
  5581. -- : BFD_RELOC_MACH_O_X86_64_PCREL32_1
  5582. Same as BFD_RELOC_32_PCREL but with an implicit -1 addend.
  5583. -- : BFD_RELOC_MACH_O_X86_64_PCREL32_2
  5584. Same as BFD_RELOC_32_PCREL but with an implicit -2 addend.
  5585. -- : BFD_RELOC_MACH_O_X86_64_PCREL32_4
  5586. Same as BFD_RELOC_32_PCREL but with an implicit -4 addend.
  5587. -- : BFD_RELOC_MACH_O_X86_64_TLV
  5588. Used when referencing a TLV entry.
  5589. -- : BFD_RELOC_MACH_O_ARM64_ADDEND
  5590. Addend for PAGE or PAGEOFF.
  5591. -- : BFD_RELOC_MACH_O_ARM64_GOT_LOAD_PAGE21
  5592. Relative offset to page of GOT slot.
  5593. -- : BFD_RELOC_MACH_O_ARM64_GOT_LOAD_PAGEOFF12
  5594. Relative offset within page of GOT slot.
  5595. -- : BFD_RELOC_MACH_O_ARM64_POINTER_TO_GOT
  5596. Address of a GOT entry.
  5597. -- : BFD_RELOC_MICROBLAZE_32_LO
  5598. This is a 32 bit reloc for the microblaze that stores the low 16
  5599. bits of a value
  5600. -- : BFD_RELOC_MICROBLAZE_32_LO_PCREL
  5601. This is a 32 bit pc-relative reloc for the microblaze that stores
  5602. the low 16 bits of a value
  5603. -- : BFD_RELOC_MICROBLAZE_32_ROSDA
  5604. This is a 32 bit reloc for the microblaze that stores a value
  5605. relative to the read-only small data area anchor
  5606. -- : BFD_RELOC_MICROBLAZE_32_RWSDA
  5607. This is a 32 bit reloc for the microblaze that stores a value
  5608. relative to the read-write small data area anchor
  5609. -- : BFD_RELOC_MICROBLAZE_32_SYM_OP_SYM
  5610. This is a 32 bit reloc for the microblaze to handle expressions of
  5611. the form "Symbol Op Symbol"
  5612. -- : BFD_RELOC_MICROBLAZE_64_NONE
  5613. This is a 64 bit reloc that stores the 32 bit pc relative value in
  5614. two words (with an imm instruction). No relocation is done here -
  5615. only used for relaxing
  5616. -- : BFD_RELOC_MICROBLAZE_64_GOTPC
  5617. This is a 64 bit reloc that stores the 32 bit pc relative value in
  5618. two words (with an imm instruction). The relocation is PC-relative
  5619. GOT offset
  5620. -- : BFD_RELOC_MICROBLAZE_64_GOT
  5621. This is a 64 bit reloc that stores the 32 bit pc relative value in
  5622. two words (with an imm instruction). The relocation is GOT offset
  5623. -- : BFD_RELOC_MICROBLAZE_64_PLT
  5624. This is a 64 bit reloc that stores the 32 bit pc relative value in
  5625. two words (with an imm instruction). The relocation is PC-relative
  5626. offset into PLT
  5627. -- : BFD_RELOC_MICROBLAZE_64_GOTOFF
  5628. This is a 64 bit reloc that stores the 32 bit GOT relative value in
  5629. two words (with an imm instruction). The relocation is relative
  5630. offset from _GLOBAL_OFFSET_TABLE_
  5631. -- : BFD_RELOC_MICROBLAZE_32_GOTOFF
  5632. This is a 32 bit reloc that stores the 32 bit GOT relative value in
  5633. a word. The relocation is relative offset from
  5634. -- : BFD_RELOC_MICROBLAZE_COPY
  5635. This is used to tell the dynamic linker to copy the value out of
  5636. the dynamic object into the runtime process image.
  5637. -- : BFD_RELOC_MICROBLAZE_64_TLS
  5638. Unused Reloc
  5639. -- : BFD_RELOC_MICROBLAZE_64_TLSGD
  5640. This is a 64 bit reloc that stores the 32 bit GOT relative value of
  5641. the GOT TLS GD info entry in two words (with an imm instruction).
  5642. The relocation is GOT offset.
  5643. -- : BFD_RELOC_MICROBLAZE_64_TLSLD
  5644. This is a 64 bit reloc that stores the 32 bit GOT relative value of
  5645. the GOT TLS LD info entry in two words (with an imm instruction).
  5646. The relocation is GOT offset.
  5647. -- : BFD_RELOC_MICROBLAZE_32_TLSDTPMOD
  5648. This is a 32 bit reloc that stores the Module ID to GOT(n).
  5649. -- : BFD_RELOC_MICROBLAZE_32_TLSDTPREL
  5650. This is a 32 bit reloc that stores TLS offset to GOT(n+1).
  5651. -- : BFD_RELOC_MICROBLAZE_64_TLSDTPREL
  5652. This is a 32 bit reloc for storing TLS offset to two words (uses
  5653. imm instruction)
  5654. -- : BFD_RELOC_MICROBLAZE_64_TLSGOTTPREL
  5655. This is a 64 bit reloc that stores 32-bit thread pointer relative
  5656. offset to two words (uses imm instruction).
  5657. -- : BFD_RELOC_MICROBLAZE_64_TLSTPREL
  5658. This is a 64 bit reloc that stores 32-bit thread pointer relative
  5659. offset to two words (uses imm instruction).
  5660. -- : BFD_RELOC_MICROBLAZE_64_TEXTPCREL
  5661. This is a 64 bit reloc that stores the 32 bit pc relative value in
  5662. two words (with an imm instruction). The relocation is PC-relative
  5663. offset from start of TEXT.
  5664. -- : BFD_RELOC_MICROBLAZE_64_TEXTREL
  5665. This is a 64 bit reloc that stores the 32 bit offset value in two
  5666. words (with an imm instruction). The relocation is relative offset
  5667. from start of TEXT.
  5668. -- : BFD_RELOC_AARCH64_RELOC_START
  5669. AArch64 pseudo relocation code to mark the start of the AArch64
  5670. relocation enumerators. N.B. the order of the enumerators is
  5671. important as several tables in the AArch64 bfd backend are indexed
  5672. by these enumerators; make sure they are all synced.
  5673. -- : BFD_RELOC_AARCH64_NULL
  5674. Deprecated AArch64 null relocation code.
  5675. -- : BFD_RELOC_AARCH64_NONE
  5676. AArch64 null relocation code.
  5677. -- : BFD_RELOC_AARCH64_64
  5678. -- : BFD_RELOC_AARCH64_32
  5679. -- : BFD_RELOC_AARCH64_16
  5680. Basic absolute relocations of N bits. These are equivalent to
  5681. BFD_RELOC_N and they were added to assist the indexing of the howto
  5682. table.
  5683. -- : BFD_RELOC_AARCH64_64_PCREL
  5684. -- : BFD_RELOC_AARCH64_32_PCREL
  5685. -- : BFD_RELOC_AARCH64_16_PCREL
  5686. PC-relative relocations. These are equivalent to BFD_RELOC_N_PCREL
  5687. and they were added to assist the indexing of the howto table.
  5688. -- : BFD_RELOC_AARCH64_MOVW_G0
  5689. AArch64 MOV[NZK] instruction with most significant bits 0 to 15 of
  5690. an unsigned address/value.
  5691. -- : BFD_RELOC_AARCH64_MOVW_G0_NC
  5692. AArch64 MOV[NZK] instruction with less significant bits 0 to 15 of
  5693. an address/value. No overflow checking.
  5694. -- : BFD_RELOC_AARCH64_MOVW_G1
  5695. AArch64 MOV[NZK] instruction with most significant bits 16 to 31 of
  5696. an unsigned address/value.
  5697. -- : BFD_RELOC_AARCH64_MOVW_G1_NC
  5698. AArch64 MOV[NZK] instruction with less significant bits 16 to 31 of
  5699. an address/value. No overflow checking.
  5700. -- : BFD_RELOC_AARCH64_MOVW_G2
  5701. AArch64 MOV[NZK] instruction with most significant bits 32 to 47 of
  5702. an unsigned address/value.
  5703. -- : BFD_RELOC_AARCH64_MOVW_G2_NC
  5704. AArch64 MOV[NZK] instruction with less significant bits 32 to 47 of
  5705. an address/value. No overflow checking.
  5706. -- : BFD_RELOC_AARCH64_MOVW_G3
  5707. AArch64 MOV[NZK] instruction with most signficant bits 48 to 64 of
  5708. a signed or unsigned address/value.
  5709. -- : BFD_RELOC_AARCH64_MOVW_G0_S
  5710. AArch64 MOV[NZ] instruction with most significant bits 0 to 15 of a
  5711. signed value. Changes instruction to MOVZ or MOVN depending on the
  5712. value's sign.
  5713. -- : BFD_RELOC_AARCH64_MOVW_G1_S
  5714. AArch64 MOV[NZ] instruction with most significant bits 16 to 31 of
  5715. a signed value. Changes instruction to MOVZ or MOVN depending on
  5716. the value's sign.
  5717. -- : BFD_RELOC_AARCH64_MOVW_G2_S
  5718. AArch64 MOV[NZ] instruction with most significant bits 32 to 47 of
  5719. a signed value. Changes instruction to MOVZ or MOVN depending on
  5720. the value's sign.
  5721. -- : BFD_RELOC_AARCH64_MOVW_PREL_G0
  5722. AArch64 MOV[NZ] instruction with most significant bits 0 to 15 of a
  5723. signed value. Changes instruction to MOVZ or MOVN depending on the
  5724. value's sign.
  5725. -- : BFD_RELOC_AARCH64_MOVW_PREL_G0_NC
  5726. AArch64 MOV[NZ] instruction with most significant bits 0 to 15 of a
  5727. signed value. Changes instruction to MOVZ or MOVN depending on the
  5728. value's sign.
  5729. -- : BFD_RELOC_AARCH64_MOVW_PREL_G1
  5730. AArch64 MOVK instruction with most significant bits 16 to 31 of a
  5731. signed value.
  5732. -- : BFD_RELOC_AARCH64_MOVW_PREL_G1_NC
  5733. AArch64 MOVK instruction with most significant bits 16 to 31 of a
  5734. signed value.
  5735. -- : BFD_RELOC_AARCH64_MOVW_PREL_G2
  5736. AArch64 MOVK instruction with most significant bits 32 to 47 of a
  5737. signed value.
  5738. -- : BFD_RELOC_AARCH64_MOVW_PREL_G2_NC
  5739. AArch64 MOVK instruction with most significant bits 32 to 47 of a
  5740. signed value.
  5741. -- : BFD_RELOC_AARCH64_MOVW_PREL_G3
  5742. AArch64 MOVK instruction with most significant bits 47 to 63 of a
  5743. signed value.
  5744. -- : BFD_RELOC_AARCH64_LD_LO19_PCREL
  5745. AArch64 Load Literal instruction, holding a 19 bit pc-relative word
  5746. offset. The lowest two bits must be zero and are not stored in the
  5747. instruction, giving a 21 bit signed byte offset.
  5748. -- : BFD_RELOC_AARCH64_ADR_LO21_PCREL
  5749. AArch64 ADR instruction, holding a simple 21 bit pc-relative byte
  5750. offset.
  5751. -- : BFD_RELOC_AARCH64_ADR_HI21_PCREL
  5752. AArch64 ADRP instruction, with bits 12 to 32 of a pc-relative page
  5753. offset, giving a 4KB aligned page base address.
  5754. -- : BFD_RELOC_AARCH64_ADR_HI21_NC_PCREL
  5755. AArch64 ADRP instruction, with bits 12 to 32 of a pc-relative page
  5756. offset, giving a 4KB aligned page base address, but with no
  5757. overflow checking.
  5758. -- : BFD_RELOC_AARCH64_ADD_LO12
  5759. AArch64 ADD immediate instruction, holding bits 0 to 11 of the
  5760. address. Used in conjunction with
  5761. BFD_RELOC_AARCH64_ADR_HI21_PCREL.
  5762. -- : BFD_RELOC_AARCH64_LDST8_LO12
  5763. AArch64 8-bit load/store instruction, holding bits 0 to 11 of the
  5764. address. Used in conjunction with
  5765. BFD_RELOC_AARCH64_ADR_HI21_PCREL.
  5766. -- : BFD_RELOC_AARCH64_TSTBR14
  5767. AArch64 14 bit pc-relative test bit and branch. The lowest two
  5768. bits must be zero and are not stored in the instruction, giving a
  5769. 16 bit signed byte offset.
  5770. -- : BFD_RELOC_AARCH64_BRANCH19
  5771. AArch64 19 bit pc-relative conditional branch and compare & branch.
  5772. The lowest two bits must be zero and are not stored in the
  5773. instruction, giving a 21 bit signed byte offset.
  5774. -- : BFD_RELOC_AARCH64_JUMP26
  5775. AArch64 26 bit pc-relative unconditional branch. The lowest two
  5776. bits must be zero and are not stored in the instruction, giving a
  5777. 28 bit signed byte offset.
  5778. -- : BFD_RELOC_AARCH64_CALL26
  5779. AArch64 26 bit pc-relative unconditional branch and link. The
  5780. lowest two bits must be zero and are not stored in the instruction,
  5781. giving a 28 bit signed byte offset.
  5782. -- : BFD_RELOC_AARCH64_LDST16_LO12
  5783. AArch64 16-bit load/store instruction, holding bits 0 to 11 of the
  5784. address. Used in conjunction with
  5785. BFD_RELOC_AARCH64_ADR_HI21_PCREL.
  5786. -- : BFD_RELOC_AARCH64_LDST32_LO12
  5787. AArch64 32-bit load/store instruction, holding bits 0 to 11 of the
  5788. address. Used in conjunction with
  5789. BFD_RELOC_AARCH64_ADR_HI21_PCREL.
  5790. -- : BFD_RELOC_AARCH64_LDST64_LO12
  5791. AArch64 64-bit load/store instruction, holding bits 0 to 11 of the
  5792. address. Used in conjunction with
  5793. BFD_RELOC_AARCH64_ADR_HI21_PCREL.
  5794. -- : BFD_RELOC_AARCH64_LDST128_LO12
  5795. AArch64 128-bit load/store instruction, holding bits 0 to 11 of the
  5796. address. Used in conjunction with
  5797. BFD_RELOC_AARCH64_ADR_HI21_PCREL.
  5798. -- : BFD_RELOC_AARCH64_GOT_LD_PREL19
  5799. AArch64 Load Literal instruction, holding a 19 bit PC relative word
  5800. offset of the global offset table entry for a symbol. The lowest
  5801. two bits must be zero and are not stored in the instruction, giving
  5802. a 21 bit signed byte offset. This relocation type requires signed
  5803. overflow checking.
  5804. -- : BFD_RELOC_AARCH64_ADR_GOT_PAGE
  5805. Get to the page base of the global offset table entry for a symbol
  5806. as part of an ADRP instruction using a 21 bit PC relative
  5807. value.Used in conjunction with BFD_RELOC_AARCH64_LD64_GOT_LO12_NC.
  5808. -- : BFD_RELOC_AARCH64_LD64_GOT_LO12_NC
  5809. Unsigned 12 bit byte offset for 64 bit load/store from the page of
  5810. the GOT entry for this symbol. Used in conjunction with
  5811. BFD_RELOC_AARCH64_ADR_GOT_PAGE. Valid in LP64 ABI only.
  5812. -- : BFD_RELOC_AARCH64_LD32_GOT_LO12_NC
  5813. Unsigned 12 bit byte offset for 32 bit load/store from the page of
  5814. the GOT entry for this symbol. Used in conjunction with
  5815. BFD_RELOC_AARCH64_ADR_GOT_PAGE. Valid in ILP32 ABI only.
  5816. -- : BFD_RELOC_AARCH64_MOVW_GOTOFF_G0_NC
  5817. Unsigned 16 bit byte offset for 64 bit load/store from the GOT
  5818. entry for this symbol. Valid in LP64 ABI only.
  5819. -- : BFD_RELOC_AARCH64_MOVW_GOTOFF_G1
  5820. Unsigned 16 bit byte higher offset for 64 bit load/store from the
  5821. GOT entry for this symbol. Valid in LP64 ABI only.
  5822. -- : BFD_RELOC_AARCH64_LD64_GOTOFF_LO15
  5823. Unsigned 15 bit byte offset for 64 bit load/store from the page of
  5824. the GOT entry for this symbol. Valid in LP64 ABI only.
  5825. -- : BFD_RELOC_AARCH64_LD32_GOTPAGE_LO14
  5826. Scaled 14 bit byte offset to the page base of the global offset
  5827. table.
  5828. -- : BFD_RELOC_AARCH64_LD64_GOTPAGE_LO15
  5829. Scaled 15 bit byte offset to the page base of the global offset
  5830. table.
  5831. -- : BFD_RELOC_AARCH64_TLSGD_ADR_PAGE21
  5832. Get to the page base of the global offset table entry for a symbols
  5833. tls_index structure as part of an adrp instruction using a 21 bit
  5834. PC relative value. Used in conjunction with
  5835. BFD_RELOC_AARCH64_TLSGD_ADD_LO12_NC.
  5836. -- : BFD_RELOC_AARCH64_TLSGD_ADR_PREL21
  5837. AArch64 TLS General Dynamic
  5838. -- : BFD_RELOC_AARCH64_TLSGD_ADD_LO12_NC
  5839. Unsigned 12 bit byte offset to global offset table entry for a
  5840. symbols tls_index structure. Used in conjunction with
  5841. BFD_RELOC_AARCH64_TLSGD_ADR_PAGE21.
  5842. -- : BFD_RELOC_AARCH64_TLSGD_MOVW_G0_NC
  5843. AArch64 TLS General Dynamic relocation.
  5844. -- : BFD_RELOC_AARCH64_TLSGD_MOVW_G1
  5845. AArch64 TLS General Dynamic relocation.
  5846. -- : BFD_RELOC_AARCH64_TLSIE_ADR_GOTTPREL_PAGE21
  5847. AArch64 TLS INITIAL EXEC relocation.
  5848. -- : BFD_RELOC_AARCH64_TLSIE_LD64_GOTTPREL_LO12_NC
  5849. AArch64 TLS INITIAL EXEC relocation.
  5850. -- : BFD_RELOC_AARCH64_TLSIE_LD32_GOTTPREL_LO12_NC
  5851. AArch64 TLS INITIAL EXEC relocation.
  5852. -- : BFD_RELOC_AARCH64_TLSIE_LD_GOTTPREL_PREL19
  5853. AArch64 TLS INITIAL EXEC relocation.
  5854. -- : BFD_RELOC_AARCH64_TLSIE_MOVW_GOTTPREL_G0_NC
  5855. AArch64 TLS INITIAL EXEC relocation.
  5856. -- : BFD_RELOC_AARCH64_TLSIE_MOVW_GOTTPREL_G1
  5857. AArch64 TLS INITIAL EXEC relocation.
  5858. -- : BFD_RELOC_AARCH64_TLSLD_ADD_DTPREL_HI12
  5859. bit[23:12] of byte offset to module TLS base address.
  5860. -- : BFD_RELOC_AARCH64_TLSLD_ADD_DTPREL_LO12
  5861. Unsigned 12 bit byte offset to module TLS base address.
  5862. -- : BFD_RELOC_AARCH64_TLSLD_ADD_DTPREL_LO12_NC
  5863. No overflow check version of
  5864. BFD_RELOC_AARCH64_TLSLD_ADD_DTPREL_LO12.
  5865. -- : BFD_RELOC_AARCH64_TLSLD_ADD_LO12_NC
  5866. Unsigned 12 bit byte offset to global offset table entry for a
  5867. symbols tls_index structure. Used in conjunction with
  5868. BFD_RELOC_AARCH64_TLSLD_ADR_PAGE21.
  5869. -- : BFD_RELOC_AARCH64_TLSLD_ADR_PAGE21
  5870. GOT entry page address for AArch64 TLS Local Dynamic, used with
  5871. ADRP instruction.
  5872. -- : BFD_RELOC_AARCH64_TLSLD_ADR_PREL21
  5873. GOT entry address for AArch64 TLS Local Dynamic, used with ADR
  5874. instruction.
  5875. -- : BFD_RELOC_AARCH64_TLSLD_LDST16_DTPREL_LO12
  5876. bit[11:1] of byte offset to module TLS base address, encoded in
  5877. ldst instructions.
  5878. -- : BFD_RELOC_AARCH64_TLSLD_LDST16_DTPREL_LO12_NC
  5879. Similar as BFD_RELOC_AARCH64_TLSLD_LDST16_DTPREL_LO12, but no
  5880. overflow check.
  5881. -- : BFD_RELOC_AARCH64_TLSLD_LDST32_DTPREL_LO12
  5882. bit[11:2] of byte offset to module TLS base address, encoded in
  5883. ldst instructions.
  5884. -- : BFD_RELOC_AARCH64_TLSLD_LDST32_DTPREL_LO12_NC
  5885. Similar as BFD_RELOC_AARCH64_TLSLD_LDST32_DTPREL_LO12, but no
  5886. overflow check.
  5887. -- : BFD_RELOC_AARCH64_TLSLD_LDST64_DTPREL_LO12
  5888. bit[11:3] of byte offset to module TLS base address, encoded in
  5889. ldst instructions.
  5890. -- : BFD_RELOC_AARCH64_TLSLD_LDST64_DTPREL_LO12_NC
  5891. Similar as BFD_RELOC_AARCH64_TLSLD_LDST64_DTPREL_LO12, but no
  5892. overflow check.
  5893. -- : BFD_RELOC_AARCH64_TLSLD_LDST8_DTPREL_LO12
  5894. bit[11:0] of byte offset to module TLS base address, encoded in
  5895. ldst instructions.
  5896. -- : BFD_RELOC_AARCH64_TLSLD_LDST8_DTPREL_LO12_NC
  5897. Similar as BFD_RELOC_AARCH64_TLSLD_LDST8_DTPREL_LO12, but no
  5898. overflow check.
  5899. -- : BFD_RELOC_AARCH64_TLSLD_MOVW_DTPREL_G0
  5900. bit[15:0] of byte offset to module TLS base address.
  5901. -- : BFD_RELOC_AARCH64_TLSLD_MOVW_DTPREL_G0_NC
  5902. No overflow check version of BFD_RELOC_AARCH64_TLSLD_MOVW_DTPREL_G0
  5903. -- : BFD_RELOC_AARCH64_TLSLD_MOVW_DTPREL_G1
  5904. bit[31:16] of byte offset to module TLS base address.
  5905. -- : BFD_RELOC_AARCH64_TLSLD_MOVW_DTPREL_G1_NC
  5906. No overflow check version of BFD_RELOC_AARCH64_TLSLD_MOVW_DTPREL_G1
  5907. -- : BFD_RELOC_AARCH64_TLSLD_MOVW_DTPREL_G2
  5908. bit[47:32] of byte offset to module TLS base address.
  5909. -- : BFD_RELOC_AARCH64_TLSLE_MOVW_TPREL_G2
  5910. AArch64 TLS LOCAL EXEC relocation.
  5911. -- : BFD_RELOC_AARCH64_TLSLE_MOVW_TPREL_G1
  5912. AArch64 TLS LOCAL EXEC relocation.
  5913. -- : BFD_RELOC_AARCH64_TLSLE_MOVW_TPREL_G1_NC
  5914. AArch64 TLS LOCAL EXEC relocation.
  5915. -- : BFD_RELOC_AARCH64_TLSLE_MOVW_TPREL_G0
  5916. AArch64 TLS LOCAL EXEC relocation.
  5917. -- : BFD_RELOC_AARCH64_TLSLE_MOVW_TPREL_G0_NC
  5918. AArch64 TLS LOCAL EXEC relocation.
  5919. -- : BFD_RELOC_AARCH64_TLSLE_ADD_TPREL_HI12
  5920. AArch64 TLS LOCAL EXEC relocation.
  5921. -- : BFD_RELOC_AARCH64_TLSLE_ADD_TPREL_LO12
  5922. AArch64 TLS LOCAL EXEC relocation.
  5923. -- : BFD_RELOC_AARCH64_TLSLE_ADD_TPREL_LO12_NC
  5924. AArch64 TLS LOCAL EXEC relocation.
  5925. -- : BFD_RELOC_AARCH64_TLSLE_LDST16_TPREL_LO12
  5926. bit[11:1] of byte offset to module TLS base address, encoded in
  5927. ldst instructions.
  5928. -- : BFD_RELOC_AARCH64_TLSLE_LDST16_TPREL_LO12_NC
  5929. Similar as BFD_RELOC_AARCH64_TLSLE_LDST16_TPREL_LO12, but no
  5930. overflow check.
  5931. -- : BFD_RELOC_AARCH64_TLSLE_LDST32_TPREL_LO12
  5932. bit[11:2] of byte offset to module TLS base address, encoded in
  5933. ldst instructions.
  5934. -- : BFD_RELOC_AARCH64_TLSLE_LDST32_TPREL_LO12_NC
  5935. Similar as BFD_RELOC_AARCH64_TLSLE_LDST32_TPREL_LO12, but no
  5936. overflow check.
  5937. -- : BFD_RELOC_AARCH64_TLSLE_LDST64_TPREL_LO12
  5938. bit[11:3] of byte offset to module TLS base address, encoded in
  5939. ldst instructions.
  5940. -- : BFD_RELOC_AARCH64_TLSLE_LDST64_TPREL_LO12_NC
  5941. Similar as BFD_RELOC_AARCH64_TLSLE_LDST64_TPREL_LO12, but no
  5942. overflow check.
  5943. -- : BFD_RELOC_AARCH64_TLSLE_LDST8_TPREL_LO12
  5944. bit[11:0] of byte offset to module TLS base address, encoded in
  5945. ldst instructions.
  5946. -- : BFD_RELOC_AARCH64_TLSLE_LDST8_TPREL_LO12_NC
  5947. Similar as BFD_RELOC_AARCH64_TLSLE_LDST8_TPREL_LO12, but no
  5948. overflow check.
  5949. -- : BFD_RELOC_AARCH64_TLSDESC_LD_PREL19
  5950. AArch64 TLS DESC relocation.
  5951. -- : BFD_RELOC_AARCH64_TLSDESC_ADR_PREL21
  5952. AArch64 TLS DESC relocation.
  5953. -- : BFD_RELOC_AARCH64_TLSDESC_ADR_PAGE21
  5954. AArch64 TLS DESC relocation.
  5955. -- : BFD_RELOC_AARCH64_TLSDESC_LD64_LO12
  5956. AArch64 TLS DESC relocation.
  5957. -- : BFD_RELOC_AARCH64_TLSDESC_LD32_LO12_NC
  5958. AArch64 TLS DESC relocation.
  5959. -- : BFD_RELOC_AARCH64_TLSDESC_ADD_LO12
  5960. AArch64 TLS DESC relocation.
  5961. -- : BFD_RELOC_AARCH64_TLSDESC_OFF_G1
  5962. AArch64 TLS DESC relocation.
  5963. -- : BFD_RELOC_AARCH64_TLSDESC_OFF_G0_NC
  5964. AArch64 TLS DESC relocation.
  5965. -- : BFD_RELOC_AARCH64_TLSDESC_LDR
  5966. AArch64 TLS DESC relocation.
  5967. -- : BFD_RELOC_AARCH64_TLSDESC_ADD
  5968. AArch64 TLS DESC relocation.
  5969. -- : BFD_RELOC_AARCH64_TLSDESC_CALL
  5970. AArch64 TLS DESC relocation.
  5971. -- : BFD_RELOC_AARCH64_COPY
  5972. AArch64 TLS relocation.
  5973. -- : BFD_RELOC_AARCH64_GLOB_DAT
  5974. AArch64 TLS relocation.
  5975. -- : BFD_RELOC_AARCH64_JUMP_SLOT
  5976. AArch64 TLS relocation.
  5977. -- : BFD_RELOC_AARCH64_RELATIVE
  5978. AArch64 TLS relocation.
  5979. -- : BFD_RELOC_AARCH64_TLS_DTPMOD
  5980. AArch64 TLS relocation.
  5981. -- : BFD_RELOC_AARCH64_TLS_DTPREL
  5982. AArch64 TLS relocation.
  5983. -- : BFD_RELOC_AARCH64_TLS_TPREL
  5984. AArch64 TLS relocation.
  5985. -- : BFD_RELOC_AARCH64_TLSDESC
  5986. AArch64 TLS relocation.
  5987. -- : BFD_RELOC_AARCH64_IRELATIVE
  5988. AArch64 support for STT_GNU_IFUNC.
  5989. -- : BFD_RELOC_AARCH64_RELOC_END
  5990. AArch64 pseudo relocation code to mark the end of the AArch64
  5991. relocation enumerators that have direct mapping to ELF reloc codes.
  5992. There are a few more enumerators after this one; those are mainly
  5993. used by the AArch64 assembler for the internal fixup or to select
  5994. one of the above enumerators.
  5995. -- : BFD_RELOC_AARCH64_GAS_INTERNAL_FIXUP
  5996. AArch64 pseudo relocation code to be used internally by the AArch64
  5997. assembler and not (currently) written to any object files.
  5998. -- : BFD_RELOC_AARCH64_LDST_LO12
  5999. AArch64 unspecified load/store instruction, holding bits 0 to 11 of
  6000. the address. Used in conjunction with
  6001. BFD_RELOC_AARCH64_ADR_HI21_PCREL.
  6002. -- : BFD_RELOC_AARCH64_TLSLD_LDST_DTPREL_LO12
  6003. AArch64 pseudo relocation code for TLS local dynamic mode. It's to
  6004. be used internally by the AArch64 assembler and not (currently)
  6005. written to any object files.
  6006. -- : BFD_RELOC_AARCH64_TLSLD_LDST_DTPREL_LO12_NC
  6007. Similar as BFD_RELOC_AARCH64_TLSLD_LDST_DTPREL_LO12, but no
  6008. overflow check.
  6009. -- : BFD_RELOC_AARCH64_TLSLE_LDST_TPREL_LO12
  6010. AArch64 pseudo relocation code for TLS local exec mode. It's to be
  6011. used internally by the AArch64 assembler and not (currently)
  6012. written to any object files.
  6013. -- : BFD_RELOC_AARCH64_TLSLE_LDST_TPREL_LO12_NC
  6014. Similar as BFD_RELOC_AARCH64_TLSLE_LDST_TPREL_LO12, but no overflow
  6015. check.
  6016. -- : BFD_RELOC_AARCH64_LD_GOT_LO12_NC
  6017. AArch64 pseudo relocation code to be used internally by the AArch64
  6018. assembler and not (currently) written to any object files.
  6019. -- : BFD_RELOC_AARCH64_TLSIE_LD_GOTTPREL_LO12_NC
  6020. AArch64 pseudo relocation code to be used internally by the AArch64
  6021. assembler and not (currently) written to any object files.
  6022. -- : BFD_RELOC_AARCH64_TLSDESC_LD_LO12_NC
  6023. AArch64 pseudo relocation code to be used internally by the AArch64
  6024. assembler and not (currently) written to any object files.
  6025. -- : BFD_RELOC_TILEPRO_COPY
  6026. -- : BFD_RELOC_TILEPRO_GLOB_DAT
  6027. -- : BFD_RELOC_TILEPRO_JMP_SLOT
  6028. -- : BFD_RELOC_TILEPRO_RELATIVE
  6029. -- : BFD_RELOC_TILEPRO_BROFF_X1
  6030. -- : BFD_RELOC_TILEPRO_JOFFLONG_X1
  6031. -- : BFD_RELOC_TILEPRO_JOFFLONG_X1_PLT
  6032. -- : BFD_RELOC_TILEPRO_IMM8_X0
  6033. -- : BFD_RELOC_TILEPRO_IMM8_Y0
  6034. -- : BFD_RELOC_TILEPRO_IMM8_X1
  6035. -- : BFD_RELOC_TILEPRO_IMM8_Y1
  6036. -- : BFD_RELOC_TILEPRO_DEST_IMM8_X1
  6037. -- : BFD_RELOC_TILEPRO_MT_IMM15_X1
  6038. -- : BFD_RELOC_TILEPRO_MF_IMM15_X1
  6039. -- : BFD_RELOC_TILEPRO_IMM16_X0
  6040. -- : BFD_RELOC_TILEPRO_IMM16_X1
  6041. -- : BFD_RELOC_TILEPRO_IMM16_X0_LO
  6042. -- : BFD_RELOC_TILEPRO_IMM16_X1_LO
  6043. -- : BFD_RELOC_TILEPRO_IMM16_X0_HI
  6044. -- : BFD_RELOC_TILEPRO_IMM16_X1_HI
  6045. -- : BFD_RELOC_TILEPRO_IMM16_X0_HA
  6046. -- : BFD_RELOC_TILEPRO_IMM16_X1_HA
  6047. -- : BFD_RELOC_TILEPRO_IMM16_X0_PCREL
  6048. -- : BFD_RELOC_TILEPRO_IMM16_X1_PCREL
  6049. -- : BFD_RELOC_TILEPRO_IMM16_X0_LO_PCREL
  6050. -- : BFD_RELOC_TILEPRO_IMM16_X1_LO_PCREL
  6051. -- : BFD_RELOC_TILEPRO_IMM16_X0_HI_PCREL
  6052. -- : BFD_RELOC_TILEPRO_IMM16_X1_HI_PCREL
  6053. -- : BFD_RELOC_TILEPRO_IMM16_X0_HA_PCREL
  6054. -- : BFD_RELOC_TILEPRO_IMM16_X1_HA_PCREL
  6055. -- : BFD_RELOC_TILEPRO_IMM16_X0_GOT
  6056. -- : BFD_RELOC_TILEPRO_IMM16_X1_GOT
  6057. -- : BFD_RELOC_TILEPRO_IMM16_X0_GOT_LO
  6058. -- : BFD_RELOC_TILEPRO_IMM16_X1_GOT_LO
  6059. -- : BFD_RELOC_TILEPRO_IMM16_X0_GOT_HI
  6060. -- : BFD_RELOC_TILEPRO_IMM16_X1_GOT_HI
  6061. -- : BFD_RELOC_TILEPRO_IMM16_X0_GOT_HA
  6062. -- : BFD_RELOC_TILEPRO_IMM16_X1_GOT_HA
  6063. -- : BFD_RELOC_TILEPRO_MMSTART_X0
  6064. -- : BFD_RELOC_TILEPRO_MMEND_X0
  6065. -- : BFD_RELOC_TILEPRO_MMSTART_X1
  6066. -- : BFD_RELOC_TILEPRO_MMEND_X1
  6067. -- : BFD_RELOC_TILEPRO_SHAMT_X0
  6068. -- : BFD_RELOC_TILEPRO_SHAMT_X1
  6069. -- : BFD_RELOC_TILEPRO_SHAMT_Y0
  6070. -- : BFD_RELOC_TILEPRO_SHAMT_Y1
  6071. -- : BFD_RELOC_TILEPRO_TLS_GD_CALL
  6072. -- : BFD_RELOC_TILEPRO_IMM8_X0_TLS_GD_ADD
  6073. -- : BFD_RELOC_TILEPRO_IMM8_X1_TLS_GD_ADD
  6074. -- : BFD_RELOC_TILEPRO_IMM8_Y0_TLS_GD_ADD
  6075. -- : BFD_RELOC_TILEPRO_IMM8_Y1_TLS_GD_ADD
  6076. -- : BFD_RELOC_TILEPRO_TLS_IE_LOAD
  6077. -- : BFD_RELOC_TILEPRO_IMM16_X0_TLS_GD
  6078. -- : BFD_RELOC_TILEPRO_IMM16_X1_TLS_GD
  6079. -- : BFD_RELOC_TILEPRO_IMM16_X0_TLS_GD_LO
  6080. -- : BFD_RELOC_TILEPRO_IMM16_X1_TLS_GD_LO
  6081. -- : BFD_RELOC_TILEPRO_IMM16_X0_TLS_GD_HI
  6082. -- : BFD_RELOC_TILEPRO_IMM16_X1_TLS_GD_HI
  6083. -- : BFD_RELOC_TILEPRO_IMM16_X0_TLS_GD_HA
  6084. -- : BFD_RELOC_TILEPRO_IMM16_X1_TLS_GD_HA
  6085. -- : BFD_RELOC_TILEPRO_IMM16_X0_TLS_IE
  6086. -- : BFD_RELOC_TILEPRO_IMM16_X1_TLS_IE
  6087. -- : BFD_RELOC_TILEPRO_IMM16_X0_TLS_IE_LO
  6088. -- : BFD_RELOC_TILEPRO_IMM16_X1_TLS_IE_LO
  6089. -- : BFD_RELOC_TILEPRO_IMM16_X0_TLS_IE_HI
  6090. -- : BFD_RELOC_TILEPRO_IMM16_X1_TLS_IE_HI
  6091. -- : BFD_RELOC_TILEPRO_IMM16_X0_TLS_IE_HA
  6092. -- : BFD_RELOC_TILEPRO_IMM16_X1_TLS_IE_HA
  6093. -- : BFD_RELOC_TILEPRO_TLS_DTPMOD32
  6094. -- : BFD_RELOC_TILEPRO_TLS_DTPOFF32
  6095. -- : BFD_RELOC_TILEPRO_TLS_TPOFF32
  6096. -- : BFD_RELOC_TILEPRO_IMM16_X0_TLS_LE
  6097. -- : BFD_RELOC_TILEPRO_IMM16_X1_TLS_LE
  6098. -- : BFD_RELOC_TILEPRO_IMM16_X0_TLS_LE_LO
  6099. -- : BFD_RELOC_TILEPRO_IMM16_X1_TLS_LE_LO
  6100. -- : BFD_RELOC_TILEPRO_IMM16_X0_TLS_LE_HI
  6101. -- : BFD_RELOC_TILEPRO_IMM16_X1_TLS_LE_HI
  6102. -- : BFD_RELOC_TILEPRO_IMM16_X0_TLS_LE_HA
  6103. -- : BFD_RELOC_TILEPRO_IMM16_X1_TLS_LE_HA
  6104. Tilera TILEPro Relocations.
  6105. -- : BFD_RELOC_TILEGX_HW0
  6106. -- : BFD_RELOC_TILEGX_HW1
  6107. -- : BFD_RELOC_TILEGX_HW2
  6108. -- : BFD_RELOC_TILEGX_HW3
  6109. -- : BFD_RELOC_TILEGX_HW0_LAST
  6110. -- : BFD_RELOC_TILEGX_HW1_LAST
  6111. -- : BFD_RELOC_TILEGX_HW2_LAST
  6112. -- : BFD_RELOC_TILEGX_COPY
  6113. -- : BFD_RELOC_TILEGX_GLOB_DAT
  6114. -- : BFD_RELOC_TILEGX_JMP_SLOT
  6115. -- : BFD_RELOC_TILEGX_RELATIVE
  6116. -- : BFD_RELOC_TILEGX_BROFF_X1
  6117. -- : BFD_RELOC_TILEGX_JUMPOFF_X1
  6118. -- : BFD_RELOC_TILEGX_JUMPOFF_X1_PLT
  6119. -- : BFD_RELOC_TILEGX_IMM8_X0
  6120. -- : BFD_RELOC_TILEGX_IMM8_Y0
  6121. -- : BFD_RELOC_TILEGX_IMM8_X1
  6122. -- : BFD_RELOC_TILEGX_IMM8_Y1
  6123. -- : BFD_RELOC_TILEGX_DEST_IMM8_X1
  6124. -- : BFD_RELOC_TILEGX_MT_IMM14_X1
  6125. -- : BFD_RELOC_TILEGX_MF_IMM14_X1
  6126. -- : BFD_RELOC_TILEGX_MMSTART_X0
  6127. -- : BFD_RELOC_TILEGX_MMEND_X0
  6128. -- : BFD_RELOC_TILEGX_SHAMT_X0
  6129. -- : BFD_RELOC_TILEGX_SHAMT_X1
  6130. -- : BFD_RELOC_TILEGX_SHAMT_Y0
  6131. -- : BFD_RELOC_TILEGX_SHAMT_Y1
  6132. -- : BFD_RELOC_TILEGX_IMM16_X0_HW0
  6133. -- : BFD_RELOC_TILEGX_IMM16_X1_HW0
  6134. -- : BFD_RELOC_TILEGX_IMM16_X0_HW1
  6135. -- : BFD_RELOC_TILEGX_IMM16_X1_HW1
  6136. -- : BFD_RELOC_TILEGX_IMM16_X0_HW2
  6137. -- : BFD_RELOC_TILEGX_IMM16_X1_HW2
  6138. -- : BFD_RELOC_TILEGX_IMM16_X0_HW3
  6139. -- : BFD_RELOC_TILEGX_IMM16_X1_HW3
  6140. -- : BFD_RELOC_TILEGX_IMM16_X0_HW0_LAST
  6141. -- : BFD_RELOC_TILEGX_IMM16_X1_HW0_LAST
  6142. -- : BFD_RELOC_TILEGX_IMM16_X0_HW1_LAST
  6143. -- : BFD_RELOC_TILEGX_IMM16_X1_HW1_LAST
  6144. -- : BFD_RELOC_TILEGX_IMM16_X0_HW2_LAST
  6145. -- : BFD_RELOC_TILEGX_IMM16_X1_HW2_LAST
  6146. -- : BFD_RELOC_TILEGX_IMM16_X0_HW0_PCREL
  6147. -- : BFD_RELOC_TILEGX_IMM16_X1_HW0_PCREL
  6148. -- : BFD_RELOC_TILEGX_IMM16_X0_HW1_PCREL
  6149. -- : BFD_RELOC_TILEGX_IMM16_X1_HW1_PCREL
  6150. -- : BFD_RELOC_TILEGX_IMM16_X0_HW2_PCREL
  6151. -- : BFD_RELOC_TILEGX_IMM16_X1_HW2_PCREL
  6152. -- : BFD_RELOC_TILEGX_IMM16_X0_HW3_PCREL
  6153. -- : BFD_RELOC_TILEGX_IMM16_X1_HW3_PCREL
  6154. -- : BFD_RELOC_TILEGX_IMM16_X0_HW0_LAST_PCREL
  6155. -- : BFD_RELOC_TILEGX_IMM16_X1_HW0_LAST_PCREL
  6156. -- : BFD_RELOC_TILEGX_IMM16_X0_HW1_LAST_PCREL
  6157. -- : BFD_RELOC_TILEGX_IMM16_X1_HW1_LAST_PCREL
  6158. -- : BFD_RELOC_TILEGX_IMM16_X0_HW2_LAST_PCREL
  6159. -- : BFD_RELOC_TILEGX_IMM16_X1_HW2_LAST_PCREL
  6160. -- : BFD_RELOC_TILEGX_IMM16_X0_HW0_GOT
  6161. -- : BFD_RELOC_TILEGX_IMM16_X1_HW0_GOT
  6162. -- : BFD_RELOC_TILEGX_IMM16_X0_HW0_PLT_PCREL
  6163. -- : BFD_RELOC_TILEGX_IMM16_X1_HW0_PLT_PCREL
  6164. -- : BFD_RELOC_TILEGX_IMM16_X0_HW1_PLT_PCREL
  6165. -- : BFD_RELOC_TILEGX_IMM16_X1_HW1_PLT_PCREL
  6166. -- : BFD_RELOC_TILEGX_IMM16_X0_HW2_PLT_PCREL
  6167. -- : BFD_RELOC_TILEGX_IMM16_X1_HW2_PLT_PCREL
  6168. -- : BFD_RELOC_TILEGX_IMM16_X0_HW0_LAST_GOT
  6169. -- : BFD_RELOC_TILEGX_IMM16_X1_HW0_LAST_GOT
  6170. -- : BFD_RELOC_TILEGX_IMM16_X0_HW1_LAST_GOT
  6171. -- : BFD_RELOC_TILEGX_IMM16_X1_HW1_LAST_GOT
  6172. -- : BFD_RELOC_TILEGX_IMM16_X0_HW3_PLT_PCREL
  6173. -- : BFD_RELOC_TILEGX_IMM16_X1_HW3_PLT_PCREL
  6174. -- : BFD_RELOC_TILEGX_IMM16_X0_HW0_TLS_GD
  6175. -- : BFD_RELOC_TILEGX_IMM16_X1_HW0_TLS_GD
  6176. -- : BFD_RELOC_TILEGX_IMM16_X0_HW0_TLS_LE
  6177. -- : BFD_RELOC_TILEGX_IMM16_X1_HW0_TLS_LE
  6178. -- : BFD_RELOC_TILEGX_IMM16_X0_HW0_LAST_TLS_LE
  6179. -- : BFD_RELOC_TILEGX_IMM16_X1_HW0_LAST_TLS_LE
  6180. -- : BFD_RELOC_TILEGX_IMM16_X0_HW1_LAST_TLS_LE
  6181. -- : BFD_RELOC_TILEGX_IMM16_X1_HW1_LAST_TLS_LE
  6182. -- : BFD_RELOC_TILEGX_IMM16_X0_HW0_LAST_TLS_GD
  6183. -- : BFD_RELOC_TILEGX_IMM16_X1_HW0_LAST_TLS_GD
  6184. -- : BFD_RELOC_TILEGX_IMM16_X0_HW1_LAST_TLS_GD
  6185. -- : BFD_RELOC_TILEGX_IMM16_X1_HW1_LAST_TLS_GD
  6186. -- : BFD_RELOC_TILEGX_IMM16_X0_HW0_TLS_IE
  6187. -- : BFD_RELOC_TILEGX_IMM16_X1_HW0_TLS_IE
  6188. -- : BFD_RELOC_TILEGX_IMM16_X0_HW0_LAST_PLT_PCREL
  6189. -- : BFD_RELOC_TILEGX_IMM16_X1_HW0_LAST_PLT_PCREL
  6190. -- : BFD_RELOC_TILEGX_IMM16_X0_HW1_LAST_PLT_PCREL
  6191. -- : BFD_RELOC_TILEGX_IMM16_X1_HW1_LAST_PLT_PCREL
  6192. -- : BFD_RELOC_TILEGX_IMM16_X0_HW2_LAST_PLT_PCREL
  6193. -- : BFD_RELOC_TILEGX_IMM16_X1_HW2_LAST_PLT_PCREL
  6194. -- : BFD_RELOC_TILEGX_IMM16_X0_HW0_LAST_TLS_IE
  6195. -- : BFD_RELOC_TILEGX_IMM16_X1_HW0_LAST_TLS_IE
  6196. -- : BFD_RELOC_TILEGX_IMM16_X0_HW1_LAST_TLS_IE
  6197. -- : BFD_RELOC_TILEGX_IMM16_X1_HW1_LAST_TLS_IE
  6198. -- : BFD_RELOC_TILEGX_TLS_DTPMOD64
  6199. -- : BFD_RELOC_TILEGX_TLS_DTPOFF64
  6200. -- : BFD_RELOC_TILEGX_TLS_TPOFF64
  6201. -- : BFD_RELOC_TILEGX_TLS_DTPMOD32
  6202. -- : BFD_RELOC_TILEGX_TLS_DTPOFF32
  6203. -- : BFD_RELOC_TILEGX_TLS_TPOFF32
  6204. -- : BFD_RELOC_TILEGX_TLS_GD_CALL
  6205. -- : BFD_RELOC_TILEGX_IMM8_X0_TLS_GD_ADD
  6206. -- : BFD_RELOC_TILEGX_IMM8_X1_TLS_GD_ADD
  6207. -- : BFD_RELOC_TILEGX_IMM8_Y0_TLS_GD_ADD
  6208. -- : BFD_RELOC_TILEGX_IMM8_Y1_TLS_GD_ADD
  6209. -- : BFD_RELOC_TILEGX_TLS_IE_LOAD
  6210. -- : BFD_RELOC_TILEGX_IMM8_X0_TLS_ADD
  6211. -- : BFD_RELOC_TILEGX_IMM8_X1_TLS_ADD
  6212. -- : BFD_RELOC_TILEGX_IMM8_Y0_TLS_ADD
  6213. -- : BFD_RELOC_TILEGX_IMM8_Y1_TLS_ADD
  6214. Tilera TILE-Gx Relocations.
  6215. -- : BFD_RELOC_BPF_64
  6216. -- : BFD_RELOC_BPF_32
  6217. -- : BFD_RELOC_BPF_16
  6218. -- : BFD_RELOC_BPF_DISP16
  6219. -- : BFD_RELOC_BPF_DISP32
  6220. Linux eBPF relocations.
  6221. -- : BFD_RELOC_EPIPHANY_SIMM8
  6222. Adapteva EPIPHANY - 8 bit signed pc-relative displacement
  6223. -- : BFD_RELOC_EPIPHANY_SIMM24
  6224. Adapteva EPIPHANY - 24 bit signed pc-relative displacement
  6225. -- : BFD_RELOC_EPIPHANY_HIGH
  6226. Adapteva EPIPHANY - 16 most-significant bits of absolute address
  6227. -- : BFD_RELOC_EPIPHANY_LOW
  6228. Adapteva EPIPHANY - 16 least-significant bits of absolute address
  6229. -- : BFD_RELOC_EPIPHANY_SIMM11
  6230. Adapteva EPIPHANY - 11 bit signed number - add/sub immediate
  6231. -- : BFD_RELOC_EPIPHANY_IMM11
  6232. Adapteva EPIPHANY - 11 bit sign-magnitude number (ld/st
  6233. displacement)
  6234. -- : BFD_RELOC_EPIPHANY_IMM8
  6235. Adapteva EPIPHANY - 8 bit immediate for 16 bit mov instruction.
  6236. -- : BFD_RELOC_VISIUM_HI16
  6237. -- : BFD_RELOC_VISIUM_LO16
  6238. -- : BFD_RELOC_VISIUM_IM16
  6239. -- : BFD_RELOC_VISIUM_REL16
  6240. -- : BFD_RELOC_VISIUM_HI16_PCREL
  6241. -- : BFD_RELOC_VISIUM_LO16_PCREL
  6242. -- : BFD_RELOC_VISIUM_IM16_PCREL
  6243. Visium Relocations.
  6244. -- : BFD_RELOC_WASM32_LEB128
  6245. -- : BFD_RELOC_WASM32_LEB128_GOT
  6246. -- : BFD_RELOC_WASM32_LEB128_GOT_CODE
  6247. -- : BFD_RELOC_WASM32_LEB128_PLT
  6248. -- : BFD_RELOC_WASM32_PLT_INDEX
  6249. -- : BFD_RELOC_WASM32_ABS32_CODE
  6250. -- : BFD_RELOC_WASM32_COPY
  6251. -- : BFD_RELOC_WASM32_CODE_POINTER
  6252. -- : BFD_RELOC_WASM32_INDEX
  6253. -- : BFD_RELOC_WASM32_PLT_SIG
  6254. WebAssembly relocations.
  6255. -- : BFD_RELOC_CKCORE_NONE
  6256. -- : BFD_RELOC_CKCORE_ADDR32
  6257. -- : BFD_RELOC_CKCORE_PCREL_IMM8BY4
  6258. -- : BFD_RELOC_CKCORE_PCREL_IMM11BY2
  6259. -- : BFD_RELOC_CKCORE_PCREL_IMM4BY2
  6260. -- : BFD_RELOC_CKCORE_PCREL32
  6261. -- : BFD_RELOC_CKCORE_PCREL_JSR_IMM11BY2
  6262. -- : BFD_RELOC_CKCORE_GNU_VTINHERIT
  6263. -- : BFD_RELOC_CKCORE_GNU_VTENTRY
  6264. -- : BFD_RELOC_CKCORE_RELATIVE
  6265. -- : BFD_RELOC_CKCORE_COPY
  6266. -- : BFD_RELOC_CKCORE_GLOB_DAT
  6267. -- : BFD_RELOC_CKCORE_JUMP_SLOT
  6268. -- : BFD_RELOC_CKCORE_GOTOFF
  6269. -- : BFD_RELOC_CKCORE_GOTPC
  6270. -- : BFD_RELOC_CKCORE_GOT32
  6271. -- : BFD_RELOC_CKCORE_PLT32
  6272. -- : BFD_RELOC_CKCORE_ADDRGOT
  6273. -- : BFD_RELOC_CKCORE_ADDRPLT
  6274. -- : BFD_RELOC_CKCORE_PCREL_IMM26BY2
  6275. -- : BFD_RELOC_CKCORE_PCREL_IMM16BY2
  6276. -- : BFD_RELOC_CKCORE_PCREL_IMM16BY4
  6277. -- : BFD_RELOC_CKCORE_PCREL_IMM10BY2
  6278. -- : BFD_RELOC_CKCORE_PCREL_IMM10BY4
  6279. -- : BFD_RELOC_CKCORE_ADDR_HI16
  6280. -- : BFD_RELOC_CKCORE_ADDR_LO16
  6281. -- : BFD_RELOC_CKCORE_GOTPC_HI16
  6282. -- : BFD_RELOC_CKCORE_GOTPC_LO16
  6283. -- : BFD_RELOC_CKCORE_GOTOFF_HI16
  6284. -- : BFD_RELOC_CKCORE_GOTOFF_LO16
  6285. -- : BFD_RELOC_CKCORE_GOT12
  6286. -- : BFD_RELOC_CKCORE_GOT_HI16
  6287. -- : BFD_RELOC_CKCORE_GOT_LO16
  6288. -- : BFD_RELOC_CKCORE_PLT12
  6289. -- : BFD_RELOC_CKCORE_PLT_HI16
  6290. -- : BFD_RELOC_CKCORE_PLT_LO16
  6291. -- : BFD_RELOC_CKCORE_ADDRGOT_HI16
  6292. -- : BFD_RELOC_CKCORE_ADDRGOT_LO16
  6293. -- : BFD_RELOC_CKCORE_ADDRPLT_HI16
  6294. -- : BFD_RELOC_CKCORE_ADDRPLT_LO16
  6295. -- : BFD_RELOC_CKCORE_PCREL_JSR_IMM26BY2
  6296. -- : BFD_RELOC_CKCORE_TOFFSET_LO16
  6297. -- : BFD_RELOC_CKCORE_DOFFSET_LO16
  6298. -- : BFD_RELOC_CKCORE_PCREL_IMM18BY2
  6299. -- : BFD_RELOC_CKCORE_DOFFSET_IMM18
  6300. -- : BFD_RELOC_CKCORE_DOFFSET_IMM18BY2
  6301. -- : BFD_RELOC_CKCORE_DOFFSET_IMM18BY4
  6302. -- : BFD_RELOC_CKCORE_GOTOFF_IMM18
  6303. -- : BFD_RELOC_CKCORE_GOT_IMM18BY4
  6304. -- : BFD_RELOC_CKCORE_PLT_IMM18BY4
  6305. -- : BFD_RELOC_CKCORE_PCREL_IMM7BY4
  6306. -- : BFD_RELOC_CKCORE_TLS_LE32
  6307. -- : BFD_RELOC_CKCORE_TLS_IE32
  6308. -- : BFD_RELOC_CKCORE_TLS_GD32
  6309. -- : BFD_RELOC_CKCORE_TLS_LDM32
  6310. -- : BFD_RELOC_CKCORE_TLS_LDO32
  6311. -- : BFD_RELOC_CKCORE_TLS_DTPMOD32
  6312. -- : BFD_RELOC_CKCORE_TLS_DTPOFF32
  6313. -- : BFD_RELOC_CKCORE_TLS_TPOFF32
  6314. -- : BFD_RELOC_CKCORE_PCREL_FLRW_IMM8BY4
  6315. -- : BFD_RELOC_CKCORE_NOJSRI
  6316. -- : BFD_RELOC_CKCORE_CALLGRAPH
  6317. -- : BFD_RELOC_CKCORE_IRELATIVE
  6318. -- : BFD_RELOC_CKCORE_PCREL_BLOOP_IMM4BY4
  6319. -- : BFD_RELOC_CKCORE_PCREL_BLOOP_IMM12BY4
  6320. C-SKY relocations.
  6321. -- : BFD_RELOC_S12Z_OPR
  6322. S12Z relocations.
  6323. typedef enum bfd_reloc_code_real bfd_reloc_code_real_type;
  6324. 2.10.2.2 'bfd_reloc_type_lookup'
  6325. ................................
  6326. *Synopsis*
  6327. reloc_howto_type *bfd_reloc_type_lookup
  6328. (bfd *abfd, bfd_reloc_code_real_type code);
  6329. reloc_howto_type *bfd_reloc_name_lookup
  6330. (bfd *abfd, const char *reloc_name);
  6331. *Description*
  6332. Return a pointer to a howto structure which, when invoked, will perform
  6333. the relocation CODE on data from the architecture noted.
  6334. 2.10.2.3 'bfd_default_reloc_type_lookup'
  6335. ........................................
  6336. *Synopsis*
  6337. reloc_howto_type *bfd_default_reloc_type_lookup
  6338. (bfd *abfd, bfd_reloc_code_real_type code);
  6339. *Description*
  6340. Provides a default relocation lookup routine for any architecture.
  6341. 2.10.2.4 'bfd_get_reloc_code_name'
  6342. ..................................
  6343. *Synopsis*
  6344. const char *bfd_get_reloc_code_name (bfd_reloc_code_real_type code);
  6345. *Description*
  6346. Provides a printable name for the supplied relocation code. Useful
  6347. mainly for printing error messages.
  6348. 2.10.2.5 'bfd_generic_relax_section'
  6349. ....................................
  6350. *Synopsis*
  6351. bfd_boolean bfd_generic_relax_section
  6352. (bfd *abfd,
  6353. asection *section,
  6354. struct bfd_link_info *,
  6355. bfd_boolean *);
  6356. *Description*
  6357. Provides default handling for relaxing for back ends which don't do
  6358. relaxing.
  6359. 2.10.2.6 'bfd_generic_gc_sections'
  6360. ..................................
  6361. *Synopsis*
  6362. bfd_boolean bfd_generic_gc_sections
  6363. (bfd *, struct bfd_link_info *);
  6364. *Description*
  6365. Provides default handling for relaxing for back ends which don't do
  6366. section gc - i.e., does nothing.
  6367. 2.10.2.7 'bfd_generic_lookup_section_flags'
  6368. ...........................................
  6369. *Synopsis*
  6370. bfd_boolean bfd_generic_lookup_section_flags
  6371. (struct bfd_link_info *, struct flag_info *, asection *);
  6372. *Description*
  6373. Provides default handling for section flags lookup - i.e., does nothing.
  6374. Returns FALSE if the section should be omitted, otherwise TRUE.
  6375. 2.10.2.8 'bfd_generic_merge_sections'
  6376. .....................................
  6377. *Synopsis*
  6378. bfd_boolean bfd_generic_merge_sections
  6379. (bfd *, struct bfd_link_info *);
  6380. *Description*
  6381. Provides default handling for SEC_MERGE section merging for back ends
  6382. which don't have SEC_MERGE support - i.e., does nothing.
  6383. 2.10.2.9 'bfd_generic_get_relocated_section_contents'
  6384. .....................................................
  6385. *Synopsis*
  6386. bfd_byte *bfd_generic_get_relocated_section_contents
  6387. (bfd *abfd,
  6388. struct bfd_link_info *link_info,
  6389. struct bfd_link_order *link_order,
  6390. bfd_byte *data,
  6391. bfd_boolean relocatable,
  6392. asymbol **symbols);
  6393. *Description*
  6394. Provides default handling of relocation effort for back ends which can't
  6395. be bothered to do it efficiently.
  6396. 2.10.2.10 '_bfd_generic_set_reloc'
  6397. ..................................
  6398. *Synopsis*
  6399. void _bfd_generic_set_reloc
  6400. (bfd *abfd,
  6401. sec_ptr section,
  6402. arelent **relptr,
  6403. unsigned int count);
  6404. *Description*
  6405. Installs a new set of internal relocations in SECTION.
  6406. 2.10.2.11 '_bfd_unrecognized_reloc'
  6407. ...................................
  6408. *Synopsis*
  6409. bfd_boolean _bfd_unrecognized_reloc
  6410. (bfd * abfd,
  6411. sec_ptr section,
  6412. unsigned int r_type);
  6413. *Description*
  6414. Reports an unrecognized reloc. Written as a function in order to reduce
  6415. code duplication. Returns FALSE so that it can be called from a return
  6416. statement.
  6417. 
  6418. File: bfd.info, Node: Core Files, Next: Targets, Prev: Relocations, Up: BFD front end
  6419. 2.11 Core files
  6420. ===============
  6421. 2.11.1 Core file functions
  6422. --------------------------
  6423. *Description*
  6424. These are functions pertaining to core files.
  6425. 2.11.1.1 'bfd_core_file_failing_command'
  6426. ........................................
  6427. *Synopsis*
  6428. const char *bfd_core_file_failing_command (bfd *abfd);
  6429. *Description*
  6430. Return a read-only string explaining which program was running when it
  6431. failed and produced the core file ABFD.
  6432. 2.11.1.2 'bfd_core_file_failing_signal'
  6433. .......................................
  6434. *Synopsis*
  6435. int bfd_core_file_failing_signal (bfd *abfd);
  6436. *Description*
  6437. Returns the signal number which caused the core dump which generated the
  6438. file the BFD ABFD is attached to.
  6439. 2.11.1.3 'bfd_core_file_pid'
  6440. ............................
  6441. *Synopsis*
  6442. int bfd_core_file_pid (bfd *abfd);
  6443. *Description*
  6444. Returns the PID of the process the core dump the BFD ABFD is attached to
  6445. was generated from.
  6446. 2.11.1.4 'core_file_matches_executable_p'
  6447. .........................................
  6448. *Synopsis*
  6449. bfd_boolean core_file_matches_executable_p
  6450. (bfd *core_bfd, bfd *exec_bfd);
  6451. *Description*
  6452. Return 'TRUE' if the core file attached to CORE_BFD was generated by a
  6453. run of the executable file attached to EXEC_BFD, 'FALSE' otherwise.
  6454. 2.11.1.5 'generic_core_file_matches_executable_p'
  6455. .................................................
  6456. *Synopsis*
  6457. bfd_boolean generic_core_file_matches_executable_p
  6458. (bfd *core_bfd, bfd *exec_bfd);
  6459. *Description*
  6460. Return TRUE if the core file attached to CORE_BFD was generated by a run
  6461. of the executable file attached to EXEC_BFD. The match is based on
  6462. executable basenames only.
  6463. Note: When not able to determine the core file failing command or the
  6464. executable name, we still return TRUE even though we're not sure that
  6465. core file and executable match. This is to avoid generating a false
  6466. warning in situations where we really don't know whether they match or
  6467. not.
  6468. 
  6469. File: bfd.info, Node: Targets, Next: Architectures, Prev: Core Files, Up: BFD front end
  6470. 2.12 Targets
  6471. ============
  6472. *Description*
  6473. Each port of BFD to a different machine requires the creation of a
  6474. target back end. All the back end provides to the root part of BFD is a
  6475. structure containing pointers to functions which perform certain low
  6476. level operations on files. BFD translates the applications's requests
  6477. through a pointer into calls to the back end routines.
  6478. When a file is opened with 'bfd_openr', its format and target are
  6479. unknown. BFD uses various mechanisms to determine how to interpret the
  6480. file. The operations performed are:
  6481. * Create a BFD by calling the internal routine '_bfd_new_bfd', then
  6482. call 'bfd_find_target' with the target string supplied to
  6483. 'bfd_openr' and the new BFD pointer.
  6484. * If a null target string was provided to 'bfd_find_target', look up
  6485. the environment variable 'GNUTARGET' and use that as the target
  6486. string.
  6487. * If the target string is still 'NULL', or the target string is
  6488. 'default', then use the first item in the target vector as the
  6489. target type, and set 'target_defaulted' in the BFD to cause
  6490. 'bfd_check_format' to loop through all the targets. *Note
  6491. bfd_target::. *Note Formats::.
  6492. * Otherwise, inspect the elements in the target vector one by one,
  6493. until a match on target name is found. When found, use it.
  6494. * Otherwise return the error 'bfd_error_invalid_target' to
  6495. 'bfd_openr'.
  6496. * 'bfd_openr' attempts to open the file using 'bfd_open_file', and
  6497. returns the BFD.
  6498. Once the BFD has been opened and the target selected, the file format
  6499. may be determined. This is done by calling 'bfd_check_format' on the
  6500. BFD with a suggested format. If 'target_defaulted' has been set, each
  6501. possible target type is tried to see if it recognizes the specified
  6502. format. 'bfd_check_format' returns 'TRUE' when the caller guesses
  6503. right.
  6504. * Menu:
  6505. * bfd_target::
  6506. 
  6507. File: bfd.info, Node: bfd_target, Prev: Targets, Up: Targets
  6508. 2.12.1 bfd_target
  6509. -----------------
  6510. *Description*
  6511. This structure contains everything that BFD knows about a target. It
  6512. includes things like its byte order, name, and which routines to call to
  6513. do various operations.
  6514. Every BFD points to a target structure with its 'xvec' member.
  6515. The macros below are used to dispatch to functions through the
  6516. 'bfd_target' vector. They are used in a number of macros further down
  6517. in 'bfd.h', and are also used when calling various routines by hand
  6518. inside the BFD implementation. The ARGLIST argument must be
  6519. parenthesized; it contains all the arguments to the called function.
  6520. They make the documentation (more) unpleasant to read, so if someone
  6521. wants to fix this and not break the above, please do.
  6522. #define BFD_SEND(bfd, message, arglist) \
  6523. ((*((bfd)->xvec->message)) arglist)
  6524. #ifdef DEBUG_BFD_SEND
  6525. #undef BFD_SEND
  6526. #define BFD_SEND(bfd, message, arglist) \
  6527. (((bfd) && (bfd)->xvec && (bfd)->xvec->message) ? \
  6528. ((*((bfd)->xvec->message)) arglist) : \
  6529. (bfd_assert (__FILE__,__LINE__), NULL))
  6530. #endif
  6531. For operations which index on the BFD format:
  6532. #define BFD_SEND_FMT(bfd, message, arglist) \
  6533. (((bfd)->xvec->message[(int) ((bfd)->format)]) arglist)
  6534. #ifdef DEBUG_BFD_SEND
  6535. #undef BFD_SEND_FMT
  6536. #define BFD_SEND_FMT(bfd, message, arglist) \
  6537. (((bfd) && (bfd)->xvec && (bfd)->xvec->message) ? \
  6538. (((bfd)->xvec->message[(int) ((bfd)->format)]) arglist) : \
  6539. (bfd_assert (__FILE__,__LINE__), NULL))
  6540. #endif
  6541. This is the structure which defines the type of BFD this is. The
  6542. 'xvec' member of the struct 'bfd' itself points here. Each module that
  6543. implements access to a different target under BFD, defines one of these.
  6544. FIXME, these names should be rationalised with the names of the entry
  6545. points which call them. Too bad we can't have one macro to define them
  6546. both!
  6547. enum bfd_flavour
  6548. {
  6549. /* N.B. Update bfd_flavour_name if you change this. */
  6550. bfd_target_unknown_flavour,
  6551. bfd_target_aout_flavour,
  6552. bfd_target_coff_flavour,
  6553. bfd_target_ecoff_flavour,
  6554. bfd_target_xcoff_flavour,
  6555. bfd_target_elf_flavour,
  6556. bfd_target_tekhex_flavour,
  6557. bfd_target_srec_flavour,
  6558. bfd_target_verilog_flavour,
  6559. bfd_target_ihex_flavour,
  6560. bfd_target_som_flavour,
  6561. bfd_target_os9k_flavour,
  6562. bfd_target_versados_flavour,
  6563. bfd_target_msdos_flavour,
  6564. bfd_target_ovax_flavour,
  6565. bfd_target_evax_flavour,
  6566. bfd_target_mmo_flavour,
  6567. bfd_target_mach_o_flavour,
  6568. bfd_target_pef_flavour,
  6569. bfd_target_pef_xlib_flavour,
  6570. bfd_target_sym_flavour
  6571. };
  6572. enum bfd_endian { BFD_ENDIAN_BIG, BFD_ENDIAN_LITTLE, BFD_ENDIAN_UNKNOWN };
  6573. /* Forward declaration. */
  6574. typedef struct bfd_link_info _bfd_link_info;
  6575. /* Forward declaration. */
  6576. typedef struct flag_info flag_info;
  6577. typedef struct bfd_target
  6578. {
  6579. /* Identifies the kind of target, e.g., SunOS4, Ultrix, etc. */
  6580. const char *name;
  6581. /* The "flavour" of a back end is a general indication about
  6582. the contents of a file. */
  6583. enum bfd_flavour flavour;
  6584. /* The order of bytes within the data area of a file. */
  6585. enum bfd_endian byteorder;
  6586. /* The order of bytes within the header parts of a file. */
  6587. enum bfd_endian header_byteorder;
  6588. /* A mask of all the flags which an executable may have set -
  6589. from the set BFD_NO_FLAGS, HAS_RELOC, ...D_PAGED. */
  6590. flagword object_flags;
  6591. /* A mask of all the flags which a section may have set - from
  6592. the set SEC_NO_FLAGS, SEC_ALLOC, ...SET_NEVER_LOAD. */
  6593. flagword section_flags;
  6594. /* The character normally found at the front of a symbol.
  6595. (if any), perhaps `_'. */
  6596. char symbol_leading_char;
  6597. /* The pad character for file names within an archive header. */
  6598. char ar_pad_char;
  6599. /* The maximum number of characters in an archive header. */
  6600. unsigned char ar_max_namelen;
  6601. /* How well this target matches, used to select between various
  6602. possible targets when more than one target matches. */
  6603. unsigned char match_priority;
  6604. /* Entries for byte swapping for data. These are different from the
  6605. other entry points, since they don't take a BFD as the first argument.
  6606. Certain other handlers could do the same. */
  6607. bfd_uint64_t (*bfd_getx64) (const void *);
  6608. bfd_int64_t (*bfd_getx_signed_64) (const void *);
  6609. void (*bfd_putx64) (bfd_uint64_t, void *);
  6610. bfd_vma (*bfd_getx32) (const void *);
  6611. bfd_signed_vma (*bfd_getx_signed_32) (const void *);
  6612. void (*bfd_putx32) (bfd_vma, void *);
  6613. bfd_vma (*bfd_getx16) (const void *);
  6614. bfd_signed_vma (*bfd_getx_signed_16) (const void *);
  6615. void (*bfd_putx16) (bfd_vma, void *);
  6616. /* Byte swapping for the headers. */
  6617. bfd_uint64_t (*bfd_h_getx64) (const void *);
  6618. bfd_int64_t (*bfd_h_getx_signed_64) (const void *);
  6619. void (*bfd_h_putx64) (bfd_uint64_t, void *);
  6620. bfd_vma (*bfd_h_getx32) (const void *);
  6621. bfd_signed_vma (*bfd_h_getx_signed_32) (const void *);
  6622. void (*bfd_h_putx32) (bfd_vma, void *);
  6623. bfd_vma (*bfd_h_getx16) (const void *);
  6624. bfd_signed_vma (*bfd_h_getx_signed_16) (const void *);
  6625. void (*bfd_h_putx16) (bfd_vma, void *);
  6626. /* Format dependent routines: these are vectors of entry points
  6627. within the target vector structure, one for each format to check. */
  6628. /* Check the format of a file being read. Return a bfd_target * or zero. */
  6629. const struct bfd_target *
  6630. (*_bfd_check_format[bfd_type_end]) (bfd *);
  6631. /* Set the format of a file being written. */
  6632. bfd_boolean (*_bfd_set_format[bfd_type_end]) (bfd *);
  6633. /* Write cached information into a file being written, at bfd_close. */
  6634. bfd_boolean (*_bfd_write_contents[bfd_type_end]) (bfd *);
  6635. The general target vector. These vectors are initialized using the
  6636. BFD_JUMP_TABLE macros.
  6637. /* Generic entry points. */
  6638. #define BFD_JUMP_TABLE_GENERIC(NAME) \
  6639. NAME##_close_and_cleanup, \
  6640. NAME##_bfd_free_cached_info, \
  6641. NAME##_new_section_hook, \
  6642. NAME##_get_section_contents, \
  6643. NAME##_get_section_contents_in_window
  6644. /* Called when the BFD is being closed to do any necessary cleanup. */
  6645. bfd_boolean (*_close_and_cleanup) (bfd *);
  6646. /* Ask the BFD to free all cached information. */
  6647. bfd_boolean (*_bfd_free_cached_info) (bfd *);
  6648. /* Called when a new section is created. */
  6649. bfd_boolean (*_new_section_hook) (bfd *, sec_ptr);
  6650. /* Read the contents of a section. */
  6651. bfd_boolean (*_bfd_get_section_contents) (bfd *, sec_ptr, void *, file_ptr,
  6652. bfd_size_type);
  6653. bfd_boolean (*_bfd_get_section_contents_in_window) (bfd *, sec_ptr,
  6654. bfd_window *, file_ptr,
  6655. bfd_size_type);
  6656. /* Entry points to copy private data. */
  6657. #define BFD_JUMP_TABLE_COPY(NAME) \
  6658. NAME##_bfd_copy_private_bfd_data, \
  6659. NAME##_bfd_merge_private_bfd_data, \
  6660. _bfd_generic_init_private_section_data, \
  6661. NAME##_bfd_copy_private_section_data, \
  6662. NAME##_bfd_copy_private_symbol_data, \
  6663. NAME##_bfd_copy_private_header_data, \
  6664. NAME##_bfd_set_private_flags, \
  6665. NAME##_bfd_print_private_bfd_data
  6666. /* Called to copy BFD general private data from one object file
  6667. to another. */
  6668. bfd_boolean (*_bfd_copy_private_bfd_data) (bfd *, bfd *);
  6669. /* Called to merge BFD general private data from one object file
  6670. to a common output file when linking. */
  6671. bfd_boolean (*_bfd_merge_private_bfd_data) (bfd *, struct bfd_link_info *);
  6672. /* Called to initialize BFD private section data from one object file
  6673. to another. */
  6674. #define bfd_init_private_section_data(ibfd, isec, obfd, osec, link_info) \
  6675. BFD_SEND (obfd, _bfd_init_private_section_data, \
  6676. (ibfd, isec, obfd, osec, link_info))
  6677. bfd_boolean (*_bfd_init_private_section_data) (bfd *, sec_ptr, bfd *,
  6678. sec_ptr,
  6679. struct bfd_link_info *);
  6680. /* Called to copy BFD private section data from one object file
  6681. to another. */
  6682. bfd_boolean (*_bfd_copy_private_section_data) (bfd *, sec_ptr, bfd *,
  6683. sec_ptr);
  6684. /* Called to copy BFD private symbol data from one symbol
  6685. to another. */
  6686. bfd_boolean (*_bfd_copy_private_symbol_data) (bfd *, asymbol *, bfd *,
  6687. asymbol *);
  6688. /* Called to copy BFD private header data from one object file
  6689. to another. */
  6690. bfd_boolean (*_bfd_copy_private_header_data) (bfd *, bfd *);
  6691. /* Called to set private backend flags. */
  6692. bfd_boolean (*_bfd_set_private_flags) (bfd *, flagword);
  6693. /* Called to print private BFD data. */
  6694. bfd_boolean (*_bfd_print_private_bfd_data) (bfd *, void *);
  6695. /* Core file entry points. */
  6696. #define BFD_JUMP_TABLE_CORE(NAME) \
  6697. NAME##_core_file_failing_command, \
  6698. NAME##_core_file_failing_signal, \
  6699. NAME##_core_file_matches_executable_p, \
  6700. NAME##_core_file_pid
  6701. char * (*_core_file_failing_command) (bfd *);
  6702. int (*_core_file_failing_signal) (bfd *);
  6703. bfd_boolean (*_core_file_matches_executable_p) (bfd *, bfd *);
  6704. int (*_core_file_pid) (bfd *);
  6705. /* Archive entry points. */
  6706. #define BFD_JUMP_TABLE_ARCHIVE(NAME) \
  6707. NAME##_slurp_armap, \
  6708. NAME##_slurp_extended_name_table, \
  6709. NAME##_construct_extended_name_table, \
  6710. NAME##_truncate_arname, \
  6711. NAME##_write_armap, \
  6712. NAME##_read_ar_hdr, \
  6713. NAME##_write_ar_hdr, \
  6714. NAME##_openr_next_archived_file, \
  6715. NAME##_get_elt_at_index, \
  6716. NAME##_generic_stat_arch_elt, \
  6717. NAME##_update_armap_timestamp
  6718. bfd_boolean (*_bfd_slurp_armap) (bfd *);
  6719. bfd_boolean (*_bfd_slurp_extended_name_table) (bfd *);
  6720. bfd_boolean (*_bfd_construct_extended_name_table) (bfd *, char **,
  6721. bfd_size_type *,
  6722. const char **);
  6723. void (*_bfd_truncate_arname) (bfd *, const char *, char *);
  6724. bfd_boolean (*write_armap) (bfd *, unsigned int, struct orl *,
  6725. unsigned int, int);
  6726. void * (*_bfd_read_ar_hdr_fn) (bfd *);
  6727. bfd_boolean (*_bfd_write_ar_hdr_fn) (bfd *, bfd *);
  6728. bfd * (*openr_next_archived_file) (bfd *, bfd *);
  6729. #define bfd_get_elt_at_index(b,i) \
  6730. BFD_SEND (b, _bfd_get_elt_at_index, (b,i))
  6731. bfd * (*_bfd_get_elt_at_index) (bfd *, symindex);
  6732. int (*_bfd_stat_arch_elt) (bfd *, struct stat *);
  6733. bfd_boolean (*_bfd_update_armap_timestamp) (bfd *);
  6734. /* Entry points used for symbols. */
  6735. #define BFD_JUMP_TABLE_SYMBOLS(NAME) \
  6736. NAME##_get_symtab_upper_bound, \
  6737. NAME##_canonicalize_symtab, \
  6738. NAME##_make_empty_symbol, \
  6739. NAME##_print_symbol, \
  6740. NAME##_get_symbol_info, \
  6741. NAME##_get_symbol_version_string, \
  6742. NAME##_bfd_is_local_label_name, \
  6743. NAME##_bfd_is_target_special_symbol, \
  6744. NAME##_get_lineno, \
  6745. NAME##_find_nearest_line, \
  6746. NAME##_find_line, \
  6747. NAME##_find_inliner_info, \
  6748. NAME##_bfd_make_debug_symbol, \
  6749. NAME##_read_minisymbols, \
  6750. NAME##_minisymbol_to_symbol
  6751. long (*_bfd_get_symtab_upper_bound) (bfd *);
  6752. long (*_bfd_canonicalize_symtab) (bfd *, struct bfd_symbol **);
  6753. struct bfd_symbol *
  6754. (*_bfd_make_empty_symbol) (bfd *);
  6755. void (*_bfd_print_symbol) (bfd *, void *, struct bfd_symbol *,
  6756. bfd_print_symbol_type);
  6757. #define bfd_print_symbol(b,p,s,e) \
  6758. BFD_SEND (b, _bfd_print_symbol, (b,p,s,e))
  6759. void (*_bfd_get_symbol_info) (bfd *, struct bfd_symbol *,
  6760. symbol_info *);
  6761. #define bfd_get_symbol_info(b,p,e) \
  6762. BFD_SEND (b, _bfd_get_symbol_info, (b,p,e))
  6763. const char *(*_bfd_get_symbol_version_string) (bfd *, struct bfd_symbol *,
  6764. bfd_boolean *);
  6765. #define bfd_get_symbol_version_string(b,s,h) \
  6766. BFD_SEND (b, _bfd_get_symbol_version_string, (b,s,h))
  6767. bfd_boolean (*_bfd_is_local_label_name) (bfd *, const char *);
  6768. bfd_boolean (*_bfd_is_target_special_symbol) (bfd *, asymbol *);
  6769. alent * (*_get_lineno) (bfd *, struct bfd_symbol *);
  6770. bfd_boolean (*_bfd_find_nearest_line) (bfd *, struct bfd_symbol **,
  6771. struct bfd_section *, bfd_vma,
  6772. const char **, const char **,
  6773. unsigned int *, unsigned int *);
  6774. bfd_boolean (*_bfd_find_line) (bfd *, struct bfd_symbol **,
  6775. struct bfd_symbol *, const char **,
  6776. unsigned int *);
  6777. bfd_boolean (*_bfd_find_inliner_info)
  6778. (bfd *, const char **, const char **, unsigned int *);
  6779. /* Back-door to allow format-aware applications to create debug symbols
  6780. while using BFD for everything else. Currently used by the assembler
  6781. when creating COFF files. */
  6782. asymbol * (*_bfd_make_debug_symbol) (bfd *, void *, unsigned long size);
  6783. #define bfd_read_minisymbols(b, d, m, s) \
  6784. BFD_SEND (b, _read_minisymbols, (b, d, m, s))
  6785. long (*_read_minisymbols) (bfd *, bfd_boolean, void **,
  6786. unsigned int *);
  6787. #define bfd_minisymbol_to_symbol(b, d, m, f) \
  6788. BFD_SEND (b, _minisymbol_to_symbol, (b, d, m, f))
  6789. asymbol * (*_minisymbol_to_symbol) (bfd *, bfd_boolean, const void *,
  6790. asymbol *);
  6791. /* Routines for relocs. */
  6792. #define BFD_JUMP_TABLE_RELOCS(NAME) \
  6793. NAME##_get_reloc_upper_bound, \
  6794. NAME##_canonicalize_reloc, \
  6795. NAME##_set_reloc, \
  6796. NAME##_bfd_reloc_type_lookup, \
  6797. NAME##_bfd_reloc_name_lookup
  6798. long (*_get_reloc_upper_bound) (bfd *, sec_ptr);
  6799. long (*_bfd_canonicalize_reloc) (bfd *, sec_ptr, arelent **,
  6800. struct bfd_symbol **);
  6801. void (*_bfd_set_reloc) (bfd *, sec_ptr, arelent **, unsigned int);
  6802. /* See documentation on reloc types. */
  6803. reloc_howto_type *
  6804. (*reloc_type_lookup) (bfd *, bfd_reloc_code_real_type);
  6805. reloc_howto_type *
  6806. (*reloc_name_lookup) (bfd *, const char *);
  6807. /* Routines used when writing an object file. */
  6808. #define BFD_JUMP_TABLE_WRITE(NAME) \
  6809. NAME##_set_arch_mach, \
  6810. NAME##_set_section_contents
  6811. bfd_boolean (*_bfd_set_arch_mach) (bfd *, enum bfd_architecture,
  6812. unsigned long);
  6813. bfd_boolean (*_bfd_set_section_contents) (bfd *, sec_ptr, const void *,
  6814. file_ptr, bfd_size_type);
  6815. /* Routines used by the linker. */
  6816. #define BFD_JUMP_TABLE_LINK(NAME) \
  6817. NAME##_sizeof_headers, \
  6818. NAME##_bfd_get_relocated_section_contents, \
  6819. NAME##_bfd_relax_section, \
  6820. NAME##_bfd_link_hash_table_create, \
  6821. NAME##_bfd_link_add_symbols, \
  6822. NAME##_bfd_link_just_syms, \
  6823. NAME##_bfd_copy_link_hash_symbol_type, \
  6824. NAME##_bfd_final_link, \
  6825. NAME##_bfd_link_split_section, \
  6826. NAME##_bfd_link_check_relocs, \
  6827. NAME##_bfd_gc_sections, \
  6828. NAME##_bfd_lookup_section_flags, \
  6829. NAME##_bfd_merge_sections, \
  6830. NAME##_bfd_is_group_section, \
  6831. NAME##_bfd_group_name, \
  6832. NAME##_bfd_discard_group, \
  6833. NAME##_section_already_linked, \
  6834. NAME##_bfd_define_common_symbol, \
  6835. NAME##_bfd_link_hide_symbol, \
  6836. NAME##_bfd_define_start_stop
  6837. int (*_bfd_sizeof_headers) (bfd *, struct bfd_link_info *);
  6838. bfd_byte * (*_bfd_get_relocated_section_contents) (bfd *,
  6839. struct bfd_link_info *,
  6840. struct bfd_link_order *,
  6841. bfd_byte *, bfd_boolean,
  6842. struct bfd_symbol **);
  6843. bfd_boolean (*_bfd_relax_section) (bfd *, struct bfd_section *,
  6844. struct bfd_link_info *, bfd_boolean *);
  6845. /* Create a hash table for the linker. Different backends store
  6846. different information in this table. */
  6847. struct bfd_link_hash_table *
  6848. (*_bfd_link_hash_table_create) (bfd *);
  6849. /* Add symbols from this object file into the hash table. */
  6850. bfd_boolean (*_bfd_link_add_symbols) (bfd *, struct bfd_link_info *);
  6851. /* Indicate that we are only retrieving symbol values from this section. */
  6852. void (*_bfd_link_just_syms) (asection *, struct bfd_link_info *);
  6853. /* Copy the symbol type and other attributes for a linker script
  6854. assignment of one symbol to another. */
  6855. #define bfd_copy_link_hash_symbol_type(b, t, f) \
  6856. BFD_SEND (b, _bfd_copy_link_hash_symbol_type, (b, t, f))
  6857. void (*_bfd_copy_link_hash_symbol_type) (bfd *,
  6858. struct bfd_link_hash_entry *,
  6859. struct bfd_link_hash_entry *);
  6860. /* Do a link based on the link_order structures attached to each
  6861. section of the BFD. */
  6862. bfd_boolean (*_bfd_final_link) (bfd *, struct bfd_link_info *);
  6863. /* Should this section be split up into smaller pieces during linking. */
  6864. bfd_boolean (*_bfd_link_split_section) (bfd *, struct bfd_section *);
  6865. /* Check the relocations in the bfd for validity. */
  6866. bfd_boolean (* _bfd_link_check_relocs)(bfd *, struct bfd_link_info *);
  6867. /* Remove sections that are not referenced from the output. */
  6868. bfd_boolean (*_bfd_gc_sections) (bfd *, struct bfd_link_info *);
  6869. /* Sets the bitmask of allowed and disallowed section flags. */
  6870. bfd_boolean (*_bfd_lookup_section_flags) (struct bfd_link_info *,
  6871. struct flag_info *, asection *);
  6872. /* Attempt to merge SEC_MERGE sections. */
  6873. bfd_boolean (*_bfd_merge_sections) (bfd *, struct bfd_link_info *);
  6874. /* Is this section a member of a group? */
  6875. bfd_boolean (*_bfd_is_group_section) (bfd *, const struct bfd_section *);
  6876. /* The group name, if section is a member of a group. */
  6877. const char *(*_bfd_group_name) (bfd *, const struct bfd_section *);
  6878. /* Discard members of a group. */
  6879. bfd_boolean (*_bfd_discard_group) (bfd *, struct bfd_section *);
  6880. /* Check if SEC has been already linked during a reloceatable or
  6881. final link. */
  6882. bfd_boolean (*_section_already_linked) (bfd *, asection *,
  6883. struct bfd_link_info *);
  6884. /* Define a common symbol. */
  6885. bfd_boolean (*_bfd_define_common_symbol) (bfd *, struct bfd_link_info *,
  6886. struct bfd_link_hash_entry *);
  6887. /* Hide a symbol. */
  6888. void (*_bfd_link_hide_symbol) (bfd *, struct bfd_link_info *,
  6889. struct bfd_link_hash_entry *);
  6890. /* Define a __start, __stop, .startof. or .sizeof. symbol. */
  6891. struct bfd_link_hash_entry *
  6892. (*_bfd_define_start_stop) (struct bfd_link_info *, const char *,
  6893. asection *);
  6894. /* Routines to handle dynamic symbols and relocs. */
  6895. #define BFD_JUMP_TABLE_DYNAMIC(NAME) \
  6896. NAME##_get_dynamic_symtab_upper_bound, \
  6897. NAME##_canonicalize_dynamic_symtab, \
  6898. NAME##_get_synthetic_symtab, \
  6899. NAME##_get_dynamic_reloc_upper_bound, \
  6900. NAME##_canonicalize_dynamic_reloc
  6901. /* Get the amount of memory required to hold the dynamic symbols. */
  6902. long (*_bfd_get_dynamic_symtab_upper_bound) (bfd *);
  6903. /* Read in the dynamic symbols. */
  6904. long (*_bfd_canonicalize_dynamic_symtab) (bfd *, struct bfd_symbol **);
  6905. /* Create synthetized symbols. */
  6906. long (*_bfd_get_synthetic_symtab) (bfd *, long, struct bfd_symbol **,
  6907. long, struct bfd_symbol **,
  6908. struct bfd_symbol **);
  6909. /* Get the amount of memory required to hold the dynamic relocs. */
  6910. long (*_bfd_get_dynamic_reloc_upper_bound) (bfd *);
  6911. /* Read in the dynamic relocs. */
  6912. long (*_bfd_canonicalize_dynamic_reloc) (bfd *, arelent **,
  6913. struct bfd_symbol **);
  6914. A pointer to an alternative bfd_target in case the current one is not
  6915. satisfactory. This can happen when the target cpu supports both big and
  6916. little endian code, and target chosen by the linker has the wrong
  6917. endianness. The function open_output() in ld/ldlang.c uses this field
  6918. to find an alternative output format that is suitable.
  6919. /* Opposite endian version of this target. */
  6920. const struct bfd_target *alternative_target;
  6921. /* Data for use by back-end routines, which isn't
  6922. generic enough to belong in this structure. */
  6923. const void *backend_data;
  6924. } bfd_target;
  6925. static inline const char *
  6926. bfd_get_target (const bfd *abfd)
  6927. {
  6928. return abfd->xvec->name;
  6929. }
  6930. static inline enum bfd_flavour
  6931. bfd_get_flavour (const bfd *abfd)
  6932. {
  6933. return abfd->xvec->flavour;
  6934. }
  6935. static inline flagword
  6936. bfd_applicable_file_flags (const bfd *abfd)
  6937. {
  6938. return abfd->xvec->object_flags;
  6939. }
  6940. static inline bfd_boolean
  6941. bfd_family_coff (const bfd *abfd)
  6942. {
  6943. return (bfd_get_flavour (abfd) == bfd_target_coff_flavour
  6944. || bfd_get_flavour (abfd) == bfd_target_xcoff_flavour);
  6945. }
  6946. static inline bfd_boolean
  6947. bfd_big_endian (const bfd *abfd)
  6948. {
  6949. return abfd->xvec->byteorder == BFD_ENDIAN_BIG;
  6950. }
  6951. static inline bfd_boolean
  6952. bfd_little_endian (const bfd *abfd)
  6953. {
  6954. return abfd->xvec->byteorder == BFD_ENDIAN_LITTLE;
  6955. }
  6956. static inline bfd_boolean
  6957. bfd_header_big_endian (const bfd *abfd)
  6958. {
  6959. return abfd->xvec->header_byteorder == BFD_ENDIAN_BIG;
  6960. }
  6961. static inline bfd_boolean
  6962. bfd_header_little_endian (const bfd *abfd)
  6963. {
  6964. return abfd->xvec->header_byteorder == BFD_ENDIAN_LITTLE;
  6965. }
  6966. static inline flagword
  6967. bfd_applicable_section_flags (const bfd *abfd)
  6968. {
  6969. return abfd->xvec->section_flags;
  6970. }
  6971. static inline char
  6972. bfd_get_symbol_leading_char (const bfd *abfd)
  6973. {
  6974. return abfd->xvec->symbol_leading_char;
  6975. }
  6976. static inline enum bfd_flavour
  6977. bfd_asymbol_flavour (const asymbol *sy)
  6978. {
  6979. if ((sy->flags & BSF_SYNTHETIC) != 0)
  6980. return bfd_target_unknown_flavour;
  6981. return sy->the_bfd->xvec->flavour;
  6982. }
  6983. 2.12.1.1 'bfd_set_default_target'
  6984. .................................
  6985. *Synopsis*
  6986. bfd_boolean bfd_set_default_target (const char *name);
  6987. *Description*
  6988. Set the default target vector to use when recognizing a BFD. This takes
  6989. the name of the target, which may be a BFD target name or a
  6990. configuration triplet.
  6991. 2.12.1.2 'bfd_find_target'
  6992. ..........................
  6993. *Synopsis*
  6994. const bfd_target *bfd_find_target (const char *target_name, bfd *abfd);
  6995. *Description*
  6996. Return a pointer to the transfer vector for the object target named
  6997. TARGET_NAME. If TARGET_NAME is 'NULL', choose the one in the
  6998. environment variable 'GNUTARGET'; if that is null or not defined, then
  6999. choose the first entry in the target list. Passing in the string
  7000. "default" or setting the environment variable to "default" will cause
  7001. the first entry in the target list to be returned, and
  7002. "target_defaulted" will be set in the BFD if ABFD isn't 'NULL'. This
  7003. causes 'bfd_check_format' to loop over all the targets to find the one
  7004. that matches the file being read.
  7005. 2.12.1.3 'bfd_get_target_info'
  7006. ..............................
  7007. *Synopsis*
  7008. const bfd_target *bfd_get_target_info (const char *target_name,
  7009. bfd *abfd,
  7010. bfd_boolean *is_bigendian,
  7011. int *underscoring,
  7012. const char **def_target_arch);
  7013. *Description*
  7014. Return a pointer to the transfer vector for the object target named
  7015. TARGET_NAME. If TARGET_NAME is 'NULL', choose the one in the
  7016. environment variable 'GNUTARGET'; if that is null or not defined, then
  7017. choose the first entry in the target list. Passing in the string
  7018. "default" or setting the environment variable to "default" will cause
  7019. the first entry in the target list to be returned, and
  7020. "target_defaulted" will be set in the BFD if ABFD isn't 'NULL'. This
  7021. causes 'bfd_check_format' to loop over all the targets to find the one
  7022. that matches the file being read. If IS_BIGENDIAN is not 'NULL', then
  7023. set this value to target's endian mode. True for big-endian, FALSE for
  7024. little-endian or for invalid target. If UNDERSCORING is not 'NULL',
  7025. then set this value to target's underscoring mode. Zero for
  7026. none-underscoring, -1 for invalid target, else the value of target
  7027. vector's symbol underscoring. If DEF_TARGET_ARCH is not 'NULL', then
  7028. set it to the architecture string specified by the target_name.
  7029. 2.12.1.4 'bfd_target_list'
  7030. ..........................
  7031. *Synopsis*
  7032. const char ** bfd_target_list (void);
  7033. *Description*
  7034. Return a freshly malloced NULL-terminated vector of the names of all the
  7035. valid BFD targets. Do not modify the names.
  7036. 2.12.1.5 'bfd_iterate_over_targets'
  7037. ...................................
  7038. *Synopsis*
  7039. const bfd_target *bfd_iterate_over_targets
  7040. (int (*func) (const bfd_target *, void *),
  7041. void *data);
  7042. *Description*
  7043. Call FUNC for each target in the list of BFD target vectors, passing
  7044. DATA to FUNC. Stop iterating if FUNC returns a non-zero result, and
  7045. return that target vector. Return NULL if FUNC always returns zero.
  7046. 2.12.1.6 'bfd_flavour_name'
  7047. ...........................
  7048. *Synopsis*
  7049. const char *bfd_flavour_name (enum bfd_flavour flavour);
  7050. *Description*
  7051. Return the string form of FLAVOUR.
  7052. 
  7053. File: bfd.info, Node: Architectures, Next: Opening and Closing, Prev: Targets, Up: BFD front end
  7054. 2.13 Architectures
  7055. ==================
  7056. BFD keeps one atom in a BFD describing the architecture of the data
  7057. attached to the BFD: a pointer to a 'bfd_arch_info_type'.
  7058. Pointers to structures can be requested independently of a BFD so
  7059. that an architecture's information can be interrogated without access to
  7060. an open BFD.
  7061. The architecture information is provided by each architecture
  7062. package. The set of default architectures is selected by the macro
  7063. 'SELECT_ARCHITECTURES'. This is normally set up in the
  7064. 'config/TARGET.mt' file of your choice. If the name is not defined,
  7065. then all the architectures supported are included.
  7066. When BFD starts up, all the architectures are called with an
  7067. initialize method. It is up to the architecture back end to insert as
  7068. many items into the list of architectures as it wants to; generally this
  7069. would be one for each machine and one for the default case (an item with
  7070. a machine field of 0).
  7071. BFD's idea of an architecture is implemented in 'archures.c'.
  7072. 2.13.1 bfd_architecture
  7073. -----------------------
  7074. *Description*
  7075. This enum gives the object file's CPU architecture, in a global
  7076. sense--i.e., what processor family does it belong to? Another field
  7077. indicates which processor within the family is in use. The machine
  7078. gives a number which distinguishes different versions of the
  7079. architecture, containing, for example, 68020 for Motorola 68020.
  7080. enum bfd_architecture
  7081. {
  7082. bfd_arch_unknown, /* File arch not known. */
  7083. bfd_arch_obscure, /* Arch known, not one of these. */
  7084. bfd_arch_m68k, /* Motorola 68xxx. */
  7085. #define bfd_mach_m68000 1
  7086. #define bfd_mach_m68008 2
  7087. #define bfd_mach_m68010 3
  7088. #define bfd_mach_m68020 4
  7089. #define bfd_mach_m68030 5
  7090. #define bfd_mach_m68040 6
  7091. #define bfd_mach_m68060 7
  7092. #define bfd_mach_cpu32 8
  7093. #define bfd_mach_fido 9
  7094. #define bfd_mach_mcf_isa_a_nodiv 10
  7095. #define bfd_mach_mcf_isa_a 11
  7096. #define bfd_mach_mcf_isa_a_mac 12
  7097. #define bfd_mach_mcf_isa_a_emac 13
  7098. #define bfd_mach_mcf_isa_aplus 14
  7099. #define bfd_mach_mcf_isa_aplus_mac 15
  7100. #define bfd_mach_mcf_isa_aplus_emac 16
  7101. #define bfd_mach_mcf_isa_b_nousp 17
  7102. #define bfd_mach_mcf_isa_b_nousp_mac 18
  7103. #define bfd_mach_mcf_isa_b_nousp_emac 19
  7104. #define bfd_mach_mcf_isa_b 20
  7105. #define bfd_mach_mcf_isa_b_mac 21
  7106. #define bfd_mach_mcf_isa_b_emac 22
  7107. #define bfd_mach_mcf_isa_b_float 23
  7108. #define bfd_mach_mcf_isa_b_float_mac 24
  7109. #define bfd_mach_mcf_isa_b_float_emac 25
  7110. #define bfd_mach_mcf_isa_c 26
  7111. #define bfd_mach_mcf_isa_c_mac 27
  7112. #define bfd_mach_mcf_isa_c_emac 28
  7113. #define bfd_mach_mcf_isa_c_nodiv 29
  7114. #define bfd_mach_mcf_isa_c_nodiv_mac 30
  7115. #define bfd_mach_mcf_isa_c_nodiv_emac 31
  7116. bfd_arch_vax, /* DEC Vax. */
  7117. bfd_arch_or1k, /* OpenRISC 1000. */
  7118. #define bfd_mach_or1k 1
  7119. #define bfd_mach_or1knd 2
  7120. bfd_arch_sparc, /* SPARC. */
  7121. #define bfd_mach_sparc 1
  7122. /* The difference between v8plus and v9 is that v9 is a true 64 bit env. */
  7123. #define bfd_mach_sparc_sparclet 2
  7124. #define bfd_mach_sparc_sparclite 3
  7125. #define bfd_mach_sparc_v8plus 4
  7126. #define bfd_mach_sparc_v8plusa 5 /* with ultrasparc add'ns. */
  7127. #define bfd_mach_sparc_sparclite_le 6
  7128. #define bfd_mach_sparc_v9 7
  7129. #define bfd_mach_sparc_v9a 8 /* with ultrasparc add'ns. */
  7130. #define bfd_mach_sparc_v8plusb 9 /* with cheetah add'ns. */
  7131. #define bfd_mach_sparc_v9b 10 /* with cheetah add'ns. */
  7132. #define bfd_mach_sparc_v8plusc 11 /* with UA2005 and T1 add'ns. */
  7133. #define bfd_mach_sparc_v9c 12 /* with UA2005 and T1 add'ns. */
  7134. #define bfd_mach_sparc_v8plusd 13 /* with UA2007 and T3 add'ns. */
  7135. #define bfd_mach_sparc_v9d 14 /* with UA2007 and T3 add'ns. */
  7136. #define bfd_mach_sparc_v8pluse 15 /* with OSA2001 and T4 add'ns (no IMA). */
  7137. #define bfd_mach_sparc_v9e 16 /* with OSA2001 and T4 add'ns (no IMA). */
  7138. #define bfd_mach_sparc_v8plusv 17 /* with OSA2011 and T4 and IMA and FJMAU add'ns. */
  7139. #define bfd_mach_sparc_v9v 18 /* with OSA2011 and T4 and IMA and FJMAU add'ns. */
  7140. #define bfd_mach_sparc_v8plusm 19 /* with OSA2015 and M7 add'ns. */
  7141. #define bfd_mach_sparc_v9m 20 /* with OSA2015 and M7 add'ns. */
  7142. #define bfd_mach_sparc_v8plusm8 21 /* with OSA2017 and M8 add'ns. */
  7143. #define bfd_mach_sparc_v9m8 22 /* with OSA2017 and M8 add'ns. */
  7144. /* Nonzero if MACH has the v9 instruction set. */
  7145. #define bfd_mach_sparc_v9_p(mach) \
  7146. ((mach) >= bfd_mach_sparc_v8plus && (mach) <= bfd_mach_sparc_v9m8 \
  7147. && (mach) != bfd_mach_sparc_sparclite_le)
  7148. /* Nonzero if MACH is a 64 bit sparc architecture. */
  7149. #define bfd_mach_sparc_64bit_p(mach) \
  7150. ((mach) >= bfd_mach_sparc_v9 \
  7151. && (mach) != bfd_mach_sparc_v8plusb \
  7152. && (mach) != bfd_mach_sparc_v8plusc \
  7153. && (mach) != bfd_mach_sparc_v8plusd \
  7154. && (mach) != bfd_mach_sparc_v8pluse \
  7155. && (mach) != bfd_mach_sparc_v8plusv \
  7156. && (mach) != bfd_mach_sparc_v8plusm \
  7157. && (mach) != bfd_mach_sparc_v8plusm8)
  7158. bfd_arch_spu, /* PowerPC SPU. */
  7159. #define bfd_mach_spu 256
  7160. bfd_arch_mips, /* MIPS Rxxxx. */
  7161. #define bfd_mach_mips3000 3000
  7162. #define bfd_mach_mips3900 3900
  7163. #define bfd_mach_mips4000 4000
  7164. #define bfd_mach_mips4010 4010
  7165. #define bfd_mach_mips4100 4100
  7166. #define bfd_mach_mips4111 4111
  7167. #define bfd_mach_mips4120 4120
  7168. #define bfd_mach_mips4300 4300
  7169. #define bfd_mach_mips4400 4400
  7170. #define bfd_mach_mips4600 4600
  7171. #define bfd_mach_mips4650 4650
  7172. #define bfd_mach_mips5000 5000
  7173. #define bfd_mach_mips5400 5400
  7174. #define bfd_mach_mips5500 5500
  7175. #define bfd_mach_mips5900 5900
  7176. #define bfd_mach_mips6000 6000
  7177. #define bfd_mach_mips7000 7000
  7178. #define bfd_mach_mips8000 8000
  7179. #define bfd_mach_mips9000 9000
  7180. #define bfd_mach_mips10000 10000
  7181. #define bfd_mach_mips12000 12000
  7182. #define bfd_mach_mips14000 14000
  7183. #define bfd_mach_mips16000 16000
  7184. #define bfd_mach_mips16 16
  7185. #define bfd_mach_mips5 5
  7186. #define bfd_mach_mips_loongson_2e 3001
  7187. #define bfd_mach_mips_loongson_2f 3002
  7188. #define bfd_mach_mips_gs464 3003
  7189. #define bfd_mach_mips_gs464e 3004
  7190. #define bfd_mach_mips_gs264e 3005
  7191. #define bfd_mach_mips_sb1 12310201 /* octal 'SB', 01. */
  7192. #define bfd_mach_mips_octeon 6501
  7193. #define bfd_mach_mips_octeonp 6601
  7194. #define bfd_mach_mips_octeon2 6502
  7195. #define bfd_mach_mips_octeon3 6503
  7196. #define bfd_mach_mips_xlr 887682 /* decimal 'XLR'. */
  7197. #define bfd_mach_mips_interaptiv_mr2 736550 /* decimal 'IA2'. */
  7198. #define bfd_mach_mipsisa32 32
  7199. #define bfd_mach_mipsisa32r2 33
  7200. #define bfd_mach_mipsisa32r3 34
  7201. #define bfd_mach_mipsisa32r5 36
  7202. #define bfd_mach_mipsisa32r6 37
  7203. #define bfd_mach_mipsisa64 64
  7204. #define bfd_mach_mipsisa64r2 65
  7205. #define bfd_mach_mipsisa64r3 66
  7206. #define bfd_mach_mipsisa64r5 68
  7207. #define bfd_mach_mipsisa64r6 69
  7208. #define bfd_mach_mips_micromips 96
  7209. bfd_arch_i386, /* Intel 386. */
  7210. #define bfd_mach_i386_intel_syntax (1 << 0)
  7211. #define bfd_mach_i386_i8086 (1 << 1)
  7212. #define bfd_mach_i386_i386 (1 << 2)
  7213. #define bfd_mach_x86_64 (1 << 3)
  7214. #define bfd_mach_x64_32 (1 << 4)
  7215. #define bfd_mach_i386_i386_intel_syntax (bfd_mach_i386_i386 | bfd_mach_i386_intel_syntax)
  7216. #define bfd_mach_x86_64_intel_syntax (bfd_mach_x86_64 | bfd_mach_i386_intel_syntax)
  7217. #define bfd_mach_x64_32_intel_syntax (bfd_mach_x64_32 | bfd_mach_i386_intel_syntax)
  7218. bfd_arch_l1om, /* Intel L1OM. */
  7219. #define bfd_mach_l1om (1 << 5)
  7220. #define bfd_mach_l1om_intel_syntax (bfd_mach_l1om | bfd_mach_i386_intel_syntax)
  7221. bfd_arch_k1om, /* Intel K1OM. */
  7222. #define bfd_mach_k1om (1 << 6)
  7223. #define bfd_mach_k1om_intel_syntax (bfd_mach_k1om | bfd_mach_i386_intel_syntax)
  7224. #define bfd_mach_i386_nacl (1 << 7)
  7225. #define bfd_mach_i386_i386_nacl (bfd_mach_i386_i386 | bfd_mach_i386_nacl)
  7226. #define bfd_mach_x86_64_nacl (bfd_mach_x86_64 | bfd_mach_i386_nacl)
  7227. #define bfd_mach_x64_32_nacl (bfd_mach_x64_32 | bfd_mach_i386_nacl)
  7228. bfd_arch_iamcu, /* Intel MCU. */
  7229. #define bfd_mach_iamcu (1 << 8)
  7230. #define bfd_mach_i386_iamcu (bfd_mach_i386_i386 | bfd_mach_iamcu)
  7231. #define bfd_mach_i386_iamcu_intel_syntax (bfd_mach_i386_iamcu | bfd_mach_i386_intel_syntax)
  7232. bfd_arch_romp, /* IBM ROMP PC/RT. */
  7233. bfd_arch_convex, /* Convex. */
  7234. bfd_arch_m98k, /* Motorola 98xxx. */
  7235. bfd_arch_pyramid, /* Pyramid Technology. */
  7236. bfd_arch_h8300, /* Renesas H8/300 (formerly Hitachi H8/300). */
  7237. #define bfd_mach_h8300 1
  7238. #define bfd_mach_h8300h 2
  7239. #define bfd_mach_h8300s 3
  7240. #define bfd_mach_h8300hn 4
  7241. #define bfd_mach_h8300sn 5
  7242. #define bfd_mach_h8300sx 6
  7243. #define bfd_mach_h8300sxn 7
  7244. bfd_arch_pdp11, /* DEC PDP-11. */
  7245. bfd_arch_plugin,
  7246. bfd_arch_powerpc, /* PowerPC. */
  7247. #define bfd_mach_ppc 32
  7248. #define bfd_mach_ppc64 64
  7249. #define bfd_mach_ppc_403 403
  7250. #define bfd_mach_ppc_403gc 4030
  7251. #define bfd_mach_ppc_405 405
  7252. #define bfd_mach_ppc_505 505
  7253. #define bfd_mach_ppc_601 601
  7254. #define bfd_mach_ppc_602 602
  7255. #define bfd_mach_ppc_603 603
  7256. #define bfd_mach_ppc_ec603e 6031
  7257. #define bfd_mach_ppc_604 604
  7258. #define bfd_mach_ppc_620 620
  7259. #define bfd_mach_ppc_630 630
  7260. #define bfd_mach_ppc_750 750
  7261. #define bfd_mach_ppc_860 860
  7262. #define bfd_mach_ppc_a35 35
  7263. #define bfd_mach_ppc_rs64ii 642
  7264. #define bfd_mach_ppc_rs64iii 643
  7265. #define bfd_mach_ppc_7400 7400
  7266. #define bfd_mach_ppc_e500 500
  7267. #define bfd_mach_ppc_e500mc 5001
  7268. #define bfd_mach_ppc_e500mc64 5005
  7269. #define bfd_mach_ppc_e5500 5006
  7270. #define bfd_mach_ppc_e6500 5007
  7271. #define bfd_mach_ppc_titan 83
  7272. #define bfd_mach_ppc_vle 84
  7273. bfd_arch_rs6000, /* IBM RS/6000. */
  7274. #define bfd_mach_rs6k 6000
  7275. #define bfd_mach_rs6k_rs1 6001
  7276. #define bfd_mach_rs6k_rsc 6003
  7277. #define bfd_mach_rs6k_rs2 6002
  7278. bfd_arch_hppa, /* HP PA RISC. */
  7279. #define bfd_mach_hppa10 10
  7280. #define bfd_mach_hppa11 11
  7281. #define bfd_mach_hppa20 20
  7282. #define bfd_mach_hppa20w 25
  7283. bfd_arch_d10v, /* Mitsubishi D10V. */
  7284. #define bfd_mach_d10v 1
  7285. #define bfd_mach_d10v_ts2 2
  7286. #define bfd_mach_d10v_ts3 3
  7287. bfd_arch_d30v, /* Mitsubishi D30V. */
  7288. bfd_arch_dlx, /* DLX. */
  7289. bfd_arch_m68hc11, /* Motorola 68HC11. */
  7290. bfd_arch_m68hc12, /* Motorola 68HC12. */
  7291. #define bfd_mach_m6812_default 0
  7292. #define bfd_mach_m6812 1
  7293. #define bfd_mach_m6812s 2
  7294. bfd_arch_m9s12x, /* Freescale S12X. */
  7295. bfd_arch_m9s12xg, /* Freescale XGATE. */
  7296. bfd_arch_s12z, /* Freescale S12Z. */
  7297. #define bfd_mach_s12z_default 0
  7298. bfd_arch_z8k, /* Zilog Z8000. */
  7299. #define bfd_mach_z8001 1
  7300. #define bfd_mach_z8002 2
  7301. bfd_arch_sh, /* Renesas / SuperH SH (formerly Hitachi SH). */
  7302. #define bfd_mach_sh 1
  7303. #define bfd_mach_sh2 0x20
  7304. #define bfd_mach_sh_dsp 0x2d
  7305. #define bfd_mach_sh2a 0x2a
  7306. #define bfd_mach_sh2a_nofpu 0x2b
  7307. #define bfd_mach_sh2a_nofpu_or_sh4_nommu_nofpu 0x2a1
  7308. #define bfd_mach_sh2a_nofpu_or_sh3_nommu 0x2a2
  7309. #define bfd_mach_sh2a_or_sh4 0x2a3
  7310. #define bfd_mach_sh2a_or_sh3e 0x2a4
  7311. #define bfd_mach_sh2e 0x2e
  7312. #define bfd_mach_sh3 0x30
  7313. #define bfd_mach_sh3_nommu 0x31
  7314. #define bfd_mach_sh3_dsp 0x3d
  7315. #define bfd_mach_sh3e 0x3e
  7316. #define bfd_mach_sh4 0x40
  7317. #define bfd_mach_sh4_nofpu 0x41
  7318. #define bfd_mach_sh4_nommu_nofpu 0x42
  7319. #define bfd_mach_sh4a 0x4a
  7320. #define bfd_mach_sh4a_nofpu 0x4b
  7321. #define bfd_mach_sh4al_dsp 0x4d
  7322. bfd_arch_alpha, /* Dec Alpha. */
  7323. #define bfd_mach_alpha_ev4 0x10
  7324. #define bfd_mach_alpha_ev5 0x20
  7325. #define bfd_mach_alpha_ev6 0x30
  7326. bfd_arch_arm, /* Advanced Risc Machines ARM. */
  7327. #define bfd_mach_arm_unknown 0
  7328. #define bfd_mach_arm_2 1
  7329. #define bfd_mach_arm_2a 2
  7330. #define bfd_mach_arm_3 3
  7331. #define bfd_mach_arm_3M 4
  7332. #define bfd_mach_arm_4 5
  7333. #define bfd_mach_arm_4T 6
  7334. #define bfd_mach_arm_5 7
  7335. #define bfd_mach_arm_5T 8
  7336. #define bfd_mach_arm_5TE 9
  7337. #define bfd_mach_arm_XScale 10
  7338. #define bfd_mach_arm_ep9312 11
  7339. #define bfd_mach_arm_iWMMXt 12
  7340. #define bfd_mach_arm_iWMMXt2 13
  7341. #define bfd_mach_arm_5TEJ 14
  7342. #define bfd_mach_arm_6 15
  7343. #define bfd_mach_arm_6KZ 16
  7344. #define bfd_mach_arm_6T2 17
  7345. #define bfd_mach_arm_6K 18
  7346. #define bfd_mach_arm_7 19
  7347. #define bfd_mach_arm_6M 20
  7348. #define bfd_mach_arm_6SM 21
  7349. #define bfd_mach_arm_7EM 22
  7350. #define bfd_mach_arm_8 23
  7351. #define bfd_mach_arm_8R 24
  7352. #define bfd_mach_arm_8M_BASE 25
  7353. #define bfd_mach_arm_8M_MAIN 26
  7354. #define bfd_mach_arm_8_1M_MAIN 27
  7355. bfd_arch_nds32, /* Andes NDS32. */
  7356. #define bfd_mach_n1 1
  7357. #define bfd_mach_n1h 2
  7358. #define bfd_mach_n1h_v2 3
  7359. #define bfd_mach_n1h_v3 4
  7360. #define bfd_mach_n1h_v3m 5
  7361. bfd_arch_ns32k, /* National Semiconductors ns32000. */
  7362. bfd_arch_tic30, /* Texas Instruments TMS320C30. */
  7363. bfd_arch_tic4x, /* Texas Instruments TMS320C3X/4X. */
  7364. #define bfd_mach_tic3x 30
  7365. #define bfd_mach_tic4x 40
  7366. bfd_arch_tic54x, /* Texas Instruments TMS320C54X. */
  7367. bfd_arch_tic6x, /* Texas Instruments TMS320C6X. */
  7368. bfd_arch_tic80, /* TI TMS320c80 (MVP). */
  7369. bfd_arch_v850, /* NEC V850. */
  7370. bfd_arch_v850_rh850,/* NEC V850 (using RH850 ABI). */
  7371. #define bfd_mach_v850 1
  7372. #define bfd_mach_v850e 'E'
  7373. #define bfd_mach_v850e1 '1'
  7374. #define bfd_mach_v850e2 0x4532
  7375. #define bfd_mach_v850e2v3 0x45325633
  7376. #define bfd_mach_v850e3v5 0x45335635 /* ('E'|'3'|'V'|'5'). */
  7377. bfd_arch_arc, /* ARC Cores. */
  7378. #define bfd_mach_arc_a4 0
  7379. #define bfd_mach_arc_a5 1
  7380. #define bfd_mach_arc_arc600 2
  7381. #define bfd_mach_arc_arc601 4
  7382. #define bfd_mach_arc_arc700 3
  7383. #define bfd_mach_arc_arcv2 5
  7384. bfd_arch_m32c, /* Renesas M16C/M32C. */
  7385. #define bfd_mach_m16c 0x75
  7386. #define bfd_mach_m32c 0x78
  7387. bfd_arch_m32r, /* Renesas M32R (formerly Mitsubishi M32R/D). */
  7388. #define bfd_mach_m32r 1 /* For backwards compatibility. */
  7389. #define bfd_mach_m32rx 'x'
  7390. #define bfd_mach_m32r2 '2'
  7391. bfd_arch_mn10200, /* Matsushita MN10200. */
  7392. bfd_arch_mn10300, /* Matsushita MN10300. */
  7393. #define bfd_mach_mn10300 300
  7394. #define bfd_mach_am33 330
  7395. #define bfd_mach_am33_2 332
  7396. bfd_arch_fr30,
  7397. #define bfd_mach_fr30 0x46523330
  7398. bfd_arch_frv,
  7399. #define bfd_mach_frv 1
  7400. #define bfd_mach_frvsimple 2
  7401. #define bfd_mach_fr300 300
  7402. #define bfd_mach_fr400 400
  7403. #define bfd_mach_fr450 450
  7404. #define bfd_mach_frvtomcat 499 /* fr500 prototype. */
  7405. #define bfd_mach_fr500 500
  7406. #define bfd_mach_fr550 550
  7407. bfd_arch_moxie, /* The moxie processor. */
  7408. #define bfd_mach_moxie 1
  7409. bfd_arch_ft32, /* The ft32 processor. */
  7410. #define bfd_mach_ft32 1
  7411. #define bfd_mach_ft32b 2
  7412. bfd_arch_mcore,
  7413. bfd_arch_mep,
  7414. #define bfd_mach_mep 1
  7415. #define bfd_mach_mep_h1 0x6831
  7416. #define bfd_mach_mep_c5 0x6335
  7417. bfd_arch_metag,
  7418. #define bfd_mach_metag 1
  7419. bfd_arch_ia64, /* HP/Intel ia64. */
  7420. #define bfd_mach_ia64_elf64 64
  7421. #define bfd_mach_ia64_elf32 32
  7422. bfd_arch_ip2k, /* Ubicom IP2K microcontrollers. */
  7423. #define bfd_mach_ip2022 1
  7424. #define bfd_mach_ip2022ext 2
  7425. bfd_arch_iq2000, /* Vitesse IQ2000. */
  7426. #define bfd_mach_iq2000 1
  7427. #define bfd_mach_iq10 2
  7428. bfd_arch_bpf, /* Linux eBPF. */
  7429. #define bfd_mach_bpf 1
  7430. bfd_arch_epiphany, /* Adapteva EPIPHANY. */
  7431. #define bfd_mach_epiphany16 1
  7432. #define bfd_mach_epiphany32 2
  7433. bfd_arch_mt,
  7434. #define bfd_mach_ms1 1
  7435. #define bfd_mach_mrisc2 2
  7436. #define bfd_mach_ms2 3
  7437. bfd_arch_pj,
  7438. bfd_arch_avr, /* Atmel AVR microcontrollers. */
  7439. #define bfd_mach_avr1 1
  7440. #define bfd_mach_avr2 2
  7441. #define bfd_mach_avr25 25
  7442. #define bfd_mach_avr3 3
  7443. #define bfd_mach_avr31 31
  7444. #define bfd_mach_avr35 35
  7445. #define bfd_mach_avr4 4
  7446. #define bfd_mach_avr5 5
  7447. #define bfd_mach_avr51 51
  7448. #define bfd_mach_avr6 6
  7449. #define bfd_mach_avrtiny 100
  7450. #define bfd_mach_avrxmega1 101
  7451. #define bfd_mach_avrxmega2 102
  7452. #define bfd_mach_avrxmega3 103
  7453. #define bfd_mach_avrxmega4 104
  7454. #define bfd_mach_avrxmega5 105
  7455. #define bfd_mach_avrxmega6 106
  7456. #define bfd_mach_avrxmega7 107
  7457. bfd_arch_bfin, /* ADI Blackfin. */
  7458. #define bfd_mach_bfin 1
  7459. bfd_arch_cr16, /* National Semiconductor CompactRISC (ie CR16). */
  7460. #define bfd_mach_cr16 1
  7461. bfd_arch_crx, /* National Semiconductor CRX. */
  7462. #define bfd_mach_crx 1
  7463. bfd_arch_cris, /* Axis CRIS. */
  7464. #define bfd_mach_cris_v0_v10 255
  7465. #define bfd_mach_cris_v32 32
  7466. #define bfd_mach_cris_v10_v32 1032
  7467. bfd_arch_riscv,
  7468. #define bfd_mach_riscv32 132
  7469. #define bfd_mach_riscv64 164
  7470. bfd_arch_rl78,
  7471. #define bfd_mach_rl78 0x75
  7472. bfd_arch_rx, /* Renesas RX. */
  7473. #define bfd_mach_rx 0x75
  7474. #define bfd_mach_rx_v2 0x76
  7475. #define bfd_mach_rx_v3 0x77
  7476. bfd_arch_s390, /* IBM s390. */
  7477. #define bfd_mach_s390_31 31
  7478. #define bfd_mach_s390_64 64
  7479. bfd_arch_score, /* Sunplus score. */
  7480. #define bfd_mach_score3 3
  7481. #define bfd_mach_score7 7
  7482. bfd_arch_mmix, /* Donald Knuth's educational processor. */
  7483. bfd_arch_xstormy16,
  7484. #define bfd_mach_xstormy16 1
  7485. bfd_arch_msp430, /* Texas Instruments MSP430 architecture. */
  7486. #define bfd_mach_msp11 11
  7487. #define bfd_mach_msp110 110
  7488. #define bfd_mach_msp12 12
  7489. #define bfd_mach_msp13 13
  7490. #define bfd_mach_msp14 14
  7491. #define bfd_mach_msp15 15
  7492. #define bfd_mach_msp16 16
  7493. #define bfd_mach_msp20 20
  7494. #define bfd_mach_msp21 21
  7495. #define bfd_mach_msp22 22
  7496. #define bfd_mach_msp23 23
  7497. #define bfd_mach_msp24 24
  7498. #define bfd_mach_msp26 26
  7499. #define bfd_mach_msp31 31
  7500. #define bfd_mach_msp32 32
  7501. #define bfd_mach_msp33 33
  7502. #define bfd_mach_msp41 41
  7503. #define bfd_mach_msp42 42
  7504. #define bfd_mach_msp43 43
  7505. #define bfd_mach_msp44 44
  7506. #define bfd_mach_msp430x 45
  7507. #define bfd_mach_msp46 46
  7508. #define bfd_mach_msp47 47
  7509. #define bfd_mach_msp54 54
  7510. bfd_arch_xc16x, /* Infineon's XC16X Series. */
  7511. #define bfd_mach_xc16x 1
  7512. #define bfd_mach_xc16xl 2
  7513. #define bfd_mach_xc16xs 3
  7514. bfd_arch_xgate, /* Freescale XGATE. */
  7515. #define bfd_mach_xgate 1
  7516. bfd_arch_xtensa, /* Tensilica's Xtensa cores. */
  7517. #define bfd_mach_xtensa 1
  7518. bfd_arch_z80,
  7519. #define bfd_mach_z80strict 1 /* No undocumented opcodes. */
  7520. #define bfd_mach_z80 3 /* With ixl, ixh, iyl, and iyh. */
  7521. #define bfd_mach_z80full 7 /* All undocumented instructions. */
  7522. #define bfd_mach_r800 11 /* R800: successor with multiplication. */
  7523. bfd_arch_lm32, /* Lattice Mico32. */
  7524. #define bfd_mach_lm32 1
  7525. bfd_arch_microblaze,/* Xilinx MicroBlaze. */
  7526. bfd_arch_tilepro, /* Tilera TILEPro. */
  7527. bfd_arch_tilegx, /* Tilera TILE-Gx. */
  7528. #define bfd_mach_tilepro 1
  7529. #define bfd_mach_tilegx 1
  7530. #define bfd_mach_tilegx32 2
  7531. bfd_arch_aarch64, /* AArch64. */
  7532. #define bfd_mach_aarch64 0
  7533. #define bfd_mach_aarch64_ilp32 32
  7534. bfd_arch_nios2, /* Nios II. */
  7535. #define bfd_mach_nios2 0
  7536. #define bfd_mach_nios2r1 1
  7537. #define bfd_mach_nios2r2 2
  7538. bfd_arch_visium, /* Visium. */
  7539. #define bfd_mach_visium 1
  7540. bfd_arch_wasm32, /* WebAssembly. */
  7541. #define bfd_mach_wasm32 1
  7542. bfd_arch_pru, /* PRU. */
  7543. #define bfd_mach_pru 0
  7544. bfd_arch_nfp, /* Netronome Flow Processor */
  7545. #define bfd_mach_nfp3200 0x3200
  7546. #define bfd_mach_nfp6000 0x6000
  7547. bfd_arch_csky, /* C-SKY. */
  7548. #define bfd_mach_ck_unknown 0
  7549. #define bfd_mach_ck510 1
  7550. #define bfd_mach_ck610 2
  7551. #define bfd_mach_ck801 3
  7552. #define bfd_mach_ck802 4
  7553. #define bfd_mach_ck803 5
  7554. #define bfd_mach_ck807 6
  7555. #define bfd_mach_ck810 7
  7556. bfd_arch_last
  7557. };
  7558. 2.13.2 bfd_arch_info
  7559. --------------------
  7560. *Description*
  7561. This structure contains information on architectures for use within BFD.
  7562. typedef struct bfd_arch_info
  7563. {
  7564. int bits_per_word;
  7565. int bits_per_address;
  7566. int bits_per_byte;
  7567. enum bfd_architecture arch;
  7568. unsigned long mach;
  7569. const char *arch_name;
  7570. const char *printable_name;
  7571. unsigned int section_align_power;
  7572. /* TRUE if this is the default machine for the architecture.
  7573. The default arch should be the first entry for an arch so that
  7574. all the entries for that arch can be accessed via next. */
  7575. bfd_boolean the_default;
  7576. const struct bfd_arch_info * (*compatible) (const struct bfd_arch_info *,
  7577. const struct bfd_arch_info *);
  7578. bfd_boolean (*scan) (const struct bfd_arch_info *, const char *);
  7579. /* Allocate via bfd_malloc and return a fill buffer of size COUNT. If
  7580. IS_BIGENDIAN is TRUE, the order of bytes is big endian. If CODE is
  7581. TRUE, the buffer contains code. */
  7582. void *(*fill) (bfd_size_type count, bfd_boolean is_bigendian,
  7583. bfd_boolean code);
  7584. const struct bfd_arch_info *next;
  7585. /* On some architectures the offset for a relocation can point into
  7586. the middle of an instruction. This field specifies the maximum
  7587. offset such a relocation can have (in octets). This affects the
  7588. behaviour of the disassembler, since a value greater than zero
  7589. means that it may need to disassemble an instruction twice, once
  7590. to get its length and then a second time to display it. If the
  7591. value is negative then this has to be done for every single
  7592. instruction, regardless of the offset of the reloc. */
  7593. signed int max_reloc_offset_into_insn;
  7594. }
  7595. bfd_arch_info_type;
  7596. 2.13.2.1 'bfd_printable_name'
  7597. .............................
  7598. *Synopsis*
  7599. const char *bfd_printable_name (bfd *abfd);
  7600. *Description*
  7601. Return a printable string representing the architecture and machine from
  7602. the pointer to the architecture info structure.
  7603. 2.13.2.2 'bfd_scan_arch'
  7604. ........................
  7605. *Synopsis*
  7606. const bfd_arch_info_type *bfd_scan_arch (const char *string);
  7607. *Description*
  7608. Figure out if BFD supports any cpu which could be described with the
  7609. name STRING. Return a pointer to an 'arch_info' structure if a machine
  7610. is found, otherwise NULL.
  7611. 2.13.2.3 'bfd_arch_list'
  7612. ........................
  7613. *Synopsis*
  7614. const char **bfd_arch_list (void);
  7615. *Description*
  7616. Return a freshly malloced NULL-terminated vector of the names of all the
  7617. valid BFD architectures. Do not modify the names.
  7618. 2.13.2.4 'bfd_arch_get_compatible'
  7619. ..................................
  7620. *Synopsis*
  7621. const bfd_arch_info_type *bfd_arch_get_compatible
  7622. (const bfd *abfd, const bfd *bbfd, bfd_boolean accept_unknowns);
  7623. *Description*
  7624. Determine whether two BFDs' architectures and machine types are
  7625. compatible. Calculates the lowest common denominator between the two
  7626. architectures and machine types implied by the BFDs and returns a
  7627. pointer to an 'arch_info' structure describing the compatible machine.
  7628. 2.13.2.5 'bfd_default_arch_struct'
  7629. ..................................
  7630. *Description*
  7631. The 'bfd_default_arch_struct' is an item of 'bfd_arch_info_type' which
  7632. has been initialized to a fairly generic state. A BFD starts life by
  7633. pointing to this structure, until the correct back end has determined
  7634. the real architecture of the file.
  7635. extern const bfd_arch_info_type bfd_default_arch_struct;
  7636. 2.13.2.6 'bfd_set_arch_info'
  7637. ............................
  7638. *Synopsis*
  7639. void bfd_set_arch_info (bfd *abfd, const bfd_arch_info_type *arg);
  7640. *Description*
  7641. Set the architecture info of ABFD to ARG.
  7642. 2.13.2.7 'bfd_default_set_arch_mach'
  7643. ....................................
  7644. *Synopsis*
  7645. bfd_boolean bfd_default_set_arch_mach
  7646. (bfd *abfd, enum bfd_architecture arch, unsigned long mach);
  7647. *Description*
  7648. Set the architecture and machine type in BFD ABFD to ARCH and MACH.
  7649. Find the correct pointer to a structure and insert it into the
  7650. 'arch_info' pointer.
  7651. 2.13.2.8 'bfd_get_arch'
  7652. .......................
  7653. *Synopsis*
  7654. enum bfd_architecture bfd_get_arch (const bfd *abfd);
  7655. *Description*
  7656. Return the enumerated type which describes the BFD ABFD's architecture.
  7657. 2.13.2.9 'bfd_get_mach'
  7658. .......................
  7659. *Synopsis*
  7660. unsigned long bfd_get_mach (const bfd *abfd);
  7661. *Description*
  7662. Return the long type which describes the BFD ABFD's machine.
  7663. 2.13.2.10 'bfd_arch_bits_per_byte'
  7664. ..................................
  7665. *Synopsis*
  7666. unsigned int bfd_arch_bits_per_byte (const bfd *abfd);
  7667. *Description*
  7668. Return the number of bits in one of the BFD ABFD's architecture's bytes.
  7669. 2.13.2.11 'bfd_arch_bits_per_address'
  7670. .....................................
  7671. *Synopsis*
  7672. unsigned int bfd_arch_bits_per_address (const bfd *abfd);
  7673. *Description*
  7674. Return the number of bits in one of the BFD ABFD's architecture's
  7675. addresses.
  7676. 2.13.2.12 'bfd_default_compatible'
  7677. ..................................
  7678. *Synopsis*
  7679. const bfd_arch_info_type *bfd_default_compatible
  7680. (const bfd_arch_info_type *a, const bfd_arch_info_type *b);
  7681. *Description*
  7682. The default function for testing for compatibility.
  7683. 2.13.2.13 'bfd_default_scan'
  7684. ............................
  7685. *Synopsis*
  7686. bfd_boolean bfd_default_scan
  7687. (const struct bfd_arch_info *info, const char *string);
  7688. *Description*
  7689. The default function for working out whether this is an architecture hit
  7690. and a machine hit.
  7691. 2.13.2.14 'bfd_get_arch_info'
  7692. .............................
  7693. *Synopsis*
  7694. const bfd_arch_info_type *bfd_get_arch_info (bfd *abfd);
  7695. *Description*
  7696. Return the architecture info struct in ABFD.
  7697. 2.13.2.15 'bfd_lookup_arch'
  7698. ...........................
  7699. *Synopsis*
  7700. const bfd_arch_info_type *bfd_lookup_arch
  7701. (enum bfd_architecture arch, unsigned long machine);
  7702. *Description*
  7703. Look for the architecture info structure which matches the arguments
  7704. ARCH and MACHINE. A machine of 0 matches the machine/architecture
  7705. structure which marks itself as the default.
  7706. 2.13.2.16 'bfd_printable_arch_mach'
  7707. ...................................
  7708. *Synopsis*
  7709. const char *bfd_printable_arch_mach
  7710. (enum bfd_architecture arch, unsigned long machine);
  7711. *Description*
  7712. Return a printable string representing the architecture and machine
  7713. type.
  7714. This routine is depreciated.
  7715. 2.13.2.17 'bfd_octets_per_byte'
  7716. ...............................
  7717. *Synopsis*
  7718. unsigned int bfd_octets_per_byte (const bfd *abfd,
  7719. const asection *sec);
  7720. *Description*
  7721. Return the number of octets (8-bit quantities) per target byte (minimum
  7722. addressable unit). In most cases, this will be one, but some DSP
  7723. targets have 16, 32, or even 48 bits per byte.
  7724. 2.13.2.18 'bfd_arch_mach_octets_per_byte'
  7725. .........................................
  7726. *Synopsis*
  7727. unsigned int bfd_arch_mach_octets_per_byte
  7728. (enum bfd_architecture arch, unsigned long machine);
  7729. *Description*
  7730. See bfd_octets_per_byte.
  7731. This routine is provided for those cases where a bfd * is not
  7732. available
  7733. 2.13.2.19 'bfd_arch_default_fill'
  7734. .................................
  7735. *Synopsis*
  7736. void *bfd_arch_default_fill (bfd_size_type count,
  7737. bfd_boolean is_bigendian,
  7738. bfd_boolean code);
  7739. *Description*
  7740. Allocate via bfd_malloc and return a fill buffer of size COUNT. If
  7741. IS_BIGENDIAN is TRUE, the order of bytes is big endian. If CODE is
  7742. TRUE, the buffer contains code.
  7743. 
  7744. File: bfd.info, Node: Opening and Closing, Next: Internal, Prev: Architectures, Up: BFD front end
  7745. /* Set to N to open the next N BFDs using an alternate id space. */
  7746. extern unsigned int bfd_use_reserved_id;
  7747. 2.14 Opening and closing BFDs
  7748. =============================
  7749. 2.14.1 Functions for opening and closing
  7750. ----------------------------------------
  7751. 2.14.1.1 'bfd_fopen'
  7752. ....................
  7753. *Synopsis*
  7754. bfd *bfd_fopen (const char *filename, const char *target,
  7755. const char *mode, int fd);
  7756. *Description*
  7757. Open the file FILENAME with the target TARGET. Return a pointer to the
  7758. created BFD. If FD is not -1, then 'fdopen' is used to open the file;
  7759. otherwise, 'fopen' is used. MODE is passed directly to 'fopen' or
  7760. 'fdopen'.
  7761. Calls 'bfd_find_target', so TARGET is interpreted as by that
  7762. function.
  7763. The new BFD is marked as cacheable iff FD is -1.
  7764. If 'NULL' is returned then an error has occured. Possible errors are
  7765. 'bfd_error_no_memory', 'bfd_error_invalid_target' or 'system_call'
  7766. error.
  7767. On error, FD is always closed.
  7768. A copy of the FILENAME argument is stored in the newly created BFD.
  7769. It can be accessed via the bfd_get_filename() macro.
  7770. 2.14.1.2 'bfd_openr'
  7771. ....................
  7772. *Synopsis*
  7773. bfd *bfd_openr (const char *filename, const char *target);
  7774. *Description*
  7775. Open the file FILENAME (using 'fopen') with the target TARGET. Return a
  7776. pointer to the created BFD.
  7777. Calls 'bfd_find_target', so TARGET is interpreted as by that
  7778. function.
  7779. If 'NULL' is returned then an error has occured. Possible errors are
  7780. 'bfd_error_no_memory', 'bfd_error_invalid_target' or 'system_call'
  7781. error.
  7782. A copy of the FILENAME argument is stored in the newly created BFD.
  7783. It can be accessed via the bfd_get_filename() macro.
  7784. 2.14.1.3 'bfd_fdopenr'
  7785. ......................
  7786. *Synopsis*
  7787. bfd *bfd_fdopenr (const char *filename, const char *target, int fd);
  7788. *Description*
  7789. 'bfd_fdopenr' is to 'bfd_fopenr' much like 'fdopen' is to 'fopen'. It
  7790. opens a BFD on a file already described by the FD supplied.
  7791. When the file is later 'bfd_close'd, the file descriptor will be
  7792. closed. If the caller desires that this file descriptor be cached by
  7793. BFD (opened as needed, closed as needed to free descriptors for other
  7794. opens), with the supplied FD used as an initial file descriptor (but
  7795. subject to closure at any time), call bfd_set_cacheable(bfd, 1) on the
  7796. returned BFD. The default is to assume no caching; the file descriptor
  7797. will remain open until 'bfd_close', and will not be affected by BFD
  7798. operations on other files.
  7799. Possible errors are 'bfd_error_no_memory', 'bfd_error_invalid_target'
  7800. and 'bfd_error_system_call'.
  7801. On error, FD is closed.
  7802. A copy of the FILENAME argument is stored in the newly created BFD.
  7803. It can be accessed via the bfd_get_filename() macro.
  7804. 2.14.1.4 'bfd_openstreamr'
  7805. ..........................
  7806. *Synopsis*
  7807. bfd *bfd_openstreamr (const char * filename, const char * target,
  7808. void * stream);
  7809. *Description*
  7810. Open a BFD for read access on an existing stdio stream. When the BFD is
  7811. passed to 'bfd_close', the stream will be closed.
  7812. A copy of the FILENAME argument is stored in the newly created BFD.
  7813. It can be accessed via the bfd_get_filename() macro.
  7814. 2.14.1.5 'bfd_openr_iovec'
  7815. ..........................
  7816. *Synopsis*
  7817. bfd *bfd_openr_iovec (const char *filename, const char *target,
  7818. void *(*open_func) (struct bfd *nbfd,
  7819. void *open_closure),
  7820. void *open_closure,
  7821. file_ptr (*pread_func) (struct bfd *nbfd,
  7822. void *stream,
  7823. void *buf,
  7824. file_ptr nbytes,
  7825. file_ptr offset),
  7826. int (*close_func) (struct bfd *nbfd,
  7827. void *stream),
  7828. int (*stat_func) (struct bfd *abfd,
  7829. void *stream,
  7830. struct stat *sb));
  7831. *Description*
  7832. Create and return a BFD backed by a read-only STREAM. The STREAM is
  7833. created using OPEN_FUNC, accessed using PREAD_FUNC and destroyed using
  7834. CLOSE_FUNC.
  7835. Calls 'bfd_find_target', so TARGET is interpreted as by that
  7836. function.
  7837. Calls OPEN_FUNC (which can call 'bfd_zalloc' and 'bfd_get_filename')
  7838. to obtain the read-only stream backing the BFD. OPEN_FUNC either
  7839. succeeds returning the non-'NULL' STREAM, or fails returning 'NULL'
  7840. (setting 'bfd_error').
  7841. Calls PREAD_FUNC to request NBYTES of data from STREAM starting at
  7842. OFFSET (e.g., via a call to 'bfd_read'). PREAD_FUNC either succeeds
  7843. returning the number of bytes read (which can be less than NBYTES when
  7844. end-of-file), or fails returning -1 (setting 'bfd_error').
  7845. Calls CLOSE_FUNC when the BFD is later closed using 'bfd_close'.
  7846. CLOSE_FUNC either succeeds returning 0, or fails returning -1 (setting
  7847. 'bfd_error').
  7848. Calls STAT_FUNC to fill in a stat structure for bfd_stat,
  7849. bfd_get_size, and bfd_get_mtime calls. STAT_FUNC returns 0 on success,
  7850. or returns -1 on failure (setting 'bfd_error').
  7851. If 'bfd_openr_iovec' returns 'NULL' then an error has occurred.
  7852. Possible errors are 'bfd_error_no_memory', 'bfd_error_invalid_target'
  7853. and 'bfd_error_system_call'.
  7854. A copy of the FILENAME argument is stored in the newly created BFD.
  7855. It can be accessed via the bfd_get_filename() macro.
  7856. 2.14.1.6 'bfd_openw'
  7857. ....................
  7858. *Synopsis*
  7859. bfd *bfd_openw (const char *filename, const char *target);
  7860. *Description*
  7861. Create a BFD, associated with file FILENAME, using the file format
  7862. TARGET, and return a pointer to it.
  7863. Possible errors are 'bfd_error_system_call', 'bfd_error_no_memory',
  7864. 'bfd_error_invalid_target'.
  7865. A copy of the FILENAME argument is stored in the newly created BFD.
  7866. It can be accessed via the bfd_get_filename() macro.
  7867. 2.14.1.7 'bfd_close'
  7868. ....................
  7869. *Synopsis*
  7870. bfd_boolean bfd_close (bfd *abfd);
  7871. *Description*
  7872. Close a BFD. If the BFD was open for writing, then pending operations
  7873. are completed and the file written out and closed. If the created file
  7874. is executable, then 'chmod' is called to mark it as such.
  7875. All memory attached to the BFD is released.
  7876. The file descriptor associated with the BFD is closed (even if it was
  7877. passed in to BFD by 'bfd_fdopenr').
  7878. *Returns*
  7879. 'TRUE' is returned if all is ok, otherwise 'FALSE'.
  7880. 2.14.1.8 'bfd_close_all_done'
  7881. .............................
  7882. *Synopsis*
  7883. bfd_boolean bfd_close_all_done (bfd *);
  7884. *Description*
  7885. Close a BFD. Differs from 'bfd_close' since it does not complete any
  7886. pending operations. This routine would be used if the application had
  7887. just used BFD for swapping and didn't want to use any of the writing
  7888. code.
  7889. If the created file is executable, then 'chmod' is called to mark it
  7890. as such.
  7891. All memory attached to the BFD is released.
  7892. *Returns*
  7893. 'TRUE' is returned if all is ok, otherwise 'FALSE'.
  7894. 2.14.1.9 'bfd_create'
  7895. .....................
  7896. *Synopsis*
  7897. bfd *bfd_create (const char *filename, bfd *templ);
  7898. *Description*
  7899. Create a new BFD in the manner of 'bfd_openw', but without opening a
  7900. file. The new BFD takes the target from the target used by TEMPL. The
  7901. format is always set to 'bfd_object'.
  7902. A copy of the FILENAME argument is stored in the newly created BFD.
  7903. It can be accessed via the bfd_get_filename() macro.
  7904. 2.14.1.10 'bfd_make_writable'
  7905. .............................
  7906. *Synopsis*
  7907. bfd_boolean bfd_make_writable (bfd *abfd);
  7908. *Description*
  7909. Takes a BFD as created by 'bfd_create' and converts it into one like as
  7910. returned by 'bfd_openw'. It does this by converting the BFD to
  7911. BFD_IN_MEMORY. It's assumed that you will call 'bfd_make_readable' on
  7912. this bfd later.
  7913. *Returns*
  7914. 'TRUE' is returned if all is ok, otherwise 'FALSE'.
  7915. 2.14.1.11 'bfd_make_readable'
  7916. .............................
  7917. *Synopsis*
  7918. bfd_boolean bfd_make_readable (bfd *abfd);
  7919. *Description*
  7920. Takes a BFD as created by 'bfd_create' and 'bfd_make_writable' and
  7921. converts it into one like as returned by 'bfd_openr'. It does this by
  7922. writing the contents out to the memory buffer, then reversing the
  7923. direction.
  7924. *Returns*
  7925. 'TRUE' is returned if all is ok, otherwise 'FALSE'.
  7926. 2.14.1.12 'bfd_alloc'
  7927. .....................
  7928. *Synopsis*
  7929. void *bfd_alloc (bfd *abfd, bfd_size_type wanted);
  7930. *Description*
  7931. Allocate a block of WANTED bytes of memory attached to 'abfd' and return
  7932. a pointer to it.
  7933. 2.14.1.13 'bfd_alloc2'
  7934. ......................
  7935. *Synopsis*
  7936. void *bfd_alloc2 (bfd *abfd, bfd_size_type nmemb, bfd_size_type size);
  7937. *Description*
  7938. Allocate a block of NMEMB elements of SIZE bytes each of memory attached
  7939. to 'abfd' and return a pointer to it.
  7940. 2.14.1.14 'bfd_zalloc'
  7941. ......................
  7942. *Synopsis*
  7943. void *bfd_zalloc (bfd *abfd, bfd_size_type wanted);
  7944. *Description*
  7945. Allocate a block of WANTED bytes of zeroed memory attached to 'abfd' and
  7946. return a pointer to it.
  7947. 2.14.1.15 'bfd_zalloc2'
  7948. .......................
  7949. *Synopsis*
  7950. void *bfd_zalloc2 (bfd *abfd, bfd_size_type nmemb, bfd_size_type size);
  7951. *Description*
  7952. Allocate a block of NMEMB elements of SIZE bytes each of zeroed memory
  7953. attached to 'abfd' and return a pointer to it.
  7954. 2.14.1.16 'bfd_calc_gnu_debuglink_crc32'
  7955. ........................................
  7956. *Synopsis*
  7957. unsigned long bfd_calc_gnu_debuglink_crc32
  7958. (unsigned long crc, const unsigned char *buf, bfd_size_type len);
  7959. *Description*
  7960. Computes a CRC value as used in the .gnu_debuglink section. Advances
  7961. the previously computed CRC value by computing and adding in the crc32
  7962. for LEN bytes of BUF.
  7963. *Returns*
  7964. Return the updated CRC32 value.
  7965. 2.14.1.17 'bfd_get_debug_link_info_1'
  7966. .....................................
  7967. *Synopsis*
  7968. char *bfd_get_debug_link_info_1 (bfd *abfd, void *crc32_out);
  7969. *Description*
  7970. Extracts the filename and CRC32 value for any separate debug information
  7971. file associated with ABFD.
  7972. The CRC32_OUT parameter is an untyped pointer because this routine is
  7973. used as a 'get_func_type' function, but it is expected to be an unsigned
  7974. long pointer.
  7975. *Returns*
  7976. The filename of the associated debug information file, or NULL if there
  7977. is no such file. If the filename was found then the contents of
  7978. CRC32_OUT are updated to hold the corresponding CRC32 value for the
  7979. file.
  7980. The returned filename is allocated with 'malloc'; freeing it is the
  7981. responsibility of the caller.
  7982. 2.14.1.18 'bfd_get_debug_link_info'
  7983. ...................................
  7984. *Synopsis*
  7985. char *bfd_get_debug_link_info (bfd *abfd, unsigned long *crc32_out);
  7986. *Description*
  7987. Extracts the filename and CRC32 value for any separate debug information
  7988. file associated with ABFD.
  7989. *Returns*
  7990. The filename of the associated debug information file, or NULL if there
  7991. is no such file. If the filename was found then the contents of
  7992. CRC32_OUT are updated to hold the corresponding CRC32 value for the
  7993. file.
  7994. The returned filename is allocated with 'malloc'; freeing it is the
  7995. responsibility of the caller.
  7996. 2.14.1.19 'bfd_get_alt_debug_link_info'
  7997. .......................................
  7998. *Synopsis*
  7999. char *bfd_get_alt_debug_link_info (bfd * abfd,
  8000. bfd_size_type *buildid_len,
  8001. bfd_byte **buildid_out);
  8002. *Description*
  8003. Fetch the filename and BuildID value for any alternate debuginfo
  8004. associated with ABFD. Return NULL if no such info found, otherwise
  8005. return filename and update BUILDID_LEN and BUILDID_OUT. The returned
  8006. filename and build_id are allocated with 'malloc'; freeing them is the
  8007. responsibility of the caller.
  8008. 2.14.1.20 'separate_debug_file_exists'
  8009. ......................................
  8010. *Synopsis*
  8011. bfd_boolean separate_debug_file_exists
  8012. (char *name, void *crc32_p);
  8013. *Description*
  8014. Checks to see if NAME is a file and if its contents match CRC32, which
  8015. is a pointer to an 'unsigned long' containing a CRC32.
  8016. The CRC32_P parameter is an untyped pointer because this routine is
  8017. used as a 'check_func_type' function.
  8018. 2.14.1.21 'separate_alt_debug_file_exists'
  8019. ..........................................
  8020. *Synopsis*
  8021. bfd_boolean separate_alt_debug_file_exists
  8022. (char *name, void *unused);
  8023. *Description*
  8024. Checks to see if NAME is a file.
  8025. 2.14.1.22 'find_separate_debug_file'
  8026. ....................................
  8027. *Synopsis*
  8028. char *find_separate_debug_file
  8029. (bfd *abfd, const char *dir, bfd_boolean include_dirs,
  8030. get_func_type get, check_func_type check, void *data);
  8031. *Description*
  8032. Searches for a debug information file corresponding to ABFD.
  8033. The name of the separate debug info file is returned by the GET
  8034. function. This function scans various fixed locations in the
  8035. filesystem, including the file tree rooted at DIR. If the INCLUDE_DIRS
  8036. parameter is true then the directory components of ABFD's filename will
  8037. be included in the searched locations.
  8038. DATA is passed unmodified to the GET and CHECK functions. It is
  8039. generally used to implement build-id-like matching in the callback
  8040. functions.
  8041. *Returns*
  8042. Returns the filename of the first file to be found which receives a TRUE
  8043. result from the CHECK function. Returns NULL if no valid file could be
  8044. found.
  8045. 2.14.1.23 'bfd_follow_gnu_debuglink'
  8046. ....................................
  8047. *Synopsis*
  8048. char *bfd_follow_gnu_debuglink (bfd *abfd, const char *dir);
  8049. *Description*
  8050. Takes a BFD and searches it for a .gnu_debuglink section. If this
  8051. section is found, it examines the section for the name and checksum of a
  8052. '.debug' file containing auxiliary debugging information. It then
  8053. searches the filesystem for this .debug file in some standard locations,
  8054. including the directory tree rooted at DIR, and if found returns the
  8055. full filename.
  8056. If DIR is NULL, the search will take place starting at the current
  8057. directory.
  8058. *Returns*
  8059. 'NULL' on any errors or failure to locate the .debug file, otherwise a
  8060. pointer to a heap-allocated string containing the filename. The caller
  8061. is responsible for freeing this string.
  8062. 2.14.1.24 'bfd_follow_gnu_debugaltlink'
  8063. .......................................
  8064. *Synopsis*
  8065. char *bfd_follow_gnu_debugaltlink (bfd *abfd, const char *dir);
  8066. *Description*
  8067. Takes a BFD and searches it for a .gnu_debugaltlink section. If this
  8068. section is found, it examines the section for the name of a file
  8069. containing auxiliary debugging information. It then searches the
  8070. filesystem for this file in a set of standard locations, including the
  8071. directory tree rooted at DIR, and if found returns the full filename.
  8072. If DIR is NULL, the search will take place starting at the current
  8073. directory.
  8074. *Returns*
  8075. 'NULL' on any errors or failure to locate the debug file, otherwise a
  8076. pointer to a heap-allocated string containing the filename. The caller
  8077. is responsible for freeing this string.
  8078. 2.14.1.25 'bfd_create_gnu_debuglink_section'
  8079. ............................................
  8080. *Synopsis*
  8081. struct bfd_section *bfd_create_gnu_debuglink_section
  8082. (bfd *abfd, const char *filename);
  8083. *Description*
  8084. Takes a BFD and adds a .gnu_debuglink section to it. The section is
  8085. sized to be big enough to contain a link to the specified FILENAME.
  8086. *Returns*
  8087. A pointer to the new section is returned if all is ok. Otherwise 'NULL'
  8088. is returned and bfd_error is set.
  8089. 2.14.1.26 'bfd_fill_in_gnu_debuglink_section'
  8090. .............................................
  8091. *Synopsis*
  8092. bfd_boolean bfd_fill_in_gnu_debuglink_section
  8093. (bfd *abfd, struct bfd_section *sect, const char *filename);
  8094. *Description*
  8095. Takes a BFD and containing a .gnu_debuglink section SECT and fills in
  8096. the contents of the section to contain a link to the specified FILENAME.
  8097. The filename should be relative to the current directory.
  8098. *Returns*
  8099. 'TRUE' is returned if all is ok. Otherwise 'FALSE' is returned and
  8100. bfd_error is set.
  8101. 2.14.1.27 'get_build_id'
  8102. ........................
  8103. *Synopsis*
  8104. struct bfd_build_id * get_build_id (bfd *abfd);
  8105. *Description*
  8106. Finds the build-id associated with ABFD. If the build-id is extracted
  8107. from the note section then a build-id structure is built for it, using
  8108. memory allocated to ABFD, and this is then attached to the ABFD.
  8109. *Returns*
  8110. Returns a pointer to the build-id structure if a build-id could be
  8111. found. If no build-id is found NULL is returned and error code is set.
  8112. 2.14.1.28 'get_build_id_name'
  8113. .............................
  8114. *Synopsis*
  8115. char * get_build_id_name (bfd *abfd, void *build_id_out_p)
  8116. *Description*
  8117. Searches ABFD for a build-id, and then constructs a pathname from it.
  8118. The path is computed as .build-id/NN/NN+NN.debug where NNNN+NN is the
  8119. build-id value as a hexadecimal string.
  8120. *Returns*
  8121. Returns the constructed filename or NULL upon error. It is the caller's
  8122. responsibility to free the memory used to hold the filename. If a
  8123. filename is returned then the BUILD_ID_OUT_P parameter (which points to
  8124. a 'struct bfd_build_id' pointer) is set to a pointer to the build_id
  8125. structure.
  8126. 2.14.1.29 'check_build_id_file'
  8127. ...............................
  8128. *Synopsis*
  8129. bfd_boolean check_build_id_file (char *name, void *buildid_p);
  8130. *Description*
  8131. Checks to see if NAME is a readable file and if its build-id matches
  8132. BUILDID.
  8133. *Returns*
  8134. Returns TRUE if the file exists, is readable, and contains a build-id
  8135. which matches the build-id pointed at by BUILD_ID_P (which is really a
  8136. 'struct bfd_build_id **').
  8137. 2.14.1.30 'bfd_follow_build_id_debuglink'
  8138. .........................................
  8139. *Synopsis*
  8140. char *bfd_follow_build_id_debuglink (bfd *abfd, const char *dir);
  8141. *Description*
  8142. Takes ABFD and searches it for a .note.gnu.build-id section. If this
  8143. section is found, it extracts the value of the NT_GNU_BUILD_ID note,
  8144. which should be a hexadecimal value NNNN+NN (for 32+ hex digits). It
  8145. then searches the filesystem for a file named .BUILD-ID/NN/NN+NN.DEBUG
  8146. in a set of standard locations, including the directory tree rooted at
  8147. DIR. The filename of the first matching file to be found is returned.
  8148. A matching file should contain a .note.gnu.build-id section with the
  8149. same NNNN+NN note as ABFD, although this check is currently not
  8150. implemented.
  8151. If DIR is NULL, the search will take place starting at the current
  8152. directory.
  8153. *Returns*
  8154. 'NULL' on any errors or failure to locate the debug file, otherwise a
  8155. pointer to a heap-allocated string containing the filename. The caller
  8156. is responsible for freeing this string.
  8157. 2.14.1.31 'bfd_set_filename'
  8158. ............................
  8159. *Synopsis*
  8160. void bfd_set_filename (bfd *abfd, char *filename);
  8161. *Description*
  8162. Set the filename of ABFD. The old filename, if any, is freed. FILENAME
  8163. must be allocated using 'xmalloc'. After this call, it is owned ABFD.
  8164. 
  8165. File: bfd.info, Node: Internal, Next: File Caching, Prev: Opening and Closing, Up: BFD front end
  8166. 2.15 Implementation details
  8167. ===========================
  8168. 2.15.1 Internal functions
  8169. -------------------------
  8170. *Description*
  8171. These routines are used within BFD. They are not intended for export,
  8172. but are documented here for completeness.
  8173. 2.15.1.1 'bfd_write_bigendian_4byte_int'
  8174. ........................................
  8175. *Synopsis*
  8176. bfd_boolean bfd_write_bigendian_4byte_int (bfd *, unsigned int);
  8177. *Description*
  8178. Write a 4 byte integer I to the output BFD ABFD, in big endian order
  8179. regardless of what else is going on. This is useful in archives.
  8180. 2.15.1.2 'bfd_put_size'
  8181. .......................
  8182. 2.15.1.3 'bfd_get_size'
  8183. .......................
  8184. *Description*
  8185. These macros as used for reading and writing raw data in sections; each
  8186. access (except for bytes) is vectored through the target format of the
  8187. BFD and mangled accordingly. The mangling performs any necessary endian
  8188. translations and removes alignment restrictions. Note that types
  8189. accepted and returned by these macros are identical so they can be
  8190. swapped around in macros--for example, 'libaout.h' defines 'GET_WORD' to
  8191. either 'bfd_get_32' or 'bfd_get_64'.
  8192. In the put routines, VAL must be a 'bfd_vma'. If we are on a system
  8193. without prototypes, the caller is responsible for making sure that is
  8194. true, with a cast if necessary. We don't cast them in the macro
  8195. definitions because that would prevent 'lint' or 'gcc -Wall' from
  8196. detecting sins such as passing a pointer. To detect calling these with
  8197. less than a 'bfd_vma', use 'gcc -Wconversion' on a host with 64 bit
  8198. 'bfd_vma''s.
  8199. /* Byte swapping macros for user section data. */
  8200. #define bfd_put_8(abfd, val, ptr) \
  8201. ((void) (*((unsigned char *) (ptr)) = (val) & 0xff))
  8202. #define bfd_put_signed_8 \
  8203. bfd_put_8
  8204. #define bfd_get_8(abfd, ptr) \
  8205. ((bfd_vma) *(const unsigned char *) (ptr) & 0xff)
  8206. #define bfd_get_signed_8(abfd, ptr) \
  8207. ((((bfd_signed_vma) *(const unsigned char *) (ptr) & 0xff) ^ 0x80) - 0x80)
  8208. #define bfd_put_16(abfd, val, ptr) \
  8209. BFD_SEND (abfd, bfd_putx16, ((val),(ptr)))
  8210. #define bfd_put_signed_16 \
  8211. bfd_put_16
  8212. #define bfd_get_16(abfd, ptr) \
  8213. BFD_SEND (abfd, bfd_getx16, (ptr))
  8214. #define bfd_get_signed_16(abfd, ptr) \
  8215. BFD_SEND (abfd, bfd_getx_signed_16, (ptr))
  8216. #define bfd_put_24(abfd, val, ptr) \
  8217. do \
  8218. if (bfd_big_endian (abfd)) \
  8219. bfd_putb24 ((val), (ptr)); \
  8220. else \
  8221. bfd_putl24 ((val), (ptr)); \
  8222. while (0)
  8223. bfd_vma bfd_getb24 (const void *p);
  8224. bfd_vma bfd_getl24 (const void *p);
  8225. #define bfd_get_24(abfd, ptr) \
  8226. (bfd_big_endian (abfd) ? bfd_getb24 (ptr) : bfd_getl24 (ptr))
  8227. #define bfd_put_32(abfd, val, ptr) \
  8228. BFD_SEND (abfd, bfd_putx32, ((val),(ptr)))
  8229. #define bfd_put_signed_32 \
  8230. bfd_put_32
  8231. #define bfd_get_32(abfd, ptr) \
  8232. BFD_SEND (abfd, bfd_getx32, (ptr))
  8233. #define bfd_get_signed_32(abfd, ptr) \
  8234. BFD_SEND (abfd, bfd_getx_signed_32, (ptr))
  8235. #define bfd_put_64(abfd, val, ptr) \
  8236. BFD_SEND (abfd, bfd_putx64, ((val), (ptr)))
  8237. #define bfd_put_signed_64 \
  8238. bfd_put_64
  8239. #define bfd_get_64(abfd, ptr) \
  8240. BFD_SEND (abfd, bfd_getx64, (ptr))
  8241. #define bfd_get_signed_64(abfd, ptr) \
  8242. BFD_SEND (abfd, bfd_getx_signed_64, (ptr))
  8243. #define bfd_get(bits, abfd, ptr) \
  8244. ((bits) == 8 ? (bfd_vma) bfd_get_8 (abfd, ptr) \
  8245. : (bits) == 16 ? bfd_get_16 (abfd, ptr) \
  8246. : (bits) == 32 ? bfd_get_32 (abfd, ptr) \
  8247. : (bits) == 64 ? bfd_get_64 (abfd, ptr) \
  8248. : (abort (), (bfd_vma) - 1))
  8249. #define bfd_put(bits, abfd, val, ptr) \
  8250. ((bits) == 8 ? bfd_put_8 (abfd, val, ptr) \
  8251. : (bits) == 16 ? bfd_put_16 (abfd, val, ptr) \
  8252. : (bits) == 32 ? bfd_put_32 (abfd, val, ptr) \
  8253. : (bits) == 64 ? bfd_put_64 (abfd, val, ptr) \
  8254. : (abort (), (void) 0))
  8255. 2.15.1.4 'bfd_h_put_size'
  8256. .........................
  8257. *Description*
  8258. These macros have the same function as their 'bfd_get_x' brethren,
  8259. except that they are used for removing information for the header
  8260. records of object files. Believe it or not, some object files keep
  8261. their header records in big endian order and their data in little endian
  8262. order.
  8263. /* Byte swapping macros for file header data. */
  8264. #define bfd_h_put_8(abfd, val, ptr) \
  8265. bfd_put_8 (abfd, val, ptr)
  8266. #define bfd_h_put_signed_8(abfd, val, ptr) \
  8267. bfd_put_8 (abfd, val, ptr)
  8268. #define bfd_h_get_8(abfd, ptr) \
  8269. bfd_get_8 (abfd, ptr)
  8270. #define bfd_h_get_signed_8(abfd, ptr) \
  8271. bfd_get_signed_8 (abfd, ptr)
  8272. #define bfd_h_put_16(abfd, val, ptr) \
  8273. BFD_SEND (abfd, bfd_h_putx16, (val, ptr))
  8274. #define bfd_h_put_signed_16 \
  8275. bfd_h_put_16
  8276. #define bfd_h_get_16(abfd, ptr) \
  8277. BFD_SEND (abfd, bfd_h_getx16, (ptr))
  8278. #define bfd_h_get_signed_16(abfd, ptr) \
  8279. BFD_SEND (abfd, bfd_h_getx_signed_16, (ptr))
  8280. #define bfd_h_put_32(abfd, val, ptr) \
  8281. BFD_SEND (abfd, bfd_h_putx32, (val, ptr))
  8282. #define bfd_h_put_signed_32 \
  8283. bfd_h_put_32
  8284. #define bfd_h_get_32(abfd, ptr) \
  8285. BFD_SEND (abfd, bfd_h_getx32, (ptr))
  8286. #define bfd_h_get_signed_32(abfd, ptr) \
  8287. BFD_SEND (abfd, bfd_h_getx_signed_32, (ptr))
  8288. #define bfd_h_put_64(abfd, val, ptr) \
  8289. BFD_SEND (abfd, bfd_h_putx64, (val, ptr))
  8290. #define bfd_h_put_signed_64 \
  8291. bfd_h_put_64
  8292. #define bfd_h_get_64(abfd, ptr) \
  8293. BFD_SEND (abfd, bfd_h_getx64, (ptr))
  8294. #define bfd_h_get_signed_64(abfd, ptr) \
  8295. BFD_SEND (abfd, bfd_h_getx_signed_64, (ptr))
  8296. /* Aliases for the above, which should eventually go away. */
  8297. #define H_PUT_64 bfd_h_put_64
  8298. #define H_PUT_32 bfd_h_put_32
  8299. #define H_PUT_16 bfd_h_put_16
  8300. #define H_PUT_8 bfd_h_put_8
  8301. #define H_PUT_S64 bfd_h_put_signed_64
  8302. #define H_PUT_S32 bfd_h_put_signed_32
  8303. #define H_PUT_S16 bfd_h_put_signed_16
  8304. #define H_PUT_S8 bfd_h_put_signed_8
  8305. #define H_GET_64 bfd_h_get_64
  8306. #define H_GET_32 bfd_h_get_32
  8307. #define H_GET_16 bfd_h_get_16
  8308. #define H_GET_8 bfd_h_get_8
  8309. #define H_GET_S64 bfd_h_get_signed_64
  8310. #define H_GET_S32 bfd_h_get_signed_32
  8311. #define H_GET_S16 bfd_h_get_signed_16
  8312. #define H_GET_S8 bfd_h_get_signed_8
  8313. 2.15.1.5 'bfd_log2'
  8314. ...................
  8315. *Synopsis*
  8316. unsigned int bfd_log2 (bfd_vma x);
  8317. *Description*
  8318. Return the log base 2 of the value supplied, rounded up. E.g., an X of
  8319. 1025 returns 11. A X of 0 returns 0.
  8320. 
  8321. File: bfd.info, Node: File Caching, Next: Linker Functions, Prev: Internal, Up: BFD front end
  8322. 2.16 File caching
  8323. =================
  8324. The file caching mechanism is embedded within BFD and allows the
  8325. application to open as many BFDs as it wants without regard to the
  8326. underlying operating system's file descriptor limit (often as low as 20
  8327. open files). The module in 'cache.c' maintains a least recently used
  8328. list of 'bfd_cache_max_open' files, and exports the name
  8329. 'bfd_cache_lookup', which runs around and makes sure that the required
  8330. BFD is open. If not, then it chooses a file to close, closes it and
  8331. opens the one wanted, returning its file handle.
  8332. 2.16.1 Caching functions
  8333. ------------------------
  8334. 2.16.1.1 'bfd_cache_init'
  8335. .........................
  8336. *Synopsis*
  8337. bfd_boolean bfd_cache_init (bfd *abfd);
  8338. *Description*
  8339. Add a newly opened BFD to the cache.
  8340. 2.16.1.2 'bfd_cache_close'
  8341. ..........................
  8342. *Synopsis*
  8343. bfd_boolean bfd_cache_close (bfd *abfd);
  8344. *Description*
  8345. Remove the BFD ABFD from the cache. If the attached file is open, then
  8346. close it too.
  8347. *Returns*
  8348. 'FALSE' is returned if closing the file fails, 'TRUE' is returned if all
  8349. is well.
  8350. 2.16.1.3 'bfd_cache_close_all'
  8351. ..............................
  8352. *Synopsis*
  8353. bfd_boolean bfd_cache_close_all (void);
  8354. *Description*
  8355. Remove all BFDs from the cache. If the attached file is open, then
  8356. close it too.
  8357. *Returns*
  8358. 'FALSE' is returned if closing one of the file fails, 'TRUE' is returned
  8359. if all is well.
  8360. 2.16.1.4 'bfd_open_file'
  8361. ........................
  8362. *Synopsis*
  8363. FILE* bfd_open_file (bfd *abfd);
  8364. *Description*
  8365. Call the OS to open a file for ABFD. Return the 'FILE *' (possibly
  8366. 'NULL') that results from this operation. Set up the BFD so that future
  8367. accesses know the file is open. If the 'FILE *' returned is 'NULL',
  8368. then it won't have been put in the cache, so it won't have to be removed
  8369. from it.
  8370. 
  8371. File: bfd.info, Node: Linker Functions, Next: Hash Tables, Prev: File Caching, Up: BFD front end
  8372. 2.17 Linker Functions
  8373. =====================
  8374. The linker uses three special entry points in the BFD target vector. It
  8375. is not necessary to write special routines for these entry points when
  8376. creating a new BFD back end, since generic versions are provided.
  8377. However, writing them can speed up linking and make it use significantly
  8378. less runtime memory.
  8379. The first routine creates a hash table used by the other routines.
  8380. The second routine adds the symbols from an object file to the hash
  8381. table. The third routine takes all the object files and links them
  8382. together to create the output file. These routines are designed so that
  8383. the linker proper does not need to know anything about the symbols in
  8384. the object files that it is linking. The linker merely arranges the
  8385. sections as directed by the linker script and lets BFD handle the
  8386. details of symbols and relocs.
  8387. The second routine and third routines are passed a pointer to a
  8388. 'struct bfd_link_info' structure (defined in 'bfdlink.h') which holds
  8389. information relevant to the link, including the linker hash table (which
  8390. was created by the first routine) and a set of callback functions to the
  8391. linker proper.
  8392. The generic linker routines are in 'linker.c', and use the header
  8393. file 'genlink.h'. As of this writing, the only back ends which have
  8394. implemented versions of these routines are a.out (in 'aoutx.h') and
  8395. ECOFF (in 'ecoff.c'). The a.out routines are used as examples
  8396. throughout this section.
  8397. * Menu:
  8398. * Creating a Linker Hash Table::
  8399. * Adding Symbols to the Hash Table::
  8400. * Performing the Final Link::
  8401. 
  8402. File: bfd.info, Node: Creating a Linker Hash Table, Next: Adding Symbols to the Hash Table, Prev: Linker Functions, Up: Linker Functions
  8403. 2.17.1 Creating a linker hash table
  8404. -----------------------------------
  8405. The linker routines must create a hash table, which must be derived from
  8406. 'struct bfd_link_hash_table' described in 'bfdlink.c'. *Note Hash
  8407. Tables::, for information on how to create a derived hash table. This
  8408. entry point is called using the target vector of the linker output file.
  8409. The '_bfd_link_hash_table_create' entry point must allocate and
  8410. initialize an instance of the desired hash table. If the back end does
  8411. not require any additional information to be stored with the entries in
  8412. the hash table, the entry point may simply create a 'struct
  8413. bfd_link_hash_table'. Most likely, however, some additional information
  8414. will be needed.
  8415. For example, with each entry in the hash table the a.out linker keeps
  8416. the index the symbol has in the final output file (this index number is
  8417. used so that when doing a relocatable link the symbol index used in the
  8418. output file can be quickly filled in when copying over a reloc). The
  8419. a.out linker code defines the required structures and functions for a
  8420. hash table derived from 'struct bfd_link_hash_table'. The a.out linker
  8421. hash table is created by the function
  8422. 'NAME(aout,link_hash_table_create)'; it simply allocates space for the
  8423. hash table, initializes it, and returns a pointer to it.
  8424. When writing the linker routines for a new back end, you will
  8425. generally not know exactly which fields will be required until you have
  8426. finished. You should simply create a new hash table which defines no
  8427. additional fields, and then simply add fields as they become necessary.
  8428. 
  8429. File: bfd.info, Node: Adding Symbols to the Hash Table, Next: Performing the Final Link, Prev: Creating a Linker Hash Table, Up: Linker Functions
  8430. 2.17.2 Adding symbols to the hash table
  8431. ---------------------------------------
  8432. The linker proper will call the '_bfd_link_add_symbols' entry point for
  8433. each object file or archive which is to be linked (typically these are
  8434. the files named on the command line, but some may also come from the
  8435. linker script). The entry point is responsible for examining the file.
  8436. For an object file, BFD must add any relevant symbol information to the
  8437. hash table. For an archive, BFD must determine which elements of the
  8438. archive should be used and adding them to the link.
  8439. The a.out version of this entry point is
  8440. 'NAME(aout,link_add_symbols)'.
  8441. * Menu:
  8442. * Differing file formats::
  8443. * Adding symbols from an object file::
  8444. * Adding symbols from an archive::
  8445. 
  8446. File: bfd.info, Node: Differing file formats, Next: Adding symbols from an object file, Prev: Adding Symbols to the Hash Table, Up: Adding Symbols to the Hash Table
  8447. 2.17.2.1 Differing file formats
  8448. ...............................
  8449. Normally all the files involved in a link will be of the same format,
  8450. but it is also possible to link together different format object files,
  8451. and the back end must support that. The '_bfd_link_add_symbols' entry
  8452. point is called via the target vector of the file to be added. This has
  8453. an important consequence: the function may not assume that the hash
  8454. table is the type created by the corresponding
  8455. '_bfd_link_hash_table_create' vector. All the '_bfd_link_add_symbols'
  8456. function can assume about the hash table is that it is derived from
  8457. 'struct bfd_link_hash_table'.
  8458. Sometimes the '_bfd_link_add_symbols' function must store some
  8459. information in the hash table entry to be used by the '_bfd_final_link'
  8460. function. In such a case the output bfd xvec must be checked to make
  8461. sure that the hash table was created by an object file of the same
  8462. format.
  8463. The '_bfd_final_link' routine must be prepared to handle a hash entry
  8464. without any extra information added by the '_bfd_link_add_symbols'
  8465. function. A hash entry without extra information will also occur when
  8466. the linker script directs the linker to create a symbol. Note that,
  8467. regardless of how a hash table entry is added, all the fields will be
  8468. initialized to some sort of null value by the hash table entry
  8469. initialization function.
  8470. See 'ecoff_link_add_externals' for an example of how to check the
  8471. output bfd before saving information (in this case, the ECOFF external
  8472. symbol debugging information) in a hash table entry.
  8473. 
  8474. File: bfd.info, Node: Adding symbols from an object file, Next: Adding symbols from an archive, Prev: Differing file formats, Up: Adding Symbols to the Hash Table
  8475. 2.17.2.2 Adding symbols from an object file
  8476. ...........................................
  8477. When the '_bfd_link_add_symbols' routine is passed an object file, it
  8478. must add all externally visible symbols in that object file to the hash
  8479. table. The actual work of adding the symbol to the hash table is
  8480. normally handled by the function '_bfd_generic_link_add_one_symbol'.
  8481. The '_bfd_link_add_symbols' routine is responsible for reading all the
  8482. symbols from the object file and passing the correct information to
  8483. '_bfd_generic_link_add_one_symbol'.
  8484. The '_bfd_link_add_symbols' routine should not use
  8485. 'bfd_canonicalize_symtab' to read the symbols. The point of providing
  8486. this routine is to avoid the overhead of converting the symbols into
  8487. generic 'asymbol' structures.
  8488. '_bfd_generic_link_add_one_symbol' handles the details of combining
  8489. common symbols, warning about multiple definitions, and so forth. It
  8490. takes arguments which describe the symbol to add, notably symbol flags,
  8491. a section, and an offset. The symbol flags include such things as
  8492. 'BSF_WEAK' or 'BSF_INDIRECT'. The section is a section in the object
  8493. file, or something like 'bfd_und_section_ptr' for an undefined symbol or
  8494. 'bfd_com_section_ptr' for a common symbol.
  8495. If the '_bfd_final_link' routine is also going to need to read the
  8496. symbol information, the '_bfd_link_add_symbols' routine should save it
  8497. somewhere attached to the object file BFD. However, the information
  8498. should only be saved if the 'keep_memory' field of the 'info' argument
  8499. is TRUE, so that the '-no-keep-memory' linker switch is effective.
  8500. The a.out function which adds symbols from an object file is
  8501. 'aout_link_add_object_symbols', and most of the interesting work is in
  8502. 'aout_link_add_symbols'. The latter saves pointers to the hash tables
  8503. entries created by '_bfd_generic_link_add_one_symbol' indexed by symbol
  8504. number, so that the '_bfd_final_link' routine does not have to call the
  8505. hash table lookup routine to locate the entry.
  8506. 
  8507. File: bfd.info, Node: Adding symbols from an archive, Prev: Adding symbols from an object file, Up: Adding Symbols to the Hash Table
  8508. 2.17.2.3 Adding symbols from an archive
  8509. .......................................
  8510. When the '_bfd_link_add_symbols' routine is passed an archive, it must
  8511. look through the symbols defined by the archive and decide which
  8512. elements of the archive should be included in the link. For each such
  8513. element it must call the 'add_archive_element' linker callback, and it
  8514. must add the symbols from the object file to the linker hash table.
  8515. (The callback may in fact indicate that a replacement BFD should be
  8516. used, in which case the symbols from that BFD should be added to the
  8517. linker hash table instead.)
  8518. In most cases the work of looking through the symbols in the archive
  8519. should be done by the '_bfd_generic_link_add_archive_symbols' function.
  8520. '_bfd_generic_link_add_archive_symbols' is passed a function to call to
  8521. make the final decision about adding an archive element to the link and
  8522. to do the actual work of adding the symbols to the linker hash table.
  8523. If the element is to be included, the 'add_archive_element' linker
  8524. callback routine must be called with the element as an argument, and the
  8525. element's symbols must be added to the linker hash table just as though
  8526. the element had itself been passed to the '_bfd_link_add_symbols'
  8527. function.
  8528. When the a.out '_bfd_link_add_symbols' function receives an archive,
  8529. it calls '_bfd_generic_link_add_archive_symbols' passing
  8530. 'aout_link_check_archive_element' as the function argument.
  8531. 'aout_link_check_archive_element' calls 'aout_link_check_ar_symbols'.
  8532. If the latter decides to add the element (an element is only added if it
  8533. provides a real, non-common, definition for a previously undefined or
  8534. common symbol) it calls the 'add_archive_element' callback and then
  8535. 'aout_link_check_archive_element' calls 'aout_link_add_symbols' to
  8536. actually add the symbols to the linker hash table - possibly those of a
  8537. substitute BFD, if the 'add_archive_element' callback avails itself of
  8538. that option.
  8539. The ECOFF back end is unusual in that it does not normally call
  8540. '_bfd_generic_link_add_archive_symbols', because ECOFF archives already
  8541. contain a hash table of symbols. The ECOFF back end searches the
  8542. archive itself to avoid the overhead of creating a new hash table.
  8543. 
  8544. File: bfd.info, Node: Performing the Final Link, Prev: Adding Symbols to the Hash Table, Up: Linker Functions
  8545. 2.17.3 Performing the final link
  8546. --------------------------------
  8547. When all the input files have been processed, the linker calls the
  8548. '_bfd_final_link' entry point of the output BFD. This routine is
  8549. responsible for producing the final output file, which has several
  8550. aspects. It must relocate the contents of the input sections and copy
  8551. the data into the output sections. It must build an output symbol table
  8552. including any local symbols from the input files and the global symbols
  8553. from the hash table. When producing relocatable output, it must modify
  8554. the input relocs and write them into the output file. There may also be
  8555. object format dependent work to be done.
  8556. The linker will also call the 'write_object_contents' entry point
  8557. when the BFD is closed. The two entry points must work together in
  8558. order to produce the correct output file.
  8559. The details of how this works are inevitably dependent upon the
  8560. specific object file format. The a.out '_bfd_final_link' routine is
  8561. 'NAME(aout,final_link)'.
  8562. * Menu:
  8563. * Information provided by the linker::
  8564. * Relocating the section contents::
  8565. * Writing the symbol table::
  8566. 
  8567. File: bfd.info, Node: Information provided by the linker, Next: Relocating the section contents, Prev: Performing the Final Link, Up: Performing the Final Link
  8568. 2.17.3.1 Information provided by the linker
  8569. ...........................................
  8570. Before the linker calls the '_bfd_final_link' entry point, it sets up
  8571. some data structures for the function to use.
  8572. The 'input_bfds' field of the 'bfd_link_info' structure will point to
  8573. a list of all the input files included in the link. These files are
  8574. linked through the 'link.next' field of the 'bfd' structure.
  8575. Each section in the output file will have a list of 'link_order'
  8576. structures attached to the 'map_head.link_order' field (the 'link_order'
  8577. structure is defined in 'bfdlink.h'). These structures describe how to
  8578. create the contents of the output section in terms of the contents of
  8579. various input sections, fill constants, and, eventually, other types of
  8580. information. They also describe relocs that must be created by the BFD
  8581. backend, but do not correspond to any input file; this is used to
  8582. support -Ur, which builds constructors while generating a relocatable
  8583. object file.
  8584. 
  8585. File: bfd.info, Node: Relocating the section contents, Next: Writing the symbol table, Prev: Information provided by the linker, Up: Performing the Final Link
  8586. 2.17.3.2 Relocating the section contents
  8587. ........................................
  8588. The '_bfd_final_link' function should look through the 'link_order'
  8589. structures attached to each section of the output file. Each
  8590. 'link_order' structure should either be handled specially, or it should
  8591. be passed to the function '_bfd_default_link_order' which will do the
  8592. right thing ('_bfd_default_link_order' is defined in 'linker.c').
  8593. For efficiency, a 'link_order' of type 'bfd_indirect_link_order'
  8594. whose associated section belongs to a BFD of the same format as the
  8595. output BFD must be handled specially. This type of 'link_order'
  8596. describes part of an output section in terms of a section belonging to
  8597. one of the input files. The '_bfd_final_link' function should read the
  8598. contents of the section and any associated relocs, apply the relocs to
  8599. the section contents, and write out the modified section contents. If
  8600. performing a relocatable link, the relocs themselves must also be
  8601. modified and written out.
  8602. The functions '_bfd_relocate_contents' and '_bfd_final_link_relocate'
  8603. provide some general support for performing the actual relocations,
  8604. notably overflow checking. Their arguments include information about
  8605. the symbol the relocation is against and a 'reloc_howto_type' argument
  8606. which describes the relocation to perform. These functions are defined
  8607. in 'reloc.c'.
  8608. The a.out function which handles reading, relocating, and writing
  8609. section contents is 'aout_link_input_section'. The actual relocation is
  8610. done in 'aout_link_input_section_std' and 'aout_link_input_section_ext'.
  8611. 
  8612. File: bfd.info, Node: Writing the symbol table, Prev: Relocating the section contents, Up: Performing the Final Link
  8613. 2.17.3.3 Writing the symbol table
  8614. .................................
  8615. The '_bfd_final_link' function must gather all the symbols in the input
  8616. files and write them out. It must also write out all the symbols in the
  8617. global hash table. This must be controlled by the 'strip' and 'discard'
  8618. fields of the 'bfd_link_info' structure.
  8619. The local symbols of the input files will not have been entered into
  8620. the linker hash table. The '_bfd_final_link' routine must consider each
  8621. input file and include the symbols in the output file. It may be
  8622. convenient to do this when looking through the 'link_order' structures,
  8623. or it may be done by stepping through the 'input_bfds' list.
  8624. The '_bfd_final_link' routine must also traverse the global hash
  8625. table to gather all the externally visible symbols. It is possible that
  8626. most of the externally visible symbols may be written out when
  8627. considering the symbols of each input file, but it is still necessary to
  8628. traverse the hash table since the linker script may have defined some
  8629. symbols that are not in any of the input files.
  8630. The 'strip' field of the 'bfd_link_info' structure controls which
  8631. symbols are written out. The possible values are listed in 'bfdlink.h'.
  8632. If the value is 'strip_some', then the 'keep_hash' field of the
  8633. 'bfd_link_info' structure is a hash table of symbols to keep; each
  8634. symbol should be looked up in this hash table, and only symbols which
  8635. are present should be included in the output file.
  8636. If the 'strip' field of the 'bfd_link_info' structure permits local
  8637. symbols to be written out, the 'discard' field is used to further
  8638. controls which local symbols are included in the output file. If the
  8639. value is 'discard_l', then all local symbols which begin with a certain
  8640. prefix are discarded; this is controlled by the
  8641. 'bfd_is_local_label_name' entry point.
  8642. The a.out backend handles symbols by calling
  8643. 'aout_link_write_symbols' on each input BFD and then traversing the
  8644. global hash table with the function 'aout_link_write_other_symbol'. It
  8645. builds a string table while writing out the symbols, which is written to
  8646. the output file at the end of 'NAME(aout,final_link)'.
  8647. 2.17.3.4 'bfd_link_split_section'
  8648. .................................
  8649. *Synopsis*
  8650. bfd_boolean bfd_link_split_section (bfd *abfd, asection *sec);
  8651. *Description*
  8652. Return nonzero if SEC should be split during a reloceatable or final
  8653. link.
  8654. #define bfd_link_split_section(abfd, sec) \
  8655. BFD_SEND (abfd, _bfd_link_split_section, (abfd, sec))
  8656. 2.17.3.5 'bfd_section_already_linked'
  8657. .....................................
  8658. *Synopsis*
  8659. bfd_boolean bfd_section_already_linked (bfd *abfd,
  8660. asection *sec,
  8661. struct bfd_link_info *info);
  8662. *Description*
  8663. Check if DATA has been already linked during a reloceatable or final
  8664. link. Return TRUE if it has.
  8665. #define bfd_section_already_linked(abfd, sec, info) \
  8666. BFD_SEND (abfd, _section_already_linked, (abfd, sec, info))
  8667. 2.17.3.6 'bfd_generic_define_common_symbol'
  8668. ...........................................
  8669. *Synopsis*
  8670. bfd_boolean bfd_generic_define_common_symbol
  8671. (bfd *output_bfd, struct bfd_link_info *info,
  8672. struct bfd_link_hash_entry *h);
  8673. *Description*
  8674. Convert common symbol H into a defined symbol. Return TRUE on success
  8675. and FALSE on failure.
  8676. #define bfd_define_common_symbol(output_bfd, info, h) \
  8677. BFD_SEND (output_bfd, _bfd_define_common_symbol, (output_bfd, info, h))
  8678. 2.17.3.7 '_bfd_generic_link_hide_symbol'
  8679. ........................................
  8680. *Synopsis*
  8681. void _bfd_generic_link_hide_symbol
  8682. (bfd *output_bfd, struct bfd_link_info *info,
  8683. struct bfd_link_hash_entry *h);
  8684. *Description*
  8685. Hide symbol H. This is an internal function. It should not be called
  8686. from outside the BFD library.
  8687. #define bfd_link_hide_symbol(output_bfd, info, h) \
  8688. BFD_SEND (output_bfd, _bfd_link_hide_symbol, (output_bfd, info, h))
  8689. 2.17.3.8 'bfd_generic_define_start_stop'
  8690. ........................................
  8691. *Synopsis*
  8692. struct bfd_link_hash_entry *bfd_generic_define_start_stop
  8693. (struct bfd_link_info *info,
  8694. const char *symbol, asection *sec);
  8695. *Description*
  8696. Define a __start, __stop, .startof. or .sizeof. symbol. Return the
  8697. symbol or NULL if no such undefined symbol exists.
  8698. #define bfd_define_start_stop(output_bfd, info, symbol, sec) \
  8699. BFD_SEND (output_bfd, _bfd_define_start_stop, (info, symbol, sec))
  8700. 2.17.3.9 'bfd_find_version_for_sym'
  8701. ...................................
  8702. *Synopsis*
  8703. struct bfd_elf_version_tree * bfd_find_version_for_sym
  8704. (struct bfd_elf_version_tree *verdefs,
  8705. const char *sym_name, bfd_boolean *hide);
  8706. *Description*
  8707. Search an elf version script tree for symbol versioning info and export
  8708. / don't-export status for a given symbol. Return non-NULL on success
  8709. and NULL on failure; also sets the output 'hide' boolean parameter.
  8710. 2.17.3.10 'bfd_hide_sym_by_version'
  8711. ...................................
  8712. *Synopsis*
  8713. bfd_boolean bfd_hide_sym_by_version
  8714. (struct bfd_elf_version_tree *verdefs, const char *sym_name);
  8715. *Description*
  8716. Search an elf version script tree for symbol versioning info for a given
  8717. symbol. Return TRUE if the symbol is hidden.
  8718. 2.17.3.11 'bfd_link_check_relocs'
  8719. .................................
  8720. *Synopsis*
  8721. bfd_boolean bfd_link_check_relocs
  8722. (bfd *abfd, struct bfd_link_info *info);
  8723. *Description*
  8724. Checks the relocs in ABFD for validity. Does not execute the relocs.
  8725. Return TRUE if everything is OK, FALSE otherwise. This is the external
  8726. entry point to this code.
  8727. 2.17.3.12 '_bfd_generic_link_check_relocs'
  8728. ..........................................
  8729. *Synopsis*
  8730. bfd_boolean _bfd_generic_link_check_relocs
  8731. (bfd *abfd, struct bfd_link_info *info);
  8732. *Description*
  8733. Stub function for targets that do not implement reloc checking. Return
  8734. TRUE. This is an internal function. It should not be called from
  8735. outside the BFD library.
  8736. 2.17.3.13 'bfd_merge_private_bfd_data'
  8737. ......................................
  8738. *Synopsis*
  8739. bfd_boolean bfd_merge_private_bfd_data
  8740. (bfd *ibfd, struct bfd_link_info *info);
  8741. *Description*
  8742. Merge private BFD information from the BFD IBFD to the the output file
  8743. BFD when linking. Return 'TRUE' on success, 'FALSE' on error. Possible
  8744. error returns are:
  8745. * 'bfd_error_no_memory' - Not enough memory exists to create private
  8746. data for OBFD.
  8747. #define bfd_merge_private_bfd_data(ibfd, info) \
  8748. BFD_SEND ((info)->output_bfd, _bfd_merge_private_bfd_data, \
  8749. (ibfd, info))
  8750. 2.17.3.14 '_bfd_generic_verify_endian_match'
  8751. ............................................
  8752. *Synopsis*
  8753. bfd_boolean _bfd_generic_verify_endian_match
  8754. (bfd *ibfd, struct bfd_link_info *info);
  8755. *Description*
  8756. Can be used from / for bfd_merge_private_bfd_data to check that
  8757. endianness matches between input and output file. Returns TRUE for a
  8758. match, otherwise returns FALSE and emits an error.
  8759. 
  8760. File: bfd.info, Node: Hash Tables, Prev: Linker Functions, Up: BFD front end
  8761. 2.18 Hash Tables
  8762. ================
  8763. BFD provides a simple set of hash table functions. Routines are
  8764. provided to initialize a hash table, to free a hash table, to look up a
  8765. string in a hash table and optionally create an entry for it, and to
  8766. traverse a hash table. There is currently no routine to delete an
  8767. string from a hash table.
  8768. The basic hash table does not permit any data to be stored with a
  8769. string. However, a hash table is designed to present a base class from
  8770. which other types of hash tables may be derived. These derived types
  8771. may store additional information with the string. Hash tables were
  8772. implemented in this way, rather than simply providing a data pointer in
  8773. a hash table entry, because they were designed for use by the linker
  8774. back ends. The linker may create thousands of hash table entries, and
  8775. the overhead of allocating private data and storing and following
  8776. pointers becomes noticeable.
  8777. The basic hash table code is in 'hash.c'.
  8778. * Menu:
  8779. * Creating and Freeing a Hash Table::
  8780. * Looking Up or Entering a String::
  8781. * Traversing a Hash Table::
  8782. * Deriving a New Hash Table Type::
  8783. 
  8784. File: bfd.info, Node: Creating and Freeing a Hash Table, Next: Looking Up or Entering a String, Prev: Hash Tables, Up: Hash Tables
  8785. 2.18.1 Creating and freeing a hash table
  8786. ----------------------------------------
  8787. To create a hash table, create an instance of a 'struct bfd_hash_table'
  8788. (defined in 'bfd.h') and call 'bfd_hash_table_init' (if you know
  8789. approximately how many entries you will need, the function
  8790. 'bfd_hash_table_init_n', which takes a SIZE argument, may be used).
  8791. 'bfd_hash_table_init' returns 'FALSE' if some sort of error occurs.
  8792. The function 'bfd_hash_table_init' take as an argument a function to
  8793. use to create new entries. For a basic hash table, use the function
  8794. 'bfd_hash_newfunc'. *Note Deriving a New Hash Table Type::, for why you
  8795. would want to use a different value for this argument.
  8796. 'bfd_hash_table_init' will create an objalloc which will be used to
  8797. allocate new entries. You may allocate memory on this objalloc using
  8798. 'bfd_hash_allocate'.
  8799. Use 'bfd_hash_table_free' to free up all the memory that has been
  8800. allocated for a hash table. This will not free up the 'struct
  8801. bfd_hash_table' itself, which you must provide.
  8802. Use 'bfd_hash_set_default_size' to set the default size of hash table
  8803. to use.
  8804. 
  8805. File: bfd.info, Node: Looking Up or Entering a String, Next: Traversing a Hash Table, Prev: Creating and Freeing a Hash Table, Up: Hash Tables
  8806. 2.18.2 Looking up or entering a string
  8807. --------------------------------------
  8808. The function 'bfd_hash_lookup' is used both to look up a string in the
  8809. hash table and to create a new entry.
  8810. If the CREATE argument is 'FALSE', 'bfd_hash_lookup' will look up a
  8811. string. If the string is found, it will returns a pointer to a 'struct
  8812. bfd_hash_entry'. If the string is not found in the table
  8813. 'bfd_hash_lookup' will return 'NULL'. You should not modify any of the
  8814. fields in the returns 'struct bfd_hash_entry'.
  8815. If the CREATE argument is 'TRUE', the string will be entered into the
  8816. hash table if it is not already there. Either way a pointer to a
  8817. 'struct bfd_hash_entry' will be returned, either to the existing
  8818. structure or to a newly created one. In this case, a 'NULL' return
  8819. means that an error occurred.
  8820. If the CREATE argument is 'TRUE', and a new entry is created, the
  8821. COPY argument is used to decide whether to copy the string onto the hash
  8822. table objalloc or not. If COPY is passed as 'FALSE', you must be
  8823. careful not to deallocate or modify the string as long as the hash table
  8824. exists.
  8825. 
  8826. File: bfd.info, Node: Traversing a Hash Table, Next: Deriving a New Hash Table Type, Prev: Looking Up or Entering a String, Up: Hash Tables
  8827. 2.18.3 Traversing a hash table
  8828. ------------------------------
  8829. The function 'bfd_hash_traverse' may be used to traverse a hash table,
  8830. calling a function on each element. The traversal is done in a random
  8831. order.
  8832. 'bfd_hash_traverse' takes as arguments a function and a generic 'void
  8833. *' pointer. The function is called with a hash table entry (a 'struct
  8834. bfd_hash_entry *') and the generic pointer passed to
  8835. 'bfd_hash_traverse'. The function must return a 'boolean' value, which
  8836. indicates whether to continue traversing the hash table. If the
  8837. function returns 'FALSE', 'bfd_hash_traverse' will stop the traversal
  8838. and return immediately.
  8839. 
  8840. File: bfd.info, Node: Deriving a New Hash Table Type, Prev: Traversing a Hash Table, Up: Hash Tables
  8841. 2.18.4 Deriving a new hash table type
  8842. -------------------------------------
  8843. Many uses of hash tables want to store additional information which each
  8844. entry in the hash table. Some also find it convenient to store
  8845. additional information with the hash table itself. This may be done
  8846. using a derived hash table.
  8847. Since C is not an object oriented language, creating a derived hash
  8848. table requires sticking together some boilerplate routines with a few
  8849. differences specific to the type of hash table you want to create.
  8850. An example of a derived hash table is the linker hash table. The
  8851. structures for this are defined in 'bfdlink.h'. The functions are in
  8852. 'linker.c'.
  8853. You may also derive a hash table from an already derived hash table.
  8854. For example, the a.out linker backend code uses a hash table derived
  8855. from the linker hash table.
  8856. * Menu:
  8857. * Define the Derived Structures::
  8858. * Write the Derived Creation Routine::
  8859. * Write Other Derived Routines::
  8860. 
  8861. File: bfd.info, Node: Define the Derived Structures, Next: Write the Derived Creation Routine, Prev: Deriving a New Hash Table Type, Up: Deriving a New Hash Table Type
  8862. 2.18.4.1 Define the derived structures
  8863. ......................................
  8864. You must define a structure for an entry in the hash table, and a
  8865. structure for the hash table itself.
  8866. The first field in the structure for an entry in the hash table must
  8867. be of the type used for an entry in the hash table you are deriving
  8868. from. If you are deriving from a basic hash table this is 'struct
  8869. bfd_hash_entry', which is defined in 'bfd.h'. The first field in the
  8870. structure for the hash table itself must be of the type of the hash
  8871. table you are deriving from itself. If you are deriving from a basic
  8872. hash table, this is 'struct bfd_hash_table'.
  8873. For example, the linker hash table defines 'struct
  8874. bfd_link_hash_entry' (in 'bfdlink.h'). The first field, 'root', is of
  8875. type 'struct bfd_hash_entry'. Similarly, the first field in 'struct
  8876. bfd_link_hash_table', 'table', is of type 'struct bfd_hash_table'.
  8877. 
  8878. File: bfd.info, Node: Write the Derived Creation Routine, Next: Write Other Derived Routines, Prev: Define the Derived Structures, Up: Deriving a New Hash Table Type
  8879. 2.18.4.2 Write the derived creation routine
  8880. ...........................................
  8881. You must write a routine which will create and initialize an entry in
  8882. the hash table. This routine is passed as the function argument to
  8883. 'bfd_hash_table_init'.
  8884. In order to permit other hash tables to be derived from the hash
  8885. table you are creating, this routine must be written in a standard way.
  8886. The first argument to the creation routine is a pointer to a hash
  8887. table entry. This may be 'NULL', in which case the routine should
  8888. allocate the right amount of space. Otherwise the space has already
  8889. been allocated by a hash table type derived from this one.
  8890. After allocating space, the creation routine must call the creation
  8891. routine of the hash table type it is derived from, passing in a pointer
  8892. to the space it just allocated. This will initialize any fields used by
  8893. the base hash table.
  8894. Finally the creation routine must initialize any local fields for the
  8895. new hash table type.
  8896. Here is a boilerplate example of a creation routine. FUNCTION_NAME
  8897. is the name of the routine. ENTRY_TYPE is the type of an entry in the
  8898. hash table you are creating. BASE_NEWFUNC is the name of the creation
  8899. routine of the hash table type your hash table is derived from.
  8900. struct bfd_hash_entry *
  8901. FUNCTION_NAME (struct bfd_hash_entry *entry,
  8902. struct bfd_hash_table *table,
  8903. const char *string)
  8904. {
  8905. struct ENTRY_TYPE *ret = (ENTRY_TYPE *) entry;
  8906. /* Allocate the structure if it has not already been allocated by a
  8907. derived class. */
  8908. if (ret == NULL)
  8909. {
  8910. ret = bfd_hash_allocate (table, sizeof (* ret));
  8911. if (ret == NULL)
  8912. return NULL;
  8913. }
  8914. /* Call the allocation method of the base class. */
  8915. ret = ((ENTRY_TYPE *)
  8916. BASE_NEWFUNC ((struct bfd_hash_entry *) ret, table, string));
  8917. /* Initialize the local fields here. */
  8918. return (struct bfd_hash_entry *) ret;
  8919. }
  8920. *Description*
  8921. The creation routine for the linker hash table, which is in 'linker.c',
  8922. looks just like this example. FUNCTION_NAME is
  8923. '_bfd_link_hash_newfunc'. ENTRY_TYPE is 'struct bfd_link_hash_entry'.
  8924. BASE_NEWFUNC is 'bfd_hash_newfunc', the creation routine for a basic
  8925. hash table.
  8926. '_bfd_link_hash_newfunc' also initializes the local fields in a
  8927. linker hash table entry: 'type', 'written' and 'next'.
  8928. 
  8929. File: bfd.info, Node: Write Other Derived Routines, Prev: Write the Derived Creation Routine, Up: Deriving a New Hash Table Type
  8930. 2.18.4.3 Write other derived routines
  8931. .....................................
  8932. You will want to write other routines for your new hash table, as well.
  8933. You will want an initialization routine which calls the
  8934. initialization routine of the hash table you are deriving from and
  8935. initializes any other local fields. For the linker hash table, this is
  8936. '_bfd_link_hash_table_init' in 'linker.c'.
  8937. You will want a lookup routine which calls the lookup routine of the
  8938. hash table you are deriving from and casts the result. The linker hash
  8939. table uses 'bfd_link_hash_lookup' in 'linker.c' (this actually takes an
  8940. additional argument which it uses to decide how to return the looked up
  8941. value).
  8942. You may want a traversal routine. This should just call the
  8943. traversal routine of the hash table you are deriving from with
  8944. appropriate casts. The linker hash table uses 'bfd_link_hash_traverse'
  8945. in 'linker.c'.
  8946. These routines may simply be defined as macros. For example, the
  8947. a.out backend linker hash table, which is derived from the linker hash
  8948. table, uses macros for the lookup and traversal routines. These are
  8949. 'aout_link_hash_lookup' and 'aout_link_hash_traverse' in aoutx.h.
  8950. 
  8951. File: bfd.info, Node: BFD back ends, Next: GNU Free Documentation License, Prev: BFD front end, Up: Top
  8952. 3 BFD back ends
  8953. ***************
  8954. * Menu:
  8955. * What to Put Where::
  8956. * aout :: a.out backends
  8957. * coff :: coff backends
  8958. * elf :: elf backends
  8959. * mmo :: mmo backend
  8960. 
  8961. File: bfd.info, Node: What to Put Where, Next: aout, Prev: BFD back ends, Up: BFD back ends
  8962. 3.1 What to Put Where
  8963. =====================
  8964. All of BFD lives in one directory.
  8965. 
  8966. File: bfd.info, Node: aout, Next: coff, Prev: What to Put Where, Up: BFD back ends
  8967. 3.2 a.out backends
  8968. ==================
  8969. *Description*
  8970. BFD supports a number of different flavours of a.out format, though the
  8971. major differences are only the sizes of the structures on disk, and the
  8972. shape of the relocation information.
  8973. The support is split into a basic support file 'aoutx.h' and other
  8974. files which derive functions from the base. One derivation file is
  8975. 'aoutf1.h' (for a.out flavour 1), and adds to the basic a.out functions
  8976. support for sun3, sun4, and 386 a.out files, to create a target jump
  8977. vector for a specific target.
  8978. This information is further split out into more specific files for
  8979. each machine, including 'sunos.c' for sun3 and sun4, and 'demo64.c' for
  8980. a demonstration of a 64 bit a.out format.
  8981. The base file 'aoutx.h' defines general mechanisms for reading and
  8982. writing records to and from disk and various other methods which BFD
  8983. requires. It is included by 'aout32.c' and 'aout64.c' to form the names
  8984. 'aout_32_swap_exec_header_in', 'aout_64_swap_exec_header_in', etc.
  8985. As an example, this is what goes on to make the back end for a sun4,
  8986. from 'aout32.c':
  8987. #define ARCH_SIZE 32
  8988. #include "aoutx.h"
  8989. Which exports names:
  8990. ...
  8991. aout_32_canonicalize_reloc
  8992. aout_32_find_nearest_line
  8993. aout_32_get_lineno
  8994. aout_32_get_reloc_upper_bound
  8995. ...
  8996. from 'sunos.c':
  8997. #define TARGET_NAME "a.out-sunos-big"
  8998. #define VECNAME sparc_aout_sunos_be_vec
  8999. #include "aoutf1.h"
  9000. requires all the names from 'aout32.c', and produces the jump vector
  9001. sparc_aout_sunos_be_vec
  9002. The file 'host-aout.c' is a special case. It is for a large set of
  9003. hosts that use "more or less standard" a.out files, and for which
  9004. cross-debugging is not interesting. It uses the standard 32-bit a.out
  9005. support routines, but determines the file offsets and addresses of the
  9006. text, data, and BSS sections, the machine architecture and machine type,
  9007. and the entry point address, in a host-dependent manner. Once these
  9008. values have been determined, generic code is used to handle the object
  9009. file.
  9010. When porting it to run on a new system, you must supply:
  9011. HOST_PAGE_SIZE
  9012. HOST_SEGMENT_SIZE
  9013. HOST_MACHINE_ARCH (optional)
  9014. HOST_MACHINE_MACHINE (optional)
  9015. HOST_TEXT_START_ADDR
  9016. HOST_STACK_END_ADDR
  9017. in the file '../include/sys/h-XXX.h' (for your host). These values,
  9018. plus the structures and macros defined in 'a.out.h' on your host system,
  9019. will produce a BFD target that will access ordinary a.out files on your
  9020. host. To configure a new machine to use 'host-aout.c', specify:
  9021. TDEFAULTS = -DDEFAULT_VECTOR=host_aout_big_vec
  9022. TDEPFILES= host-aout.o trad-core.o
  9023. in the 'config/XXX.mt' file, and modify 'configure.ac' to use the
  9024. 'XXX.mt' file (by setting "'bfd_target=XXX'") when your configuration is
  9025. selected.
  9026. 3.2.1 Relocations
  9027. -----------------
  9028. *Description*
  9029. The file 'aoutx.h' provides for both the _standard_ and _extended_ forms
  9030. of a.out relocation records.
  9031. The standard records contain only an address, a symbol index, and a
  9032. type field. The extended records also have a full integer for an
  9033. addend.
  9034. 3.2.2 Internal entry points
  9035. ---------------------------
  9036. *Description*
  9037. 'aoutx.h' exports several routines for accessing the contents of an
  9038. a.out file, which are gathered and exported in turn by various format
  9039. specific files (eg sunos.c).
  9040. 3.2.2.1 'aout_SIZE_swap_exec_header_in'
  9041. .......................................
  9042. *Synopsis*
  9043. void aout_SIZE_swap_exec_header_in,
  9044. (bfd *abfd,
  9045. struct external_exec *bytes,
  9046. struct internal_exec *execp);
  9047. *Description*
  9048. Swap the information in an executable header RAW_BYTES taken from a raw
  9049. byte stream memory image into the internal exec header structure EXECP.
  9050. 3.2.2.2 'aout_SIZE_swap_exec_header_out'
  9051. ........................................
  9052. *Synopsis*
  9053. void aout_SIZE_swap_exec_header_out
  9054. (bfd *abfd,
  9055. struct internal_exec *execp,
  9056. struct external_exec *raw_bytes);
  9057. *Description*
  9058. Swap the information in an internal exec header structure EXECP into the
  9059. buffer RAW_BYTES ready for writing to disk.
  9060. 3.2.2.3 'aout_SIZE_some_aout_object_p'
  9061. ......................................
  9062. *Synopsis*
  9063. const bfd_target *aout_SIZE_some_aout_object_p
  9064. (bfd *abfd,
  9065. struct internal_exec *execp,
  9066. const bfd_target *(*callback_to_real_object_p) (bfd *));
  9067. *Description*
  9068. Some a.out variant thinks that the file open in ABFD checking is an
  9069. a.out file. Do some more checking, and set up for access if it really
  9070. is. Call back to the calling environment's "finish up" function just
  9071. before returning, to handle any last-minute setup.
  9072. 3.2.2.4 'aout_SIZE_mkobject'
  9073. ............................
  9074. *Synopsis*
  9075. bfd_boolean aout_SIZE_mkobject, (bfd *abfd);
  9076. *Description*
  9077. Initialize BFD ABFD for use with a.out files.
  9078. 3.2.2.5 'aout_SIZE_machine_type'
  9079. ................................
  9080. *Synopsis*
  9081. enum machine_type aout_SIZE_machine_type
  9082. (enum bfd_architecture arch,
  9083. unsigned long machine,
  9084. bfd_boolean *unknown);
  9085. *Description*
  9086. Keep track of machine architecture and machine type for a.out's. Return
  9087. the 'machine_type' for a particular architecture and machine, or
  9088. 'M_UNKNOWN' if that exact architecture and machine can't be represented
  9089. in a.out format.
  9090. If the architecture is understood, machine type 0 (default) is always
  9091. understood.
  9092. 3.2.2.6 'aout_SIZE_set_arch_mach'
  9093. .................................
  9094. *Synopsis*
  9095. bfd_boolean aout_SIZE_set_arch_mach,
  9096. (bfd *,
  9097. enum bfd_architecture arch,
  9098. unsigned long machine);
  9099. *Description*
  9100. Set the architecture and the machine of the BFD ABFD to the values ARCH
  9101. and MACHINE. Verify that ABFD's format can support the architecture
  9102. required.
  9103. 3.2.2.7 'aout_SIZE_new_section_hook'
  9104. ....................................
  9105. *Synopsis*
  9106. bfd_boolean aout_SIZE_new_section_hook,
  9107. (bfd *abfd,
  9108. asection *newsect);
  9109. *Description*
  9110. Called by the BFD in response to a 'bfd_make_section' request.
  9111. 
  9112. File: bfd.info, Node: coff, Next: elf, Prev: aout, Up: BFD back ends
  9113. 3.3 coff backends
  9114. =================
  9115. BFD supports a number of different flavours of coff format. The major
  9116. differences between formats are the sizes and alignments of fields in
  9117. structures on disk, and the occasional extra field.
  9118. Coff in all its varieties is implemented with a few common files and
  9119. a number of implementation specific files. For example, the i386 coff
  9120. format is implemented in the file 'coff-i386.c'. This file '#include's
  9121. 'coff/i386.h' which defines the external structure of the coff format
  9122. for the i386, and 'coff/internal.h' which defines the internal
  9123. structure. 'coff-i386.c' also defines the relocations used by the i386
  9124. coff format *Note Relocations::.
  9125. 3.3.1 Porting to a new version of coff
  9126. --------------------------------------
  9127. The recommended method is to select from the existing implementations
  9128. the version of coff which is most like the one you want to use. For
  9129. example, we'll say that i386 coff is the one you select, and that your
  9130. coff flavour is called foo. Copy 'i386coff.c' to 'foocoff.c', copy
  9131. '../include/coff/i386.h' to '../include/coff/foo.h', and add the lines
  9132. to 'targets.c' and 'Makefile.in' so that your new back end is used.
  9133. Alter the shapes of the structures in '../include/coff/foo.h' so that
  9134. they match what you need. You will probably also have to add '#ifdef's
  9135. to the code in 'coff/internal.h' and 'coffcode.h' if your version of
  9136. coff is too wild.
  9137. You can verify that your new BFD backend works quite simply by
  9138. building 'objdump' from the 'binutils' directory, and making sure that
  9139. its version of what's going on and your host system's idea (assuming it
  9140. has the pretty standard coff dump utility, usually called 'att-dump' or
  9141. just 'dump') are the same. Then clean up your code, and send what
  9142. you've done to Cygnus. Then your stuff will be in the next release, and
  9143. you won't have to keep integrating it.
  9144. 3.3.2 How the coff backend works
  9145. --------------------------------
  9146. 3.3.2.1 File layout
  9147. ...................
  9148. The Coff backend is split into generic routines that are applicable to
  9149. any Coff target and routines that are specific to a particular target.
  9150. The target-specific routines are further split into ones which are
  9151. basically the same for all Coff targets except that they use the
  9152. external symbol format or use different values for certain constants.
  9153. The generic routines are in 'coffgen.c'. These routines work for any
  9154. Coff target. They use some hooks into the target specific code; the
  9155. hooks are in a 'bfd_coff_backend_data' structure, one of which exists
  9156. for each target.
  9157. The essentially similar target-specific routines are in 'coffcode.h'.
  9158. This header file includes executable C code. The various Coff targets
  9159. first include the appropriate Coff header file, make any special defines
  9160. that are needed, and then include 'coffcode.h'.
  9161. Some of the Coff targets then also have additional routines in the
  9162. target source file itself.
  9163. 3.3.2.2 Coff long section names
  9164. ...............................
  9165. In the standard Coff object format, section names are limited to the
  9166. eight bytes available in the 's_name' field of the 'SCNHDR' section
  9167. header structure. The format requires the field to be NUL-padded, but
  9168. not necessarily NUL-terminated, so the longest section names permitted
  9169. are a full eight characters.
  9170. The Microsoft PE variants of the Coff object file format add an
  9171. extension to support the use of long section names. This extension is
  9172. defined in section 4 of the Microsoft PE/COFF specification (rev 8.1).
  9173. If a section name is too long to fit into the section header's 's_name'
  9174. field, it is instead placed into the string table, and the 's_name'
  9175. field is filled with a slash ("/") followed by the ASCII decimal
  9176. representation of the offset of the full name relative to the string
  9177. table base.
  9178. Note that this implies that the extension can only be used in object
  9179. files, as executables do not contain a string table. The standard
  9180. specifies that long section names from objects emitted into executable
  9181. images are to be truncated.
  9182. However, as a GNU extension, BFD can generate executable images that
  9183. contain a string table and long section names. This would appear to be
  9184. technically valid, as the standard only says that Coff debugging
  9185. information is deprecated, not forbidden, and in practice it works,
  9186. although some tools that parse PE files expecting the MS standard format
  9187. may become confused; 'PEview' is one known example.
  9188. The functionality is supported in BFD by code implemented under the
  9189. control of the macro 'COFF_LONG_SECTION_NAMES'. If not defined, the
  9190. format does not support long section names in any way. If defined, it
  9191. is used to initialise a flag, '_bfd_coff_long_section_names', and a hook
  9192. function pointer, '_bfd_coff_set_long_section_names', in the Coff
  9193. backend data structure. The flag controls the generation of long
  9194. section names in output BFDs at runtime; if it is false, as it will be
  9195. by default when generating an executable image, long section names are
  9196. truncated; if true, the long section names extension is employed. The
  9197. hook points to a function that allows the value of the flag to be
  9198. altered at runtime, on formats that support long section names at all;
  9199. on other formats it points to a stub that returns an error indication.
  9200. With input BFDs, the flag is set according to whether any long
  9201. section names are detected while reading the section headers. For a
  9202. completely new BFD, the flag is set to the default for the target
  9203. format. This information can be used by a client of the BFD library
  9204. when deciding what output format to generate, and means that a BFD that
  9205. is opened for read and subsequently converted to a writeable BFD and
  9206. modified in-place will retain whatever format it had on input.
  9207. If 'COFF_LONG_SECTION_NAMES' is simply defined (blank), or is defined
  9208. to the value "1", then long section names are enabled by default; if it
  9209. is defined to the value zero, they are disabled by default (but still
  9210. accepted in input BFDs). The header 'coffcode.h' defines a macro,
  9211. 'COFF_DEFAULT_LONG_SECTION_NAMES', which is used in the backends to
  9212. initialise the backend data structure fields appropriately; see the
  9213. comments for further detail.
  9214. 3.3.2.3 Bit twiddling
  9215. .....................
  9216. Each flavour of coff supported in BFD has its own header file describing
  9217. the external layout of the structures. There is also an internal
  9218. description of the coff layout, in 'coff/internal.h'. A major function
  9219. of the coff backend is swapping the bytes and twiddling the bits to
  9220. translate the external form of the structures into the normal internal
  9221. form. This is all performed in the 'bfd_swap'_thing_direction routines.
  9222. Some elements are different sizes between different versions of coff; it
  9223. is the duty of the coff version specific include file to override the
  9224. definitions of various packing routines in 'coffcode.h'. E.g., the size
  9225. of line number entry in coff is sometimes 16 bits, and sometimes 32
  9226. bits. '#define'ing 'PUT_LNSZ_LNNO' and 'GET_LNSZ_LNNO' will select the
  9227. correct one. No doubt, some day someone will find a version of coff
  9228. which has a varying field size not catered to at the moment. To port
  9229. BFD, that person will have to add more '#defines'. Three of the bit
  9230. twiddling routines are exported to 'gdb'; 'coff_swap_aux_in',
  9231. 'coff_swap_sym_in' and 'coff_swap_lineno_in'. 'GDB' reads the symbol
  9232. table on its own, but uses BFD to fix things up. More of the bit
  9233. twiddlers are exported for 'gas'; 'coff_swap_aux_out',
  9234. 'coff_swap_sym_out', 'coff_swap_lineno_out', 'coff_swap_reloc_out',
  9235. 'coff_swap_filehdr_out', 'coff_swap_aouthdr_out',
  9236. 'coff_swap_scnhdr_out'. 'Gas' currently keeps track of all the symbol
  9237. table and reloc drudgery itself, thereby saving the internal BFD
  9238. overhead, but uses BFD to swap things on the way out, making cross ports
  9239. much safer. Doing so also allows BFD (and thus the linker) to use the
  9240. same header files as 'gas', which makes one avenue to disaster
  9241. disappear.
  9242. 3.3.2.4 Symbol reading
  9243. ......................
  9244. The simple canonical form for symbols used by BFD is not rich enough to
  9245. keep all the information available in a coff symbol table. The back end
  9246. gets around this problem by keeping the original symbol table around,
  9247. "behind the scenes".
  9248. When a symbol table is requested (through a call to
  9249. 'bfd_canonicalize_symtab'), a request gets through to
  9250. 'coff_get_normalized_symtab'. This reads the symbol table from the coff
  9251. file and swaps all the structures inside into the internal form. It
  9252. also fixes up all the pointers in the table (represented in the file by
  9253. offsets from the first symbol in the table) into physical pointers to
  9254. elements in the new internal table. This involves some work since the
  9255. meanings of fields change depending upon context: a field that is a
  9256. pointer to another structure in the symbol table at one moment may be
  9257. the size in bytes of a structure at the next. Another pass is made over
  9258. the table. All symbols which mark file names ('C_FILE' symbols) are
  9259. modified so that the internal string points to the value in the auxent
  9260. (the real filename) rather than the normal text associated with the
  9261. symbol ('".file"').
  9262. At this time the symbol names are moved around. Coff stores all
  9263. symbols less than nine characters long physically within the symbol
  9264. table; longer strings are kept at the end of the file in the string
  9265. table. This pass moves all strings into memory and replaces them with
  9266. pointers to the strings.
  9267. The symbol table is massaged once again, this time to create the
  9268. canonical table used by the BFD application. Each symbol is inspected
  9269. in turn, and a decision made (using the 'sclass' field) about the
  9270. various flags to set in the 'asymbol'. *Note Symbols::. The generated
  9271. canonical table shares strings with the hidden internal symbol table.
  9272. Any linenumbers are read from the coff file too, and attached to the
  9273. symbols which own the functions the linenumbers belong to.
  9274. 3.3.2.5 Symbol writing
  9275. ......................
  9276. Writing a symbol to a coff file which didn't come from a coff file will
  9277. lose any debugging information. The 'asymbol' structure remembers the
  9278. BFD from which the symbol was taken, and on output the back end makes
  9279. sure that the same destination target as source target is present.
  9280. When the symbols have come from a coff file then all the debugging
  9281. information is preserved.
  9282. Symbol tables are provided for writing to the back end in a vector of
  9283. pointers to pointers. This allows applications like the linker to
  9284. accumulate and output large symbol tables without having to do too much
  9285. byte copying.
  9286. This function runs through the provided symbol table and patches each
  9287. symbol marked as a file place holder ('C_FILE') to point to the next
  9288. file place holder in the list. It also marks each 'offset' field in the
  9289. list with the offset from the first symbol of the current symbol.
  9290. Another function of this procedure is to turn the canonical value
  9291. form of BFD into the form used by coff. Internally, BFD expects symbol
  9292. values to be offsets from a section base; so a symbol physically at
  9293. 0x120, but in a section starting at 0x100, would have the value 0x20.
  9294. Coff expects symbols to contain their final value, so symbols have their
  9295. values changed at this point to reflect their sum with their owning
  9296. section. This transformation uses the 'output_section' field of the
  9297. 'asymbol''s 'asection' *Note Sections::.
  9298. * 'coff_mangle_symbols'
  9299. This routine runs though the provided symbol table and uses the
  9300. offsets generated by the previous pass and the pointers generated when
  9301. the symbol table was read in to create the structured hierarchy required
  9302. by coff. It changes each pointer to a symbol into the index into the
  9303. symbol table of the asymbol.
  9304. * 'coff_write_symbols'
  9305. This routine runs through the symbol table and patches up the symbols
  9306. from their internal form into the coff way, calls the bit twiddlers, and
  9307. writes out the table to the file.
  9308. 3.3.2.6 'coff_symbol_type'
  9309. ..........................
  9310. *Description*
  9311. The hidden information for an 'asymbol' is described in a
  9312. 'combined_entry_type':
  9313. typedef struct coff_ptr_struct
  9314. {
  9315. /* Remembers the offset from the first symbol in the file for
  9316. this symbol. Generated by coff_renumber_symbols. */
  9317. unsigned int offset;
  9318. /* Should the value of this symbol be renumbered. Used for
  9319. XCOFF C_BSTAT symbols. Set by coff_slurp_symbol_table. */
  9320. unsigned int fix_value : 1;
  9321. /* Should the tag field of this symbol be renumbered.
  9322. Created by coff_pointerize_aux. */
  9323. unsigned int fix_tag : 1;
  9324. /* Should the endidx field of this symbol be renumbered.
  9325. Created by coff_pointerize_aux. */
  9326. unsigned int fix_end : 1;
  9327. /* Should the x_csect.x_scnlen field be renumbered.
  9328. Created by coff_pointerize_aux. */
  9329. unsigned int fix_scnlen : 1;
  9330. /* Fix up an XCOFF C_BINCL/C_EINCL symbol. The value is the
  9331. index into the line number entries. Set by coff_slurp_symbol_table. */
  9332. unsigned int fix_line : 1;
  9333. /* The container for the symbol structure as read and translated
  9334. from the file. */
  9335. union
  9336. {
  9337. union internal_auxent auxent;
  9338. struct internal_syment syment;
  9339. } u;
  9340. /* Selector for the union above. */
  9341. bfd_boolean is_sym;
  9342. } combined_entry_type;
  9343. /* Each canonical asymbol really looks like this: */
  9344. typedef struct coff_symbol_struct
  9345. {
  9346. /* The actual symbol which the rest of BFD works with */
  9347. asymbol symbol;
  9348. /* A pointer to the hidden information for this symbol */
  9349. combined_entry_type *native;
  9350. /* A pointer to the linenumber information for this symbol */
  9351. struct lineno_cache_entry *lineno;
  9352. /* Have the line numbers been relocated yet ? */
  9353. bfd_boolean done_lineno;
  9354. } coff_symbol_type;
  9355. 3.3.2.7 'bfd_coff_backend_data'
  9356. ...............................
  9357. /* COFF symbol classifications. */
  9358. enum coff_symbol_classification
  9359. {
  9360. /* Global symbol. */
  9361. COFF_SYMBOL_GLOBAL,
  9362. /* Common symbol. */
  9363. COFF_SYMBOL_COMMON,
  9364. /* Undefined symbol. */
  9365. COFF_SYMBOL_UNDEFINED,
  9366. /* Local symbol. */
  9367. COFF_SYMBOL_LOCAL,
  9368. /* PE section symbol. */
  9369. COFF_SYMBOL_PE_SECTION
  9370. };
  9371. typedef asection * (*coff_gc_mark_hook_fn)
  9372. (asection *, struct bfd_link_info *, struct internal_reloc *,
  9373. struct coff_link_hash_entry *, struct internal_syment *);
  9374. Special entry points for gdb to swap in coff symbol table parts:
  9375. typedef struct
  9376. {
  9377. void (*_bfd_coff_swap_aux_in)
  9378. (bfd *, void *, int, int, int, int, void *);
  9379. void (*_bfd_coff_swap_sym_in)
  9380. (bfd *, void *, void *);
  9381. void (*_bfd_coff_swap_lineno_in)
  9382. (bfd *, void *, void *);
  9383. unsigned int (*_bfd_coff_swap_aux_out)
  9384. (bfd *, void *, int, int, int, int, void *);
  9385. unsigned int (*_bfd_coff_swap_sym_out)
  9386. (bfd *, void *, void *);
  9387. unsigned int (*_bfd_coff_swap_lineno_out)
  9388. (bfd *, void *, void *);
  9389. unsigned int (*_bfd_coff_swap_reloc_out)
  9390. (bfd *, void *, void *);
  9391. unsigned int (*_bfd_coff_swap_filehdr_out)
  9392. (bfd *, void *, void *);
  9393. unsigned int (*_bfd_coff_swap_aouthdr_out)
  9394. (bfd *, void *, void *);
  9395. unsigned int (*_bfd_coff_swap_scnhdr_out)
  9396. (bfd *, void *, void *);
  9397. unsigned int _bfd_filhsz;
  9398. unsigned int _bfd_aoutsz;
  9399. unsigned int _bfd_scnhsz;
  9400. unsigned int _bfd_symesz;
  9401. unsigned int _bfd_auxesz;
  9402. unsigned int _bfd_relsz;
  9403. unsigned int _bfd_linesz;
  9404. unsigned int _bfd_filnmlen;
  9405. bfd_boolean _bfd_coff_long_filenames;
  9406. bfd_boolean _bfd_coff_long_section_names;
  9407. bfd_boolean (*_bfd_coff_set_long_section_names)
  9408. (bfd *, int);
  9409. unsigned int _bfd_coff_default_section_alignment_power;
  9410. bfd_boolean _bfd_coff_force_symnames_in_strings;
  9411. unsigned int _bfd_coff_debug_string_prefix_length;
  9412. unsigned int _bfd_coff_max_nscns;
  9413. void (*_bfd_coff_swap_filehdr_in)
  9414. (bfd *, void *, void *);
  9415. void (*_bfd_coff_swap_aouthdr_in)
  9416. (bfd *, void *, void *);
  9417. void (*_bfd_coff_swap_scnhdr_in)
  9418. (bfd *, void *, void *);
  9419. void (*_bfd_coff_swap_reloc_in)
  9420. (bfd *abfd, void *, void *);
  9421. bfd_boolean (*_bfd_coff_bad_format_hook)
  9422. (bfd *, void *);
  9423. bfd_boolean (*_bfd_coff_set_arch_mach_hook)
  9424. (bfd *, void *);
  9425. void * (*_bfd_coff_mkobject_hook)
  9426. (bfd *, void *, void *);
  9427. bfd_boolean (*_bfd_styp_to_sec_flags_hook)
  9428. (bfd *, void *, const char *, asection *, flagword *);
  9429. void (*_bfd_set_alignment_hook)
  9430. (bfd *, asection *, void *);
  9431. bfd_boolean (*_bfd_coff_slurp_symbol_table)
  9432. (bfd *);
  9433. bfd_boolean (*_bfd_coff_symname_in_debug)
  9434. (bfd *, struct internal_syment *);
  9435. bfd_boolean (*_bfd_coff_pointerize_aux_hook)
  9436. (bfd *, combined_entry_type *, combined_entry_type *,
  9437. unsigned int, combined_entry_type *);
  9438. bfd_boolean (*_bfd_coff_print_aux)
  9439. (bfd *, FILE *, combined_entry_type *, combined_entry_type *,
  9440. combined_entry_type *, unsigned int);
  9441. void (*_bfd_coff_reloc16_extra_cases)
  9442. (bfd *, struct bfd_link_info *, struct bfd_link_order *, arelent *,
  9443. bfd_byte *, unsigned int *, unsigned int *);
  9444. int (*_bfd_coff_reloc16_estimate)
  9445. (bfd *, asection *, arelent *, unsigned int,
  9446. struct bfd_link_info *);
  9447. enum coff_symbol_classification (*_bfd_coff_classify_symbol)
  9448. (bfd *, struct internal_syment *);
  9449. bfd_boolean (*_bfd_coff_compute_section_file_positions)
  9450. (bfd *);
  9451. bfd_boolean (*_bfd_coff_start_final_link)
  9452. (bfd *, struct bfd_link_info *);
  9453. bfd_boolean (*_bfd_coff_relocate_section)
  9454. (bfd *, struct bfd_link_info *, bfd *, asection *, bfd_byte *,
  9455. struct internal_reloc *, struct internal_syment *, asection **);
  9456. reloc_howto_type *(*_bfd_coff_rtype_to_howto)
  9457. (bfd *, asection *, struct internal_reloc *,
  9458. struct coff_link_hash_entry *, struct internal_syment *, bfd_vma *);
  9459. bfd_boolean (*_bfd_coff_adjust_symndx)
  9460. (bfd *, struct bfd_link_info *, bfd *, asection *,
  9461. struct internal_reloc *, bfd_boolean *);
  9462. bfd_boolean (*_bfd_coff_link_add_one_symbol)
  9463. (struct bfd_link_info *, bfd *, const char *, flagword,
  9464. asection *, bfd_vma, const char *, bfd_boolean, bfd_boolean,
  9465. struct bfd_link_hash_entry **);
  9466. bfd_boolean (*_bfd_coff_link_output_has_begun)
  9467. (bfd *, struct coff_final_link_info *);
  9468. bfd_boolean (*_bfd_coff_final_link_postscript)
  9469. (bfd *, struct coff_final_link_info *);
  9470. bfd_boolean (*_bfd_coff_print_pdata)
  9471. (bfd *, void *);
  9472. } bfd_coff_backend_data;
  9473. #define coff_backend_info(abfd) \
  9474. ((bfd_coff_backend_data *) (abfd)->xvec->backend_data)
  9475. #define bfd_coff_swap_aux_in(a,e,t,c,ind,num,i) \
  9476. ((coff_backend_info (a)->_bfd_coff_swap_aux_in) (a,e,t,c,ind,num,i))
  9477. #define bfd_coff_swap_sym_in(a,e,i) \
  9478. ((coff_backend_info (a)->_bfd_coff_swap_sym_in) (a,e,i))
  9479. #define bfd_coff_swap_lineno_in(a,e,i) \
  9480. ((coff_backend_info ( a)->_bfd_coff_swap_lineno_in) (a,e,i))
  9481. #define bfd_coff_swap_reloc_out(abfd, i, o) \
  9482. ((coff_backend_info (abfd)->_bfd_coff_swap_reloc_out) (abfd, i, o))
  9483. #define bfd_coff_swap_lineno_out(abfd, i, o) \
  9484. ((coff_backend_info (abfd)->_bfd_coff_swap_lineno_out) (abfd, i, o))
  9485. #define bfd_coff_swap_aux_out(a,i,t,c,ind,num,o) \
  9486. ((coff_backend_info (a)->_bfd_coff_swap_aux_out) (a,i,t,c,ind,num,o))
  9487. #define bfd_coff_swap_sym_out(abfd, i,o) \
  9488. ((coff_backend_info (abfd)->_bfd_coff_swap_sym_out) (abfd, i, o))
  9489. #define bfd_coff_swap_scnhdr_out(abfd, i,o) \
  9490. ((coff_backend_info (abfd)->_bfd_coff_swap_scnhdr_out) (abfd, i, o))
  9491. #define bfd_coff_swap_filehdr_out(abfd, i,o) \
  9492. ((coff_backend_info (abfd)->_bfd_coff_swap_filehdr_out) (abfd, i, o))
  9493. #define bfd_coff_swap_aouthdr_out(abfd, i,o) \
  9494. ((coff_backend_info (abfd)->_bfd_coff_swap_aouthdr_out) (abfd, i, o))
  9495. #define bfd_coff_filhsz(abfd) (coff_backend_info (abfd)->_bfd_filhsz)
  9496. #define bfd_coff_aoutsz(abfd) (coff_backend_info (abfd)->_bfd_aoutsz)
  9497. #define bfd_coff_scnhsz(abfd) (coff_backend_info (abfd)->_bfd_scnhsz)
  9498. #define bfd_coff_symesz(abfd) (coff_backend_info (abfd)->_bfd_symesz)
  9499. #define bfd_coff_auxesz(abfd) (coff_backend_info (abfd)->_bfd_auxesz)
  9500. #define bfd_coff_relsz(abfd) (coff_backend_info (abfd)->_bfd_relsz)
  9501. #define bfd_coff_linesz(abfd) (coff_backend_info (abfd)->_bfd_linesz)
  9502. #define bfd_coff_filnmlen(abfd) (coff_backend_info (abfd)->_bfd_filnmlen)
  9503. #define bfd_coff_long_filenames(abfd) \
  9504. (coff_backend_info (abfd)->_bfd_coff_long_filenames)
  9505. #define bfd_coff_long_section_names(abfd) \
  9506. (coff_backend_info (abfd)->_bfd_coff_long_section_names)
  9507. #define bfd_coff_set_long_section_names(abfd, enable) \
  9508. ((coff_backend_info (abfd)->_bfd_coff_set_long_section_names) (abfd, enable))
  9509. #define bfd_coff_default_section_alignment_power(abfd) \
  9510. (coff_backend_info (abfd)->_bfd_coff_default_section_alignment_power)
  9511. #define bfd_coff_max_nscns(abfd) \
  9512. (coff_backend_info (abfd)->_bfd_coff_max_nscns)
  9513. #define bfd_coff_swap_filehdr_in(abfd, i,o) \
  9514. ((coff_backend_info (abfd)->_bfd_coff_swap_filehdr_in) (abfd, i, o))
  9515. #define bfd_coff_swap_aouthdr_in(abfd, i,o) \
  9516. ((coff_backend_info (abfd)->_bfd_coff_swap_aouthdr_in) (abfd, i, o))
  9517. #define bfd_coff_swap_scnhdr_in(abfd, i,o) \
  9518. ((coff_backend_info (abfd)->_bfd_coff_swap_scnhdr_in) (abfd, i, o))
  9519. #define bfd_coff_swap_reloc_in(abfd, i, o) \
  9520. ((coff_backend_info (abfd)->_bfd_coff_swap_reloc_in) (abfd, i, o))
  9521. #define bfd_coff_bad_format_hook(abfd, filehdr) \
  9522. ((coff_backend_info (abfd)->_bfd_coff_bad_format_hook) (abfd, filehdr))
  9523. #define bfd_coff_set_arch_mach_hook(abfd, filehdr)\
  9524. ((coff_backend_info (abfd)->_bfd_coff_set_arch_mach_hook) (abfd, filehdr))
  9525. #define bfd_coff_mkobject_hook(abfd, filehdr, aouthdr)\
  9526. ((coff_backend_info (abfd)->_bfd_coff_mkobject_hook)\
  9527. (abfd, filehdr, aouthdr))
  9528. #define bfd_coff_styp_to_sec_flags_hook(abfd, scnhdr, name, section, flags_ptr)\
  9529. ((coff_backend_info (abfd)->_bfd_styp_to_sec_flags_hook)\
  9530. (abfd, scnhdr, name, section, flags_ptr))
  9531. #define bfd_coff_set_alignment_hook(abfd, sec, scnhdr)\
  9532. ((coff_backend_info (abfd)->_bfd_set_alignment_hook) (abfd, sec, scnhdr))
  9533. #define bfd_coff_slurp_symbol_table(abfd)\
  9534. ((coff_backend_info (abfd)->_bfd_coff_slurp_symbol_table) (abfd))
  9535. #define bfd_coff_symname_in_debug(abfd, sym)\
  9536. ((coff_backend_info (abfd)->_bfd_coff_symname_in_debug) (abfd, sym))
  9537. #define bfd_coff_force_symnames_in_strings(abfd)\
  9538. (coff_backend_info (abfd)->_bfd_coff_force_symnames_in_strings)
  9539. #define bfd_coff_debug_string_prefix_length(abfd)\
  9540. (coff_backend_info (abfd)->_bfd_coff_debug_string_prefix_length)
  9541. #define bfd_coff_print_aux(abfd, file, base, symbol, aux, indaux)\
  9542. ((coff_backend_info (abfd)->_bfd_coff_print_aux)\
  9543. (abfd, file, base, symbol, aux, indaux))
  9544. #define bfd_coff_reloc16_extra_cases(abfd, link_info, link_order,\
  9545. reloc, data, src_ptr, dst_ptr)\
  9546. ((coff_backend_info (abfd)->_bfd_coff_reloc16_extra_cases)\
  9547. (abfd, link_info, link_order, reloc, data, src_ptr, dst_ptr))
  9548. #define bfd_coff_reloc16_estimate(abfd, section, reloc, shrink, link_info)\
  9549. ((coff_backend_info (abfd)->_bfd_coff_reloc16_estimate)\
  9550. (abfd, section, reloc, shrink, link_info))
  9551. #define bfd_coff_classify_symbol(abfd, sym)\
  9552. ((coff_backend_info (abfd)->_bfd_coff_classify_symbol)\
  9553. (abfd, sym))
  9554. #define bfd_coff_compute_section_file_positions(abfd)\
  9555. ((coff_backend_info (abfd)->_bfd_coff_compute_section_file_positions)\
  9556. (abfd))
  9557. #define bfd_coff_start_final_link(obfd, info)\
  9558. ((coff_backend_info (obfd)->_bfd_coff_start_final_link)\
  9559. (obfd, info))
  9560. #define bfd_coff_relocate_section(obfd,info,ibfd,o,con,rel,isyms,secs)\
  9561. ((coff_backend_info (ibfd)->_bfd_coff_relocate_section)\
  9562. (obfd, info, ibfd, o, con, rel, isyms, secs))
  9563. #define bfd_coff_rtype_to_howto(abfd, sec, rel, h, sym, addendp)\
  9564. ((coff_backend_info (abfd)->_bfd_coff_rtype_to_howto)\
  9565. (abfd, sec, rel, h, sym, addendp))
  9566. #define bfd_coff_adjust_symndx(obfd, info, ibfd, sec, rel, adjustedp)\
  9567. ((coff_backend_info (abfd)->_bfd_coff_adjust_symndx)\
  9568. (obfd, info, ibfd, sec, rel, adjustedp))
  9569. #define bfd_coff_link_add_one_symbol(info, abfd, name, flags, section,\
  9570. value, string, cp, coll, hashp)\
  9571. ((coff_backend_info (abfd)->_bfd_coff_link_add_one_symbol)\
  9572. (info, abfd, name, flags, section, value, string, cp, coll, hashp))
  9573. #define bfd_coff_link_output_has_begun(a,p) \
  9574. ((coff_backend_info (a)->_bfd_coff_link_output_has_begun) (a, p))
  9575. #define bfd_coff_final_link_postscript(a,p) \
  9576. ((coff_backend_info (a)->_bfd_coff_final_link_postscript) (a, p))
  9577. #define bfd_coff_have_print_pdata(a) \
  9578. (coff_backend_info (a)->_bfd_coff_print_pdata)
  9579. #define bfd_coff_print_pdata(a,p) \
  9580. ((coff_backend_info (a)->_bfd_coff_print_pdata) (a, p))
  9581. /* Macro: Returns true if the bfd is a PE executable as opposed to a
  9582. PE object file. */
  9583. #define bfd_pei_p(abfd) \
  9584. (CONST_STRNEQ ((abfd)->xvec->name, "pei-"))
  9585. 3.3.2.8 Writing relocations
  9586. ...........................
  9587. To write relocations, the back end steps though the canonical relocation
  9588. table and create an 'internal_reloc'. The symbol index to use is
  9589. removed from the 'offset' field in the symbol table supplied. The
  9590. address comes directly from the sum of the section base address and the
  9591. relocation offset; the type is dug directly from the howto field. Then
  9592. the 'internal_reloc' is swapped into the shape of an 'external_reloc'
  9593. and written out to disk.
  9594. 3.3.2.9 Reading linenumbers
  9595. ...........................
  9596. Creating the linenumber table is done by reading in the entire coff
  9597. linenumber table, and creating another table for internal use.
  9598. A coff linenumber table is structured so that each function is marked
  9599. as having a line number of 0. Each line within the function is an
  9600. offset from the first line in the function. The base of the line number
  9601. information for the table is stored in the symbol associated with the
  9602. function.
  9603. Note: The PE format uses line number 0 for a flag indicating a new
  9604. source file.
  9605. The information is copied from the external to the internal table,
  9606. and each symbol which marks a function is marked by pointing its...
  9607. How does this work ?
  9608. 3.3.2.10 Reading relocations
  9609. ............................
  9610. Coff relocations are easily transformed into the internal BFD form
  9611. ('arelent').
  9612. Reading a coff relocation table is done in the following stages:
  9613. * Read the entire coff relocation table into memory.
  9614. * Process each relocation in turn; first swap it from the external to
  9615. the internal form.
  9616. * Turn the symbol referenced in the relocation's symbol index into a
  9617. pointer into the canonical symbol table. This table is the same as
  9618. the one returned by a call to 'bfd_canonicalize_symtab'. The back
  9619. end will call that routine and save the result if a
  9620. canonicalization hasn't been done.
  9621. * The reloc index is turned into a pointer to a howto structure, in a
  9622. back end specific way. For instance, the 386 uses the 'r_type' to
  9623. directly produce an index into a howto table vector.
  9624. 
  9625. File: bfd.info, Node: elf, Next: mmo, Prev: coff, Up: BFD back ends
  9626. 3.4 ELF backends
  9627. ================
  9628. BFD support for ELF formats is being worked on. Currently, the best
  9629. supported back ends are for sparc and i386 (running svr4 or Solaris 2).
  9630. Documentation of the internals of the support code still needs to be
  9631. written. The code is changing quickly enough that we haven't bothered
  9632. yet.
  9633. 
  9634. File: bfd.info, Node: mmo, Prev: elf, Up: BFD back ends
  9635. 3.5 mmo backend
  9636. ===============
  9637. The mmo object format is used exclusively together with Professor Donald
  9638. E. Knuth's educational 64-bit processor MMIX. The simulator 'mmix' which
  9639. is available at <http://mmix.cs.hm.edu/src/index.html> understands this
  9640. format. That package also includes a combined assembler and linker
  9641. called 'mmixal'. The mmo format has no advantages feature-wise compared
  9642. to e.g. ELF. It is a simple non-relocatable object format with no
  9643. support for archives or debugging information, except for symbol value
  9644. information and line numbers (which is not yet implemented in BFD). See
  9645. <http://mmix.cs.hm.edu/> for more information about MMIX. The ELF format
  9646. is used for intermediate object files in the BFD implementation.
  9647. * Menu:
  9648. * File layout::
  9649. * Symbol-table::
  9650. * mmo section mapping::
  9651. 
  9652. File: bfd.info, Node: File layout, Next: Symbol-table, Prev: mmo, Up: mmo
  9653. 3.5.1 File layout
  9654. -----------------
  9655. The mmo file contents is not partitioned into named sections as with
  9656. e.g. ELF. Memory areas is formed by specifying the location of the data
  9657. that follows. Only the memory area '0x0000...00' to '0x01ff...ff' is
  9658. executable, so it is used for code (and constants) and the area
  9659. '0x2000...00' to '0x20ff...ff' is used for writable data. *Note mmo
  9660. section mapping::.
  9661. There is provision for specifying "special data" of 65536 different
  9662. types. We use type 80 (decimal), arbitrarily chosen the same as the ELF
  9663. 'e_machine' number for MMIX, filling it with section information
  9664. normally found in ELF objects. *Note mmo section mapping::.
  9665. Contents is entered as 32-bit words, xor:ed over previous contents,
  9666. always zero-initialized. A word that starts with the byte '0x98' forms
  9667. a command called a 'lopcode', where the next byte distinguished between
  9668. the thirteen lopcodes. The two remaining bytes, called the 'Y' and 'Z'
  9669. fields, or the 'YZ' field (a 16-bit big-endian number), are used for
  9670. various purposes different for each lopcode. As documented in
  9671. <http://mmix.cs.hm.edu/doc/mmixal.pdf>, the lopcodes are:
  9672. 'lop_quote'
  9673. 0x98000001. The next word is contents, regardless of whether it
  9674. starts with 0x98 or not.
  9675. 'lop_loc'
  9676. 0x9801YYZZ, where 'Z' is 1 or 2. This is a location directive,
  9677. setting the location for the next data to the next 32-bit word (for
  9678. Z = 1) or 64-bit word (for Z = 2), plus Y * 2^56. Normally 'Y' is
  9679. 0 for the text segment and 2 for the data segment. Beware that the
  9680. low bits of non- tetrabyte-aligned values are silently discarded
  9681. when being automatically incremented and when storing contents (in
  9682. contrast to e.g. its use as current location when followed by
  9683. lop_fixo et al before the next possibly-quoted tetrabyte contents).
  9684. 'lop_skip'
  9685. 0x9802YYZZ. Increase the current location by 'YZ' bytes.
  9686. 'lop_fixo'
  9687. 0x9803YYZZ, where 'Z' is 1 or 2. Store the current location as 64
  9688. bits into the location pointed to by the next 32-bit (Z = 1) or
  9689. 64-bit (Z = 2) word, plus Y * 2^56.
  9690. 'lop_fixr'
  9691. 0x9804YYZZ. 'YZ' is stored into the current location plus 2 - 4 *
  9692. YZ.
  9693. 'lop_fixrx'
  9694. 0x980500ZZ. 'Z' is 16 or 24. A value 'L' derived from the
  9695. following 32-bit word are used in a manner similar to 'YZ' in
  9696. lop_fixr: it is xor:ed into the current location minus 4 * L. The
  9697. first byte of the word is 0 or 1. If it is 1, then L = (LOWEST 24
  9698. BITS OF WORD) - 2^Z, if 0, then L = (LOWEST 24 BITS OF WORD).
  9699. 'lop_file'
  9700. 0x9806YYZZ. 'Y' is the file number, 'Z' is count of 32-bit words.
  9701. Set the file number to 'Y' and the line counter to 0. The next Z *
  9702. 4 bytes contain the file name, padded with zeros if the count is
  9703. not a multiple of four. The same 'Y' may occur multiple times, but
  9704. 'Z' must be 0 for all but the first occurrence.
  9705. 'lop_line'
  9706. 0x9807YYZZ. 'YZ' is the line number. Together with lop_file, it
  9707. forms the source location for the next 32-bit word. Note that for
  9708. each non-lopcode 32-bit word, line numbers are assumed incremented
  9709. by one.
  9710. 'lop_spec'
  9711. 0x9808YYZZ. 'YZ' is the type number. Data until the next lopcode
  9712. other than lop_quote forms special data of type 'YZ'. *Note mmo
  9713. section mapping::.
  9714. Other types than 80, (or type 80 with a content that does not
  9715. parse) is stored in sections named '.MMIX.spec_data.N' where N is
  9716. the 'YZ'-type. The flags for such a sections say not to allocate
  9717. or load the data. The vma is 0. Contents of multiple occurrences
  9718. of special data N is concatenated to the data of the previous
  9719. lop_spec Ns. The location in data or code at which the lop_spec
  9720. occurred is lost.
  9721. 'lop_pre'
  9722. 0x980901ZZ. The first lopcode in a file. The 'Z' field forms the
  9723. length of header information in 32-bit words, where the first word
  9724. tells the time in seconds since '00:00:00 GMT Jan 1 1970'.
  9725. 'lop_post'
  9726. 0x980a00ZZ. Z > 32. This lopcode follows after all
  9727. content-generating lopcodes in a program. The 'Z' field denotes
  9728. the value of 'rG' at the beginning of the program. The following
  9729. 256 - Z big-endian 64-bit words are loaded into global registers
  9730. '$G' ... '$255'.
  9731. 'lop_stab'
  9732. 0x980b0000. The next-to-last lopcode in a program. Must follow
  9733. immediately after the lop_post lopcode and its data. After this
  9734. lopcode follows all symbols in a compressed format (*note
  9735. Symbol-table::).
  9736. 'lop_end'
  9737. 0x980cYYZZ. The last lopcode in a program. It must follow the
  9738. lop_stab lopcode and its data. The 'YZ' field contains the number
  9739. of 32-bit words of symbol table information after the preceding
  9740. lop_stab lopcode.
  9741. Note that the lopcode "fixups"; 'lop_fixr', 'lop_fixrx' and
  9742. 'lop_fixo' are not generated by BFD, but are handled. They are
  9743. generated by 'mmixal'.
  9744. This trivial one-label, one-instruction file:
  9745. :Main TRAP 1,2,3
  9746. can be represented this way in mmo:
  9747. 0x98090101 - lop_pre, one 32-bit word with timestamp.
  9748. <timestamp>
  9749. 0x98010002 - lop_loc, text segment, using a 64-bit address.
  9750. Note that mmixal does not emit this for the file above.
  9751. 0x00000000 - Address, high 32 bits.
  9752. 0x00000000 - Address, low 32 bits.
  9753. 0x98060002 - lop_file, 2 32-bit words for file-name.
  9754. 0x74657374 - "test"
  9755. 0x2e730000 - ".s\0\0"
  9756. 0x98070001 - lop_line, line 1.
  9757. 0x00010203 - TRAP 1,2,3
  9758. 0x980a00ff - lop_post, setting $255 to 0.
  9759. 0x00000000
  9760. 0x00000000
  9761. 0x980b0000 - lop_stab for ":Main" = 0, serial 1.
  9762. 0x203a4040 *Note Symbol-table::.
  9763. 0x10404020
  9764. 0x4d206120
  9765. 0x69016e00
  9766. 0x81000000
  9767. 0x980c0005 - lop_end; symbol table contained five 32-bit words.
  9768. 
  9769. File: bfd.info, Node: Symbol-table, Next: mmo section mapping, Prev: File layout, Up: mmo
  9770. 3.5.2 Symbol table format
  9771. -------------------------
  9772. From mmixal.w (or really, the generated mmixal.tex) in the MMIXware
  9773. package which also contains the 'mmix' simulator: "Symbols are stored
  9774. and retrieved by means of a 'ternary search trie', following ideas of
  9775. Bentley and Sedgewick. (See ACM-SIAM Symp. on Discrete Algorithms '8'
  9776. (1997), 360-369; R.Sedgewick, 'Algorithms in C' (Reading, Mass.
  9777. Addison-Wesley, 1998), '15.4'.) Each trie node stores a character, and
  9778. there are branches to subtries for the cases where a given character is
  9779. less than, equal to, or greater than the character in the trie. There
  9780. also is a pointer to a symbol table entry if a symbol ends at the
  9781. current node."
  9782. So it's a tree encoded as a stream of bytes. The stream of bytes
  9783. acts on a single virtual global symbol, adding and removing characters
  9784. and signalling complete symbol points. Here, we read the stream and
  9785. create symbols at the completion points.
  9786. First, there's a control byte 'm'. If any of the listed bits in 'm'
  9787. is nonzero, we execute what stands at the right, in the listed order:
  9788. (MMO3_LEFT)
  9789. 0x40 - Traverse left trie.
  9790. (Read a new command byte and recurse.)
  9791. (MMO3_SYMBITS)
  9792. 0x2f - Read the next byte as a character and store it in the
  9793. current character position; increment character position.
  9794. Test the bits of m:
  9795. (MMO3_WCHAR)
  9796. 0x80 - The character is 16-bit (so read another byte,
  9797. merge into current character.
  9798. (MMO3_TYPEBITS)
  9799. 0xf - We have a complete symbol; parse the type, value
  9800. and serial number and do what should be done
  9801. with a symbol. The type and length information
  9802. is in j = (m & 0xf).
  9803. (MMO3_REGQUAL_BITS)
  9804. j == 0xf: A register variable. The following
  9805. byte tells which register.
  9806. j <= 8: An absolute symbol. Read j bytes as the
  9807. big-endian number the symbol equals.
  9808. A j = 2 with two zero bytes denotes an
  9809. unknown symbol.
  9810. j > 8: As with j <= 8, but add (0x20 << 56)
  9811. to the value in the following j - 8
  9812. bytes.
  9813. Then comes the serial number, as a variant of
  9814. uleb128, but better named ubeb128:
  9815. Read bytes and shift the previous value left 7
  9816. (multiply by 128). Add in the new byte, repeat
  9817. until a byte has bit 7 set. The serial number
  9818. is the computed value minus 128.
  9819. (MMO3_MIDDLE)
  9820. 0x20 - Traverse middle trie. (Read a new command byte
  9821. and recurse.) Decrement character position.
  9822. (MMO3_RIGHT)
  9823. 0x10 - Traverse right trie. (Read a new command byte and
  9824. recurse.)
  9825. Let's look again at the 'lop_stab' for the trivial file (*note File
  9826. layout::).
  9827. 0x980b0000 - lop_stab for ":Main" = 0, serial 1.
  9828. 0x203a4040
  9829. 0x10404020
  9830. 0x4d206120
  9831. 0x69016e00
  9832. 0x81000000
  9833. This forms the trivial trie (note that the path between ":" and "M"
  9834. is redundant):
  9835. 203a ":"
  9836. 40 /
  9837. 40 /
  9838. 10 \
  9839. 40 /
  9840. 40 /
  9841. 204d "M"
  9842. 2061 "a"
  9843. 2069 "i"
  9844. 016e "n" is the last character in a full symbol, and
  9845. with a value represented in one byte.
  9846. 00 The value is 0.
  9847. 81 The serial number is 1.
  9848. 
  9849. File: bfd.info, Node: mmo section mapping, Prev: Symbol-table, Up: mmo
  9850. 3.5.3 mmo section mapping
  9851. -------------------------
  9852. The implementation in BFD uses special data type 80 (decimal) to
  9853. encapsulate and describe named sections, containing e.g. debug
  9854. information. If needed, any datum in the encapsulation will be quoted
  9855. using lop_quote. First comes a 32-bit word holding the number of 32-bit
  9856. words containing the zero-terminated zero-padded segment name. After
  9857. the name there's a 32-bit word holding flags describing the section
  9858. type. Then comes a 64-bit big-endian word with the section length (in
  9859. bytes), then another with the section start address. Depending on the
  9860. type of section, the contents might follow, zero-padded to 32-bit
  9861. boundary. For a loadable section (such as data or code), the contents
  9862. might follow at some later point, not necessarily immediately, as a
  9863. lop_loc with the same start address as in the section description,
  9864. followed by the contents. This in effect forms a descriptor that must
  9865. be emitted before the actual contents. Sections described this way must
  9866. not overlap.
  9867. For areas that don't have such descriptors, synthetic sections are
  9868. formed by BFD. Consecutive contents in the two memory areas
  9869. '0x0000...00' to '0x01ff...ff' and '0x2000...00' to '0x20ff...ff' are
  9870. entered in sections named '.text' and '.data' respectively. If an area
  9871. is not otherwise described, but would together with a neighboring lower
  9872. area be less than '0x40000000' bytes long, it is joined with the lower
  9873. area and the gap is zero-filled. For other cases, a new section is
  9874. formed, named '.MMIX.sec.N'. Here, N is a number, a running count
  9875. through the mmo file, starting at 0.
  9876. A loadable section specified as:
  9877. .section secname,"ax"
  9878. TETRA 1,2,3,4,-1,-2009
  9879. BYTE 80
  9880. and linked to address '0x4', is represented by the sequence:
  9881. 0x98080050 - lop_spec 80
  9882. 0x00000002 - two 32-bit words for the section name
  9883. 0x7365636e - "secn"
  9884. 0x616d6500 - "ame\0"
  9885. 0x00000033 - flags CODE, READONLY, LOAD, ALLOC
  9886. 0x00000000 - high 32 bits of section length
  9887. 0x0000001c - section length is 28 bytes; 6 * 4 + 1 + alignment to 32 bits
  9888. 0x00000000 - high 32 bits of section address
  9889. 0x00000004 - section address is 4
  9890. 0x98010002 - 64 bits with address of following data
  9891. 0x00000000 - high 32 bits of address
  9892. 0x00000004 - low 32 bits: data starts at address 4
  9893. 0x00000001 - 1
  9894. 0x00000002 - 2
  9895. 0x00000003 - 3
  9896. 0x00000004 - 4
  9897. 0xffffffff - -1
  9898. 0xfffff827 - -2009
  9899. 0x50000000 - 80 as a byte, padded with zeros.
  9900. Note that the lop_spec wrapping does not include the section
  9901. contents. Compare this to a non-loaded section specified as:
  9902. .section thirdsec
  9903. TETRA 200001,100002
  9904. BYTE 38,40
  9905. This, when linked to address '0x200000000000001c', is represented by:
  9906. 0x98080050 - lop_spec 80
  9907. 0x00000002 - two 32-bit words for the section name
  9908. 0x7365636e - "thir"
  9909. 0x616d6500 - "dsec"
  9910. 0x00000010 - flag READONLY
  9911. 0x00000000 - high 32 bits of section length
  9912. 0x0000000c - section length is 12 bytes; 2 * 4 + 2 + alignment to 32 bits
  9913. 0x20000000 - high 32 bits of address
  9914. 0x0000001c - low 32 bits of address 0x200000000000001c
  9915. 0x00030d41 - 200001
  9916. 0x000186a2 - 100002
  9917. 0x26280000 - 38, 40 as bytes, padded with zeros
  9918. For the latter example, the section contents must not be loaded in
  9919. memory, and is therefore specified as part of the special data. The
  9920. address is usually unimportant but might provide information for e.g.
  9921. the DWARF 2 debugging format.
  9922. 
  9923. File: bfd.info, Node: GNU Free Documentation License, Next: BFD Index, Prev: BFD back ends, Up: Top
  9924. Version 1.3, 3 November 2008
  9925. Copyright (C) 2000, 2001, 2002, 2007, 2008 Free Software Foundation, Inc.
  9926. <http://fsf.org/>
  9927. Everyone is permitted to copy and distribute verbatim copies
  9928. of this license document, but changing it is not allowed.
  9929. 0. PREAMBLE
  9930. The purpose of this License is to make a manual, textbook, or other
  9931. functional and useful document "free" in the sense of freedom: to
  9932. assure everyone the effective freedom to copy and redistribute it,
  9933. with or without modifying it, either commercially or
  9934. noncommercially. Secondarily, this License preserves for the
  9935. author and publisher a way to get credit for their work, while not
  9936. being considered responsible for modifications made by others.
  9937. This License is a kind of "copyleft", which means that derivative
  9938. works of the document must themselves be free in the same sense.
  9939. It complements the GNU General Public License, which is a copyleft
  9940. license designed for free software.
  9941. We have designed this License in order to use it for manuals for
  9942. free software, because free software needs free documentation: a
  9943. free program should come with manuals providing the same freedoms
  9944. that the software does. But this License is not limited to
  9945. software manuals; it can be used for any textual work, regardless
  9946. of subject matter or whether it is published as a printed book. We
  9947. recommend this License principally for works whose purpose is
  9948. instruction or reference.
  9949. 1. APPLICABILITY AND DEFINITIONS
  9950. This License applies to any manual or other work, in any medium,
  9951. that contains a notice placed by the copyright holder saying it can
  9952. be distributed under the terms of this License. Such a notice
  9953. grants a world-wide, royalty-free license, unlimited in duration,
  9954. to use that work under the conditions stated herein. The
  9955. "Document", below, refers to any such manual or work. Any member
  9956. of the public is a licensee, and is addressed as "you". You accept
  9957. the license if you copy, modify or distribute the work in a way
  9958. requiring permission under copyright law.
  9959. A "Modified Version" of the Document means any work containing the
  9960. Document or a portion of it, either copied verbatim, or with
  9961. modifications and/or translated into another language.
  9962. A "Secondary Section" is a named appendix or a front-matter section
  9963. of the Document that deals exclusively with the relationship of the
  9964. publishers or authors of the Document to the Document's overall
  9965. subject (or to related matters) and contains nothing that could
  9966. fall directly within that overall subject. (Thus, if the Document
  9967. is in part a textbook of mathematics, a Secondary Section may not
  9968. explain any mathematics.) The relationship could be a matter of
  9969. historical connection with the subject or with related matters, or
  9970. of legal, commercial, philosophical, ethical or political position
  9971. regarding them.
  9972. The "Invariant Sections" are certain Secondary Sections whose
  9973. titles are designated, as being those of Invariant Sections, in the
  9974. notice that says that the Document is released under this License.
  9975. If a section does not fit the above definition of Secondary then it
  9976. is not allowed to be designated as Invariant. The Document may
  9977. contain zero Invariant Sections. If the Document does not identify
  9978. any Invariant Sections then there are none.
  9979. The "Cover Texts" are certain short passages of text that are
  9980. listed, as Front-Cover Texts or Back-Cover Texts, in the notice
  9981. that says that the Document is released under this License. A
  9982. Front-Cover Text may be at most 5 words, and a Back-Cover Text may
  9983. be at most 25 words.
  9984. A "Transparent" copy of the Document means a machine-readable copy,
  9985. represented in a format whose specification is available to the
  9986. general public, that is suitable for revising the document
  9987. straightforwardly with generic text editors or (for images composed
  9988. of pixels) generic paint programs or (for drawings) some widely
  9989. available drawing editor, and that is suitable for input to text
  9990. formatters or for automatic translation to a variety of formats
  9991. suitable for input to text formatters. A copy made in an otherwise
  9992. Transparent file format whose markup, or absence of markup, has
  9993. been arranged to thwart or discourage subsequent modification by
  9994. readers is not Transparent. An image format is not Transparent if
  9995. used for any substantial amount of text. A copy that is not
  9996. "Transparent" is called "Opaque".
  9997. Examples of suitable formats for Transparent copies include plain
  9998. ASCII without markup, Texinfo input format, LaTeX input format,
  9999. SGML or XML using a publicly available DTD, and standard-conforming
  10000. simple HTML, PostScript or PDF designed for human modification.
  10001. Examples of transparent image formats include PNG, XCF and JPG.
  10002. Opaque formats include proprietary formats that can be read and
  10003. edited only by proprietary word processors, SGML or XML for which
  10004. the DTD and/or processing tools are not generally available, and
  10005. the machine-generated HTML, PostScript or PDF produced by some word
  10006. processors for output purposes only.
  10007. The "Title Page" means, for a printed book, the title page itself,
  10008. plus such following pages as are needed to hold, legibly, the
  10009. material this License requires to appear in the title page. For
  10010. works in formats which do not have any title page as such, "Title
  10011. Page" means the text near the most prominent appearance of the
  10012. work's title, preceding the beginning of the body of the text.
  10013. The "publisher" means any person or entity that distributes copies
  10014. of the Document to the public.
  10015. A section "Entitled XYZ" means a named subunit of the Document
  10016. whose title either is precisely XYZ or contains XYZ in parentheses
  10017. following text that translates XYZ in another language. (Here XYZ
  10018. stands for a specific section name mentioned below, such as
  10019. "Acknowledgements", "Dedications", "Endorsements", or "History".)
  10020. To "Preserve the Title" of such a section when you modify the
  10021. Document means that it remains a section "Entitled XYZ" according
  10022. to this definition.
  10023. The Document may include Warranty Disclaimers next to the notice
  10024. which states that this License applies to the Document. These
  10025. Warranty Disclaimers are considered to be included by reference in
  10026. this License, but only as regards disclaiming warranties: any other
  10027. implication that these Warranty Disclaimers may have is void and
  10028. has no effect on the meaning of this License.
  10029. 2. VERBATIM COPYING
  10030. You may copy and distribute the Document in any medium, either
  10031. commercially or noncommercially, provided that this License, the
  10032. copyright notices, and the license notice saying this License
  10033. applies to the Document are reproduced in all copies, and that you
  10034. add no other conditions whatsoever to those of this License. You
  10035. may not use technical measures to obstruct or control the reading
  10036. or further copying of the copies you make or distribute. However,
  10037. you may accept compensation in exchange for copies. If you
  10038. distribute a large enough number of copies you must also follow the
  10039. conditions in section 3.
  10040. You may also lend copies, under the same conditions stated above,
  10041. and you may publicly display copies.
  10042. 3. COPYING IN QUANTITY
  10043. If you publish printed copies (or copies in media that commonly
  10044. have printed covers) of the Document, numbering more than 100, and
  10045. the Document's license notice requires Cover Texts, you must
  10046. enclose the copies in covers that carry, clearly and legibly, all
  10047. these Cover Texts: Front-Cover Texts on the front cover, and
  10048. Back-Cover Texts on the back cover. Both covers must also clearly
  10049. and legibly identify you as the publisher of these copies. The
  10050. front cover must present the full title with all words of the title
  10051. equally prominent and visible. You may add other material on the
  10052. covers in addition. Copying with changes limited to the covers, as
  10053. long as they preserve the title of the Document and satisfy these
  10054. conditions, can be treated as verbatim copying in other respects.
  10055. If the required texts for either cover are too voluminous to fit
  10056. legibly, you should put the first ones listed (as many as fit
  10057. reasonably) on the actual cover, and continue the rest onto
  10058. adjacent pages.
  10059. If you publish or distribute Opaque copies of the Document
  10060. numbering more than 100, you must either include a machine-readable
  10061. Transparent copy along with each Opaque copy, or state in or with
  10062. each Opaque copy a computer-network location from which the general
  10063. network-using public has access to download using public-standard
  10064. network protocols a complete Transparent copy of the Document, free
  10065. of added material. If you use the latter option, you must take
  10066. reasonably prudent steps, when you begin distribution of Opaque
  10067. copies in quantity, to ensure that this Transparent copy will
  10068. remain thus accessible at the stated location until at least one
  10069. year after the last time you distribute an Opaque copy (directly or
  10070. through your agents or retailers) of that edition to the public.
  10071. It is requested, but not required, that you contact the authors of
  10072. the Document well before redistributing any large number of copies,
  10073. to give them a chance to provide you with an updated version of the
  10074. Document.
  10075. 4. MODIFICATIONS
  10076. You may copy and distribute a Modified Version of the Document
  10077. under the conditions of sections 2 and 3 above, provided that you
  10078. release the Modified Version under precisely this License, with the
  10079. Modified Version filling the role of the Document, thus licensing
  10080. distribution and modification of the Modified Version to whoever
  10081. possesses a copy of it. In addition, you must do these things in
  10082. the Modified Version:
  10083. A. Use in the Title Page (and on the covers, if any) a title
  10084. distinct from that of the Document, and from those of previous
  10085. versions (which should, if there were any, be listed in the
  10086. History section of the Document). You may use the same title
  10087. as a previous version if the original publisher of that
  10088. version gives permission.
  10089. B. List on the Title Page, as authors, one or more persons or
  10090. entities responsible for authorship of the modifications in
  10091. the Modified Version, together with at least five of the
  10092. principal authors of the Document (all of its principal
  10093. authors, if it has fewer than five), unless they release you
  10094. from this requirement.
  10095. C. State on the Title page the name of the publisher of the
  10096. Modified Version, as the publisher.
  10097. D. Preserve all the copyright notices of the Document.
  10098. E. Add an appropriate copyright notice for your modifications
  10099. adjacent to the other copyright notices.
  10100. F. Include, immediately after the copyright notices, a license
  10101. notice giving the public permission to use the Modified
  10102. Version under the terms of this License, in the form shown in
  10103. the Addendum below.
  10104. G. Preserve in that license notice the full lists of Invariant
  10105. Sections and required Cover Texts given in the Document's
  10106. license notice.
  10107. H. Include an unaltered copy of this License.
  10108. I. Preserve the section Entitled "History", Preserve its Title,
  10109. and add to it an item stating at least the title, year, new
  10110. authors, and publisher of the Modified Version as given on the
  10111. Title Page. If there is no section Entitled "History" in the
  10112. Document, create one stating the title, year, authors, and
  10113. publisher of the Document as given on its Title Page, then add
  10114. an item describing the Modified Version as stated in the
  10115. previous sentence.
  10116. J. Preserve the network location, if any, given in the Document
  10117. for public access to a Transparent copy of the Document, and
  10118. likewise the network locations given in the Document for
  10119. previous versions it was based on. These may be placed in the
  10120. "History" section. You may omit a network location for a work
  10121. that was published at least four years before the Document
  10122. itself, or if the original publisher of the version it refers
  10123. to gives permission.
  10124. K. For any section Entitled "Acknowledgements" or "Dedications",
  10125. Preserve the Title of the section, and preserve in the section
  10126. all the substance and tone of each of the contributor
  10127. acknowledgements and/or dedications given therein.
  10128. L. Preserve all the Invariant Sections of the Document, unaltered
  10129. in their text and in their titles. Section numbers or the
  10130. equivalent are not considered part of the section titles.
  10131. M. Delete any section Entitled "Endorsements". Such a section
  10132. may not be included in the Modified Version.
  10133. N. Do not retitle any existing section to be Entitled
  10134. "Endorsements" or to conflict in title with any Invariant
  10135. Section.
  10136. O. Preserve any Warranty Disclaimers.
  10137. If the Modified Version includes new front-matter sections or
  10138. appendices that qualify as Secondary Sections and contain no
  10139. material copied from the Document, you may at your option designate
  10140. some or all of these sections as invariant. To do this, add their
  10141. titles to the list of Invariant Sections in the Modified Version's
  10142. license notice. These titles must be distinct from any other
  10143. section titles.
  10144. You may add a section Entitled "Endorsements", provided it contains
  10145. nothing but endorsements of your Modified Version by various
  10146. parties--for example, statements of peer review or that the text
  10147. has been approved by an organization as the authoritative
  10148. definition of a standard.
  10149. You may add a passage of up to five words as a Front-Cover Text,
  10150. and a passage of up to 25 words as a Back-Cover Text, to the end of
  10151. the list of Cover Texts in the Modified Version. Only one passage
  10152. of Front-Cover Text and one of Back-Cover Text may be added by (or
  10153. through arrangements made by) any one entity. If the Document
  10154. already includes a cover text for the same cover, previously added
  10155. by you or by arrangement made by the same entity you are acting on
  10156. behalf of, you may not add another; but you may replace the old
  10157. one, on explicit permission from the previous publisher that added
  10158. the old one.
  10159. The author(s) and publisher(s) of the Document do not by this
  10160. License give permission to use their names for publicity for or to
  10161. assert or imply endorsement of any Modified Version.
  10162. 5. COMBINING DOCUMENTS
  10163. You may combine the Document with other documents released under
  10164. this License, under the terms defined in section 4 above for
  10165. modified versions, provided that you include in the combination all
  10166. of the Invariant Sections of all of the original documents,
  10167. unmodified, and list them all as Invariant Sections of your
  10168. combined work in its license notice, and that you preserve all
  10169. their Warranty Disclaimers.
  10170. The combined work need only contain one copy of this License, and
  10171. multiple identical Invariant Sections may be replaced with a single
  10172. copy. If there are multiple Invariant Sections with the same name
  10173. but different contents, make the title of each such section unique
  10174. by adding at the end of it, in parentheses, the name of the
  10175. original author or publisher of that section if known, or else a
  10176. unique number. Make the same adjustment to the section titles in
  10177. the list of Invariant Sections in the license notice of the
  10178. combined work.
  10179. In the combination, you must combine any sections Entitled
  10180. "History" in the various original documents, forming one section
  10181. Entitled "History"; likewise combine any sections Entitled
  10182. "Acknowledgements", and any sections Entitled "Dedications". You
  10183. must delete all sections Entitled "Endorsements."
  10184. 6. COLLECTIONS OF DOCUMENTS
  10185. You may make a collection consisting of the Document and other
  10186. documents released under this License, and replace the individual
  10187. copies of this License in the various documents with a single copy
  10188. that is included in the collection, provided that you follow the
  10189. rules of this License for verbatim copying of each of the documents
  10190. in all other respects.
  10191. You may extract a single document from such a collection, and
  10192. distribute it individually under this License, provided you insert
  10193. a copy of this License into the extracted document, and follow this
  10194. License in all other respects regarding verbatim copying of that
  10195. document.
  10196. 7. AGGREGATION WITH INDEPENDENT WORKS
  10197. A compilation of the Document or its derivatives with other
  10198. separate and independent documents or works, in or on a volume of a
  10199. storage or distribution medium, is called an "aggregate" if the
  10200. copyright resulting from the compilation is not used to limit the
  10201. legal rights of the compilation's users beyond what the individual
  10202. works permit. When the Document is included in an aggregate, this
  10203. License does not apply to the other works in the aggregate which
  10204. are not themselves derivative works of the Document.
  10205. If the Cover Text requirement of section 3 is applicable to these
  10206. copies of the Document, then if the Document is less than one half
  10207. of the entire aggregate, the Document's Cover Texts may be placed
  10208. on covers that bracket the Document within the aggregate, or the
  10209. electronic equivalent of covers if the Document is in electronic
  10210. form. Otherwise they must appear on printed covers that bracket
  10211. the whole aggregate.
  10212. 8. TRANSLATION
  10213. Translation is considered a kind of modification, so you may
  10214. distribute translations of the Document under the terms of section
  10215. 4. Replacing Invariant Sections with translations requires special
  10216. permission from their copyright holders, but you may include
  10217. translations of some or all Invariant Sections in addition to the
  10218. original versions of these Invariant Sections. You may include a
  10219. translation of this License, and all the license notices in the
  10220. Document, and any Warranty Disclaimers, provided that you also
  10221. include the original English version of this License and the
  10222. original versions of those notices and disclaimers. In case of a
  10223. disagreement between the translation and the original version of
  10224. this License or a notice or disclaimer, the original version will
  10225. prevail.
  10226. If a section in the Document is Entitled "Acknowledgements",
  10227. "Dedications", or "History", the requirement (section 4) to
  10228. Preserve its Title (section 1) will typically require changing the
  10229. actual title.
  10230. 9. TERMINATION
  10231. You may not copy, modify, sublicense, or distribute the Document
  10232. except as expressly provided under this License. Any attempt
  10233. otherwise to copy, modify, sublicense, or distribute it is void,
  10234. and will automatically terminate your rights under this License.
  10235. However, if you cease all violation of this License, then your
  10236. license from a particular copyright holder is reinstated (a)
  10237. provisionally, unless and until the copyright holder explicitly and
  10238. finally terminates your license, and (b) permanently, if the
  10239. copyright holder fails to notify you of the violation by some
  10240. reasonable means prior to 60 days after the cessation.
  10241. Moreover, your license from a particular copyright holder is
  10242. reinstated permanently if the copyright holder notifies you of the
  10243. violation by some reasonable means, this is the first time you have
  10244. received notice of violation of this License (for any work) from
  10245. that copyright holder, and you cure the violation prior to 30 days
  10246. after your receipt of the notice.
  10247. Termination of your rights under this section does not terminate
  10248. the licenses of parties who have received copies or rights from you
  10249. under this License. If your rights have been terminated and not
  10250. permanently reinstated, receipt of a copy of some or all of the
  10251. same material does not give you any rights to use it.
  10252. 10. FUTURE REVISIONS OF THIS LICENSE
  10253. The Free Software Foundation may publish new, revised versions of
  10254. the GNU Free Documentation License from time to time. Such new
  10255. versions will be similar in spirit to the present version, but may
  10256. differ in detail to address new problems or concerns. See
  10257. <http://www.gnu.org/copyleft/>.
  10258. Each version of the License is given a distinguishing version
  10259. number. If the Document specifies that a particular numbered
  10260. version of this License "or any later version" applies to it, you
  10261. have the option of following the terms and conditions either of
  10262. that specified version or of any later version that has been
  10263. published (not as a draft) by the Free Software Foundation. If the
  10264. Document does not specify a version number of this License, you may
  10265. choose any version ever published (not as a draft) by the Free
  10266. Software Foundation. If the Document specifies that a proxy can
  10267. decide which future versions of this License can be used, that
  10268. proxy's public statement of acceptance of a version permanently
  10269. authorizes you to choose that version for the Document.
  10270. 11. RELICENSING
  10271. "Massive Multiauthor Collaboration Site" (or "MMC Site") means any
  10272. World Wide Web server that publishes copyrightable works and also
  10273. provides prominent facilities for anybody to edit those works. A
  10274. public wiki that anybody can edit is an example of such a server.
  10275. A "Massive Multiauthor Collaboration" (or "MMC") contained in the
  10276. site means any set of copyrightable works thus published on the MMC
  10277. site.
  10278. "CC-BY-SA" means the Creative Commons Attribution-Share Alike 3.0
  10279. license published by Creative Commons Corporation, a not-for-profit
  10280. corporation with a principal place of business in San Francisco,
  10281. California, as well as future copyleft versions of that license
  10282. published by that same organization.
  10283. "Incorporate" means to publish or republish a Document, in whole or
  10284. in part, as part of another Document.
  10285. An MMC is "eligible for relicensing" if it is licensed under this
  10286. License, and if all works that were first published under this
  10287. License somewhere other than this MMC, and subsequently
  10288. incorporated in whole or in part into the MMC, (1) had no cover
  10289. texts or invariant sections, and (2) were thus incorporated prior
  10290. to November 1, 2008.
  10291. The operator of an MMC Site may republish an MMC contained in the
  10292. site under CC-BY-SA on the same site at any time before August 1,
  10293. 2009, provided the MMC is eligible for relicensing.
  10294. ADDENDUM: How to use this License for your documents
  10295. ====================================================
  10296. To use this License in a document you have written, include a copy of
  10297. the License in the document and put the following copyright and license
  10298. notices just after the title page:
  10299. Copyright (C) YEAR YOUR NAME.
  10300. Permission is granted to copy, distribute and/or modify this document
  10301. under the terms of the GNU Free Documentation License, Version 1.3
  10302. or any later version published by the Free Software Foundation;
  10303. with no Invariant Sections, no Front-Cover Texts, and no Back-Cover
  10304. Texts. A copy of the license is included in the section entitled ``GNU
  10305. Free Documentation License''.
  10306. If you have Invariant Sections, Front-Cover Texts and Back-Cover
  10307. Texts, replace the "with...Texts." line with this:
  10308. with the Invariant Sections being LIST THEIR TITLES, with
  10309. the Front-Cover Texts being LIST, and with the Back-Cover Texts
  10310. being LIST.
  10311. If you have Invariant Sections without Cover Texts, or some other
  10312. combination of the three, merge those two alternatives to suit the
  10313. situation.
  10314. If your document contains nontrivial examples of program code, we
  10315. recommend releasing these examples in parallel under your choice of free
  10316. software license, such as the GNU General Public License, to permit
  10317. their use in free software.
  10318. 
  10319. File: bfd.info, Node: BFD Index, Prev: GNU Free Documentation License, Up: Top
  10320. BFD Index
  10321. *********
  10322. �[index�]
  10323. * Menu:
  10324. * _bfd_error_handler: Error reporting. (line 112)
  10325. * _bfd_final_link_relocate: Relocating the section contents.
  10326. (line 22)
  10327. * _bfd_generic_link_add_archive_symbols: Adding symbols from an archive.
  10328. (line 15)
  10329. * _bfd_generic_link_add_one_symbol: Adding symbols from an object file.
  10330. (line 19)
  10331. * _bfd_generic_link_check_relocs: Writing the symbol table.
  10332. (line 144)
  10333. * _bfd_generic_link_hide_symbol: Writing the symbol table.
  10334. (line 83)
  10335. * _bfd_generic_make_empty_symbol: symbol handling functions.
  10336. (line 96)
  10337. * _bfd_generic_set_reloc: howto manager. (line 3496)
  10338. * _bfd_generic_verify_endian_match: Writing the symbol table.
  10339. (line 172)
  10340. * _bfd_link_add_symbols in target vector: Adding Symbols to the Hash Table.
  10341. (line 6)
  10342. * _bfd_link_final_link in target vector: Performing the Final Link.
  10343. (line 6)
  10344. * _bfd_link_hash_table_create in target vector: Creating a Linker Hash Table.
  10345. (line 6)
  10346. * _bfd_relocate_contents: Relocating the section contents.
  10347. (line 22)
  10348. * _bfd_unrecognized_reloc: howto manager. (line 3508)
  10349. * aout_SIZE_machine_type: aout. (line 145)
  10350. * aout_SIZE_mkobject: aout. (line 137)
  10351. * aout_SIZE_new_section_hook: aout. (line 175)
  10352. * aout_SIZE_set_arch_mach: aout. (line 162)
  10353. * aout_SIZE_some_aout_object_p: aout. (line 123)
  10354. * aout_SIZE_swap_exec_header_in: aout. (line 99)
  10355. * aout_SIZE_swap_exec_header_out: aout. (line 111)
  10356. * arelent_chain: typedef arelent. (line 315)
  10357. * BFD: Overview. (line 6)
  10358. * BFD canonical format: Canonical format. (line 11)
  10359. * bfd_alloc: Opening and Closing.
  10360. (line 239)
  10361. * bfd_alloc2: Opening and Closing.
  10362. (line 248)
  10363. * bfd_alt_mach_code: Miscellaneous. (line 291)
  10364. * bfd_arch_bits_per_address: Architectures. (line 655)
  10365. * bfd_arch_bits_per_byte: Architectures. (line 647)
  10366. * bfd_arch_default_fill: Architectures. (line 737)
  10367. * bfd_arch_get_compatible: Architectures. (line 590)
  10368. * bfd_arch_list: Architectures. (line 581)
  10369. * bfd_arch_mach_octets_per_byte: Architectures. (line 725)
  10370. * BFD_ARELOC_BFIN_ADD: howto manager. (line 1144)
  10371. * BFD_ARELOC_BFIN_ADDR: howto manager. (line 1178)
  10372. * BFD_ARELOC_BFIN_AND: howto manager. (line 1158)
  10373. * BFD_ARELOC_BFIN_COMP: howto manager. (line 1172)
  10374. * BFD_ARELOC_BFIN_CONST: howto manager. (line 1142)
  10375. * BFD_ARELOC_BFIN_DIV: howto manager. (line 1150)
  10376. * BFD_ARELOC_BFIN_HWPAGE: howto manager. (line 1176)
  10377. * BFD_ARELOC_BFIN_LAND: howto manager. (line 1164)
  10378. * BFD_ARELOC_BFIN_LEN: howto manager. (line 1168)
  10379. * BFD_ARELOC_BFIN_LOR: howto manager. (line 1166)
  10380. * BFD_ARELOC_BFIN_LSHIFT: howto manager. (line 1154)
  10381. * BFD_ARELOC_BFIN_MOD: howto manager. (line 1152)
  10382. * BFD_ARELOC_BFIN_MULT: howto manager. (line 1148)
  10383. * BFD_ARELOC_BFIN_NEG: howto manager. (line 1170)
  10384. * BFD_ARELOC_BFIN_OR: howto manager. (line 1160)
  10385. * BFD_ARELOC_BFIN_PAGE: howto manager. (line 1174)
  10386. * BFD_ARELOC_BFIN_PUSH: howto manager. (line 1140)
  10387. * BFD_ARELOC_BFIN_RSHIFT: howto manager. (line 1156)
  10388. * BFD_ARELOC_BFIN_SUB: howto manager. (line 1146)
  10389. * BFD_ARELOC_BFIN_XOR: howto manager. (line 1162)
  10390. * bfd_cache_close: File Caching. (line 25)
  10391. * bfd_cache_close_all: File Caching. (line 38)
  10392. * bfd_cache_init: File Caching. (line 17)
  10393. * bfd_calc_gnu_debuglink_crc32: Opening and Closing.
  10394. (line 275)
  10395. * bfd_canonicalize_reloc: Miscellaneous. (line 18)
  10396. * bfd_canonicalize_symtab: symbol handling functions.
  10397. (line 52)
  10398. * bfd_check_compression_header: Miscellaneous. (line 363)
  10399. * bfd_check_format: Formats. (line 20)
  10400. * bfd_check_format_matches: Formats. (line 51)
  10401. * bfd_check_overflow: typedef arelent. (line 328)
  10402. * bfd_close: Opening and Closing.
  10403. (line 161)
  10404. * bfd_close_all_done: Opening and Closing.
  10405. (line 179)
  10406. * bfd_coff_backend_data: coff. (line 296)
  10407. * bfd_convert_section_contents: Miscellaneous. (line 401)
  10408. * bfd_convert_section_size: Miscellaneous. (line 391)
  10409. * bfd_copy_private_bfd_data: Miscellaneous. (line 159)
  10410. * bfd_copy_private_header_data: Miscellaneous. (line 142)
  10411. * bfd_copy_private_section_data: section prototypes. (line 279)
  10412. * bfd_copy_private_symbol_data: symbol handling functions.
  10413. (line 145)
  10414. * bfd_core_file_failing_command: Core Files. (line 11)
  10415. * bfd_core_file_failing_signal: Core Files. (line 20)
  10416. * bfd_core_file_pid: Core Files. (line 29)
  10417. * bfd_create: Opening and Closing.
  10418. (line 198)
  10419. * bfd_create_gnu_debuglink_section: Opening and Closing.
  10420. (line 431)
  10421. * bfd_decode_symclass: symbol handling functions.
  10422. (line 116)
  10423. * bfd_default_arch_struct: Architectures. (line 602)
  10424. * bfd_default_compatible: Architectures. (line 664)
  10425. * bfd_default_reloc_type_lookup: howto manager. (line 3420)
  10426. * bfd_default_scan: Architectures. (line 673)
  10427. * bfd_default_set_arch_mach: Architectures. (line 620)
  10428. * bfd_demangle: Miscellaneous. (line 342)
  10429. * bfd_emul_get_commonpagesize: Miscellaneous. (line 322)
  10430. * bfd_emul_get_maxpagesize: Miscellaneous. (line 302)
  10431. * bfd_emul_set_commonpagesize: Miscellaneous. (line 333)
  10432. * bfd_emul_set_maxpagesize: Miscellaneous. (line 313)
  10433. * bfd_errmsg: Error reporting. (line 79)
  10434. * bfd_fdopenr: Opening and Closing.
  10435. (line 56)
  10436. * bfd_fill_in_gnu_debuglink_section: Opening and Closing.
  10437. (line 445)
  10438. * bfd_find_target: bfd_target. (line 567)
  10439. * bfd_find_version_for_sym: Writing the symbol table.
  10440. (line 111)
  10441. * bfd_flavour_name: bfd_target. (line 630)
  10442. * bfd_follow_build_id_debuglink: Opening and Closing.
  10443. (line 505)
  10444. * bfd_follow_gnu_debugaltlink: Opening and Closing.
  10445. (line 411)
  10446. * bfd_follow_gnu_debuglink: Opening and Closing.
  10447. (line 390)
  10448. * bfd_fopen: Opening and Closing.
  10449. (line 11)
  10450. * bfd_format_string: Formats. (line 78)
  10451. * bfd_generic_define_common_symbol: Writing the symbol table.
  10452. (line 69)
  10453. * bfd_generic_define_start_stop: Writing the symbol table.
  10454. (line 97)
  10455. * bfd_generic_discard_group: section prototypes. (line 312)
  10456. * bfd_generic_gc_sections: howto manager. (line 3451)
  10457. * bfd_generic_get_relocated_section_contents: howto manager. (line 3481)
  10458. * bfd_generic_group_name: section prototypes. (line 304)
  10459. * bfd_generic_is_group_section: section prototypes. (line 296)
  10460. * bfd_generic_lookup_section_flags: howto manager. (line 3461)
  10461. * bfd_generic_merge_sections: howto manager. (line 3471)
  10462. * bfd_generic_relax_section: howto manager. (line 3438)
  10463. * bfd_get_alt_debug_link_info: Opening and Closing.
  10464. (line 329)
  10465. * bfd_get_arch: Architectures. (line 631)
  10466. * bfd_get_arch_info: Architectures. (line 683)
  10467. * bfd_get_arch_size: Miscellaneous. (line 63)
  10468. * bfd_get_compression_header_size: Miscellaneous. (line 380)
  10469. * bfd_get_debug_link_info: Opening and Closing.
  10470. (line 311)
  10471. * bfd_get_debug_link_info_1: Opening and Closing.
  10472. (line 289)
  10473. * bfd_get_error: Error reporting. (line 49)
  10474. * bfd_get_file_size: Miscellaneous. (line 490)
  10475. * bfd_get_gp_size: Miscellaneous. (line 106)
  10476. * bfd_get_linker_section: section prototypes. (line 37)
  10477. * bfd_get_mach: Architectures. (line 639)
  10478. * bfd_get_mtime: Miscellaneous. (line 453)
  10479. * bfd_get_next_mapent: Archives. (line 57)
  10480. * bfd_get_next_section_by_name: section prototypes. (line 25)
  10481. * bfd_get_reloc_code_name: howto manager. (line 3429)
  10482. * bfd_get_reloc_size: typedef arelent. (line 306)
  10483. * bfd_get_reloc_upper_bound: Miscellaneous. (line 8)
  10484. * bfd_get_section_by_name: section prototypes. (line 16)
  10485. * bfd_get_section_by_name_if: section prototypes. (line 46)
  10486. * bfd_get_section_contents: section prototypes. (line 252)
  10487. * bfd_get_sign_extend_vma: Miscellaneous. (line 78)
  10488. * bfd_get_size: Miscellaneous. (line 462)
  10489. * bfd_get_size <1>: Internal. (line 24)
  10490. * bfd_get_symtab_upper_bound: symbol handling functions.
  10491. (line 5)
  10492. * bfd_get_target_info: bfd_target. (line 583)
  10493. * bfd_get_unique_section_name: section prototypes. (line 65)
  10494. * bfd_hash_allocate: Creating and Freeing a Hash Table.
  10495. (line 17)
  10496. * bfd_hash_lookup: Looking Up or Entering a String.
  10497. (line 6)
  10498. * bfd_hash_newfunc: Creating and Freeing a Hash Table.
  10499. (line 12)
  10500. * bfd_hash_set_default_size: Creating and Freeing a Hash Table.
  10501. (line 25)
  10502. * bfd_hash_table_free: Creating and Freeing a Hash Table.
  10503. (line 21)
  10504. * bfd_hash_table_init: Creating and Freeing a Hash Table.
  10505. (line 6)
  10506. * bfd_hash_table_init_n: Creating and Freeing a Hash Table.
  10507. (line 6)
  10508. * bfd_hash_traverse: Traversing a Hash Table.
  10509. (line 6)
  10510. * bfd_hide_sym_by_version: Writing the symbol table.
  10511. (line 123)
  10512. * bfd_h_put_size: Internal. (line 111)
  10513. * bfd_init: Initialization. (line 10)
  10514. * bfd_install_relocation: typedef arelent. (line 382)
  10515. * bfd_is_local_label: symbol handling functions.
  10516. (line 17)
  10517. * bfd_is_local_label_name: symbol handling functions.
  10518. (line 26)
  10519. * bfd_is_target_special_symbol: symbol handling functions.
  10520. (line 39)
  10521. * bfd_is_undefined_symclass: symbol handling functions.
  10522. (line 125)
  10523. * bfd_iterate_over_targets: bfd_target. (line 618)
  10524. * bfd_link_check_relocs: Writing the symbol table.
  10525. (line 133)
  10526. * bfd_link_split_section: Writing the symbol table.
  10527. (line 43)
  10528. * bfd_log2: Internal. (line 180)
  10529. * bfd_lookup_arch: Architectures. (line 691)
  10530. * bfd_make_debug_symbol: symbol handling functions.
  10531. (line 106)
  10532. * bfd_make_empty_symbol: symbol handling functions.
  10533. (line 81)
  10534. * bfd_make_readable: Opening and Closing.
  10535. (line 225)
  10536. * bfd_make_section: section prototypes. (line 143)
  10537. * bfd_make_section_anyway: section prototypes. (line 115)
  10538. * bfd_make_section_anyway_with_flags: section prototypes. (line 97)
  10539. * bfd_make_section_old_way: section prototypes. (line 77)
  10540. * bfd_make_section_with_flags: section prototypes. (line 131)
  10541. * bfd_make_writable: Opening and Closing.
  10542. (line 211)
  10543. * bfd_malloc_and_get_section: section prototypes. (line 269)
  10544. * bfd_map_over_sections: section prototypes. (line 176)
  10545. * bfd_merge_private_bfd_data: Writing the symbol table.
  10546. (line 155)
  10547. * bfd_mmap: Miscellaneous. (line 499)
  10548. * bfd_octets_per_byte: Architectures. (line 714)
  10549. * bfd_openr: Opening and Closing.
  10550. (line 37)
  10551. * bfd_openr_iovec: Opening and Closing.
  10552. (line 95)
  10553. * bfd_openr_next_archived_file: Archives. (line 83)
  10554. * bfd_openstreamr: Opening and Closing.
  10555. (line 82)
  10556. * bfd_openw: Opening and Closing.
  10557. (line 146)
  10558. * bfd_open_file: File Caching. (line 51)
  10559. * bfd_perform_relocation: typedef arelent. (line 357)
  10560. * bfd_perror: Error reporting. (line 88)
  10561. * bfd_printable_arch_mach: Architectures. (line 702)
  10562. * bfd_printable_name: Architectures. (line 562)
  10563. * bfd_print_symbol_vandf: symbol handling functions.
  10564. (line 73)
  10565. * bfd_put_size: Internal. (line 21)
  10566. * BFD_RELOC_12_PCREL: howto manager. (line 37)
  10567. * BFD_RELOC_14: howto manager. (line 30)
  10568. * BFD_RELOC_16: howto manager. (line 29)
  10569. * BFD_RELOC_16_BASEREL: howto manager. (line 90)
  10570. * BFD_RELOC_16_GOTOFF: howto manager. (line 49)
  10571. * BFD_RELOC_16_GOT_PCREL: howto manager. (line 46)
  10572. * BFD_RELOC_16_PCREL: howto manager. (line 36)
  10573. * BFD_RELOC_16_PCREL_S2: howto manager. (line 100)
  10574. * BFD_RELOC_16_PLTOFF: howto manager. (line 61)
  10575. * BFD_RELOC_16_PLT_PCREL: howto manager. (line 57)
  10576. * BFD_RELOC_23_PCREL_S2: howto manager. (line 101)
  10577. * BFD_RELOC_24: howto manager. (line 28)
  10578. * BFD_RELOC_24_PCREL: howto manager. (line 35)
  10579. * BFD_RELOC_24_PLT_PCREL: howto manager. (line 56)
  10580. * BFD_RELOC_26: howto manager. (line 27)
  10581. * BFD_RELOC_32: howto manager. (line 26)
  10582. * BFD_RELOC_32_BASEREL: howto manager. (line 89)
  10583. * BFD_RELOC_32_GOTOFF: howto manager. (line 48)
  10584. * BFD_RELOC_32_GOT_PCREL: howto manager. (line 45)
  10585. * BFD_RELOC_32_PCREL: howto manager. (line 34)
  10586. * BFD_RELOC_32_PCREL_S2: howto manager. (line 99)
  10587. * BFD_RELOC_32_PLTOFF: howto manager. (line 60)
  10588. * BFD_RELOC_32_PLT_PCREL: howto manager. (line 55)
  10589. * BFD_RELOC_32_SECREL: howto manager. (line 43)
  10590. * BFD_RELOC_386_COPY: howto manager. (line 523)
  10591. * BFD_RELOC_386_GLOB_DAT: howto manager. (line 524)
  10592. * BFD_RELOC_386_GOT32: howto manager. (line 521)
  10593. * BFD_RELOC_386_GOT32X: howto manager. (line 545)
  10594. * BFD_RELOC_386_GOTOFF: howto manager. (line 527)
  10595. * BFD_RELOC_386_GOTPC: howto manager. (line 528)
  10596. * BFD_RELOC_386_IRELATIVE: howto manager. (line 544)
  10597. * BFD_RELOC_386_JUMP_SLOT: howto manager. (line 525)
  10598. * BFD_RELOC_386_PLT32: howto manager. (line 522)
  10599. * BFD_RELOC_386_RELATIVE: howto manager. (line 526)
  10600. * BFD_RELOC_386_TLS_DESC: howto manager. (line 543)
  10601. * BFD_RELOC_386_TLS_DESC_CALL: howto manager. (line 542)
  10602. * BFD_RELOC_386_TLS_DTPMOD32: howto manager. (line 538)
  10603. * BFD_RELOC_386_TLS_DTPOFF32: howto manager. (line 539)
  10604. * BFD_RELOC_386_TLS_GD: howto manager. (line 533)
  10605. * BFD_RELOC_386_TLS_GOTDESC: howto manager. (line 541)
  10606. * BFD_RELOC_386_TLS_GOTIE: howto manager. (line 531)
  10607. * BFD_RELOC_386_TLS_IE: howto manager. (line 530)
  10608. * BFD_RELOC_386_TLS_IE_32: howto manager. (line 536)
  10609. * BFD_RELOC_386_TLS_LDM: howto manager. (line 534)
  10610. * BFD_RELOC_386_TLS_LDO_32: howto manager. (line 535)
  10611. * BFD_RELOC_386_TLS_LE: howto manager. (line 532)
  10612. * BFD_RELOC_386_TLS_LE_32: howto manager. (line 537)
  10613. * BFD_RELOC_386_TLS_TPOFF: howto manager. (line 529)
  10614. * BFD_RELOC_386_TLS_TPOFF32: howto manager. (line 540)
  10615. * BFD_RELOC_390_12: howto manager. (line 1950)
  10616. * BFD_RELOC_390_20: howto manager. (line 2031)
  10617. * BFD_RELOC_390_COPY: howto manager. (line 1956)
  10618. * BFD_RELOC_390_GLOB_DAT: howto manager. (line 1958)
  10619. * BFD_RELOC_390_GOT12: howto manager. (line 1952)
  10620. * BFD_RELOC_390_GOT16: howto manager. (line 1966)
  10621. * BFD_RELOC_390_GOT20: howto manager. (line 2032)
  10622. * BFD_RELOC_390_GOT64: howto manager. (line 1986)
  10623. * BFD_RELOC_390_GOTENT: howto manager. (line 1990)
  10624. * BFD_RELOC_390_GOTOFF64: howto manager. (line 1992)
  10625. * BFD_RELOC_390_GOTPC: howto manager. (line 1964)
  10626. * BFD_RELOC_390_GOTPCDBL: howto manager. (line 1984)
  10627. * BFD_RELOC_390_GOTPLT12: howto manager. (line 1994)
  10628. * BFD_RELOC_390_GOTPLT16: howto manager. (line 1996)
  10629. * BFD_RELOC_390_GOTPLT20: howto manager. (line 2033)
  10630. * BFD_RELOC_390_GOTPLT32: howto manager. (line 1998)
  10631. * BFD_RELOC_390_GOTPLT64: howto manager. (line 2000)
  10632. * BFD_RELOC_390_GOTPLTENT: howto manager. (line 2002)
  10633. * BFD_RELOC_390_IRELATIVE: howto manager. (line 2036)
  10634. * BFD_RELOC_390_JMP_SLOT: howto manager. (line 1960)
  10635. * BFD_RELOC_390_PC12DBL: howto manager. (line 1968)
  10636. * BFD_RELOC_390_PC16DBL: howto manager. (line 1972)
  10637. * BFD_RELOC_390_PC24DBL: howto manager. (line 1976)
  10638. * BFD_RELOC_390_PC32DBL: howto manager. (line 1980)
  10639. * BFD_RELOC_390_PLT12DBL: howto manager. (line 1970)
  10640. * BFD_RELOC_390_PLT16DBL: howto manager. (line 1974)
  10641. * BFD_RELOC_390_PLT24DBL: howto manager. (line 1978)
  10642. * BFD_RELOC_390_PLT32: howto manager. (line 1954)
  10643. * BFD_RELOC_390_PLT32DBL: howto manager. (line 1982)
  10644. * BFD_RELOC_390_PLT64: howto manager. (line 1988)
  10645. * BFD_RELOC_390_PLTOFF16: howto manager. (line 2004)
  10646. * BFD_RELOC_390_PLTOFF32: howto manager. (line 2006)
  10647. * BFD_RELOC_390_PLTOFF64: howto manager. (line 2008)
  10648. * BFD_RELOC_390_RELATIVE: howto manager. (line 1962)
  10649. * BFD_RELOC_390_TLS_DTPMOD: howto manager. (line 2027)
  10650. * BFD_RELOC_390_TLS_DTPOFF: howto manager. (line 2028)
  10651. * BFD_RELOC_390_TLS_GD32: howto manager. (line 2013)
  10652. * BFD_RELOC_390_TLS_GD64: howto manager. (line 2014)
  10653. * BFD_RELOC_390_TLS_GDCALL: howto manager. (line 2011)
  10654. * BFD_RELOC_390_TLS_GOTIE12: howto manager. (line 2015)
  10655. * BFD_RELOC_390_TLS_GOTIE20: howto manager. (line 2034)
  10656. * BFD_RELOC_390_TLS_GOTIE32: howto manager. (line 2016)
  10657. * BFD_RELOC_390_TLS_GOTIE64: howto manager. (line 2017)
  10658. * BFD_RELOC_390_TLS_IE32: howto manager. (line 2020)
  10659. * BFD_RELOC_390_TLS_IE64: howto manager. (line 2021)
  10660. * BFD_RELOC_390_TLS_IEENT: howto manager. (line 2022)
  10661. * BFD_RELOC_390_TLS_LDCALL: howto manager. (line 2012)
  10662. * BFD_RELOC_390_TLS_LDM32: howto manager. (line 2018)
  10663. * BFD_RELOC_390_TLS_LDM64: howto manager. (line 2019)
  10664. * BFD_RELOC_390_TLS_LDO32: howto manager. (line 2025)
  10665. * BFD_RELOC_390_TLS_LDO64: howto manager. (line 2026)
  10666. * BFD_RELOC_390_TLS_LE32: howto manager. (line 2023)
  10667. * BFD_RELOC_390_TLS_LE64: howto manager. (line 2024)
  10668. * BFD_RELOC_390_TLS_LOAD: howto manager. (line 2010)
  10669. * BFD_RELOC_390_TLS_TPOFF: howto manager. (line 2029)
  10670. * BFD_RELOC_64: howto manager. (line 25)
  10671. * BFD_RELOC_64_PCREL: howto manager. (line 33)
  10672. * BFD_RELOC_64_PLTOFF: howto manager. (line 59)
  10673. * BFD_RELOC_64_PLT_PCREL: howto manager. (line 54)
  10674. * BFD_RELOC_68K_GLOB_DAT: howto manager. (line 70)
  10675. * BFD_RELOC_68K_JMP_SLOT: howto manager. (line 71)
  10676. * BFD_RELOC_68K_RELATIVE: howto manager. (line 72)
  10677. * BFD_RELOC_68K_TLS_GD16: howto manager. (line 74)
  10678. * BFD_RELOC_68K_TLS_GD32: howto manager. (line 73)
  10679. * BFD_RELOC_68K_TLS_GD8: howto manager. (line 75)
  10680. * BFD_RELOC_68K_TLS_IE16: howto manager. (line 83)
  10681. * BFD_RELOC_68K_TLS_IE32: howto manager. (line 82)
  10682. * BFD_RELOC_68K_TLS_IE8: howto manager. (line 84)
  10683. * BFD_RELOC_68K_TLS_LDM16: howto manager. (line 77)
  10684. * BFD_RELOC_68K_TLS_LDM32: howto manager. (line 76)
  10685. * BFD_RELOC_68K_TLS_LDM8: howto manager. (line 78)
  10686. * BFD_RELOC_68K_TLS_LDO16: howto manager. (line 80)
  10687. * BFD_RELOC_68K_TLS_LDO32: howto manager. (line 79)
  10688. * BFD_RELOC_68K_TLS_LDO8: howto manager. (line 81)
  10689. * BFD_RELOC_68K_TLS_LE16: howto manager. (line 86)
  10690. * BFD_RELOC_68K_TLS_LE32: howto manager. (line 85)
  10691. * BFD_RELOC_68K_TLS_LE8: howto manager. (line 87)
  10692. * BFD_RELOC_8: howto manager. (line 31)
  10693. * BFD_RELOC_8_BASEREL: howto manager. (line 94)
  10694. * BFD_RELOC_8_FFnn: howto manager. (line 97)
  10695. * BFD_RELOC_8_GOTOFF: howto manager. (line 53)
  10696. * BFD_RELOC_8_GOT_PCREL: howto manager. (line 47)
  10697. * BFD_RELOC_8_PCREL: howto manager. (line 38)
  10698. * BFD_RELOC_8_PLTOFF: howto manager. (line 65)
  10699. * BFD_RELOC_8_PLT_PCREL: howto manager. (line 58)
  10700. * BFD_RELOC_AARCH64_16: howto manager. (line 2761)
  10701. * BFD_RELOC_AARCH64_16_PCREL: howto manager. (line 2767)
  10702. * BFD_RELOC_AARCH64_32: howto manager. (line 2760)
  10703. * BFD_RELOC_AARCH64_32_PCREL: howto manager. (line 2766)
  10704. * BFD_RELOC_AARCH64_64: howto manager. (line 2759)
  10705. * BFD_RELOC_AARCH64_64_PCREL: howto manager. (line 2765)
  10706. * BFD_RELOC_AARCH64_ADD_LO12: howto manager. (line 2840)
  10707. * BFD_RELOC_AARCH64_ADR_GOT_PAGE: howto manager. (line 2886)
  10708. * BFD_RELOC_AARCH64_ADR_HI21_NC_PCREL: howto manager. (line 2836)
  10709. * BFD_RELOC_AARCH64_ADR_HI21_PCREL: howto manager. (line 2833)
  10710. * BFD_RELOC_AARCH64_ADR_LO21_PCREL: howto manager. (line 2830)
  10711. * BFD_RELOC_AARCH64_BRANCH19: howto manager. (line 2852)
  10712. * BFD_RELOC_AARCH64_CALL26: howto manager. (line 2860)
  10713. * BFD_RELOC_AARCH64_COPY: howto manager. (line 3053)
  10714. * BFD_RELOC_AARCH64_GAS_INTERNAL_FIXUP: howto manager. (line 3077)
  10715. * BFD_RELOC_AARCH64_GLOB_DAT: howto manager. (line 3055)
  10716. * BFD_RELOC_AARCH64_GOT_LD_PREL19: howto manager. (line 2880)
  10717. * BFD_RELOC_AARCH64_IRELATIVE: howto manager. (line 3069)
  10718. * BFD_RELOC_AARCH64_JUMP26: howto manager. (line 2856)
  10719. * BFD_RELOC_AARCH64_JUMP_SLOT: howto manager. (line 3057)
  10720. * BFD_RELOC_AARCH64_LD32_GOTPAGE_LO14: howto manager. (line 2907)
  10721. * BFD_RELOC_AARCH64_LD32_GOT_LO12_NC: howto manager. (line 2894)
  10722. * BFD_RELOC_AARCH64_LD64_GOTOFF_LO15: howto manager. (line 2904)
  10723. * BFD_RELOC_AARCH64_LD64_GOTPAGE_LO15: howto manager. (line 2910)
  10724. * BFD_RELOC_AARCH64_LD64_GOT_LO12_NC: howto manager. (line 2890)
  10725. * BFD_RELOC_AARCH64_LDST128_LO12: howto manager. (line 2876)
  10726. * BFD_RELOC_AARCH64_LDST16_LO12: howto manager. (line 2864)
  10727. * BFD_RELOC_AARCH64_LDST32_LO12: howto manager. (line 2868)
  10728. * BFD_RELOC_AARCH64_LDST64_LO12: howto manager. (line 2872)
  10729. * BFD_RELOC_AARCH64_LDST8_LO12: howto manager. (line 2844)
  10730. * BFD_RELOC_AARCH64_LDST_LO12: howto manager. (line 3080)
  10731. * BFD_RELOC_AARCH64_LD_GOT_LO12_NC: howto manager. (line 3098)
  10732. * BFD_RELOC_AARCH64_LD_LO19_PCREL: howto manager. (line 2826)
  10733. * BFD_RELOC_AARCH64_MOVW_G0: howto manager. (line 2770)
  10734. * BFD_RELOC_AARCH64_MOVW_G0_NC: howto manager. (line 2773)
  10735. * BFD_RELOC_AARCH64_MOVW_G0_S: howto manager. (line 2791)
  10736. * BFD_RELOC_AARCH64_MOVW_G1: howto manager. (line 2776)
  10737. * BFD_RELOC_AARCH64_MOVW_G1_NC: howto manager. (line 2779)
  10738. * BFD_RELOC_AARCH64_MOVW_G1_S: howto manager. (line 2795)
  10739. * BFD_RELOC_AARCH64_MOVW_G2: howto manager. (line 2782)
  10740. * BFD_RELOC_AARCH64_MOVW_G2_NC: howto manager. (line 2785)
  10741. * BFD_RELOC_AARCH64_MOVW_G2_S: howto manager. (line 2799)
  10742. * BFD_RELOC_AARCH64_MOVW_G3: howto manager. (line 2788)
  10743. * BFD_RELOC_AARCH64_MOVW_GOTOFF_G0_NC: howto manager. (line 2898)
  10744. * BFD_RELOC_AARCH64_MOVW_GOTOFF_G1: howto manager. (line 2901)
  10745. * BFD_RELOC_AARCH64_MOVW_PREL_G0: howto manager. (line 2803)
  10746. * BFD_RELOC_AARCH64_MOVW_PREL_G0_NC: howto manager. (line 2807)
  10747. * BFD_RELOC_AARCH64_MOVW_PREL_G1: howto manager. (line 2811)
  10748. * BFD_RELOC_AARCH64_MOVW_PREL_G1_NC: howto manager. (line 2814)
  10749. * BFD_RELOC_AARCH64_MOVW_PREL_G2: howto manager. (line 2817)
  10750. * BFD_RELOC_AARCH64_MOVW_PREL_G2_NC: howto manager. (line 2820)
  10751. * BFD_RELOC_AARCH64_MOVW_PREL_G3: howto manager. (line 2823)
  10752. * BFD_RELOC_AARCH64_NONE: howto manager. (line 2757)
  10753. * BFD_RELOC_AARCH64_NULL: howto manager. (line 2755)
  10754. * BFD_RELOC_AARCH64_RELATIVE: howto manager. (line 3059)
  10755. * BFD_RELOC_AARCH64_RELOC_END: howto manager. (line 3071)
  10756. * BFD_RELOC_AARCH64_RELOC_START: howto manager. (line 2750)
  10757. * BFD_RELOC_AARCH64_TLSDESC: howto manager. (line 3067)
  10758. * BFD_RELOC_AARCH64_TLSDESC_ADD: howto manager. (line 3049)
  10759. * BFD_RELOC_AARCH64_TLSDESC_ADD_LO12: howto manager. (line 3041)
  10760. * BFD_RELOC_AARCH64_TLSDESC_ADR_PAGE21: howto manager. (line 3035)
  10761. * BFD_RELOC_AARCH64_TLSDESC_ADR_PREL21: howto manager. (line 3033)
  10762. * BFD_RELOC_AARCH64_TLSDESC_CALL: howto manager. (line 3051)
  10763. * BFD_RELOC_AARCH64_TLSDESC_LD32_LO12_NC: howto manager. (line 3039)
  10764. * BFD_RELOC_AARCH64_TLSDESC_LD64_LO12: howto manager. (line 3037)
  10765. * BFD_RELOC_AARCH64_TLSDESC_LDR: howto manager. (line 3047)
  10766. * BFD_RELOC_AARCH64_TLSDESC_LD_LO12_NC: howto manager. (line 3104)
  10767. * BFD_RELOC_AARCH64_TLSDESC_LD_PREL19: howto manager. (line 3031)
  10768. * BFD_RELOC_AARCH64_TLSDESC_OFF_G0_NC: howto manager. (line 3045)
  10769. * BFD_RELOC_AARCH64_TLSDESC_OFF_G1: howto manager. (line 3043)
  10770. * BFD_RELOC_AARCH64_TLSGD_ADD_LO12_NC: howto manager. (line 2920)
  10771. * BFD_RELOC_AARCH64_TLSGD_ADR_PAGE21: howto manager. (line 2913)
  10772. * BFD_RELOC_AARCH64_TLSGD_ADR_PREL21: howto manager. (line 2918)
  10773. * BFD_RELOC_AARCH64_TLSGD_MOVW_G0_NC: howto manager. (line 2924)
  10774. * BFD_RELOC_AARCH64_TLSGD_MOVW_G1: howto manager. (line 2926)
  10775. * BFD_RELOC_AARCH64_TLSIE_ADR_GOTTPREL_PAGE21: howto manager.
  10776. (line 2928)
  10777. * BFD_RELOC_AARCH64_TLSIE_LD32_GOTTPREL_LO12_NC: howto manager.
  10778. (line 2932)
  10779. * BFD_RELOC_AARCH64_TLSIE_LD64_GOTTPREL_LO12_NC: howto manager.
  10780. (line 2930)
  10781. * BFD_RELOC_AARCH64_TLSIE_LD_GOTTPREL_LO12_NC: howto manager.
  10782. (line 3101)
  10783. * BFD_RELOC_AARCH64_TLSIE_LD_GOTTPREL_PREL19: howto manager. (line 2934)
  10784. * BFD_RELOC_AARCH64_TLSIE_MOVW_GOTTPREL_G0_NC: howto manager.
  10785. (line 2936)
  10786. * BFD_RELOC_AARCH64_TLSIE_MOVW_GOTTPREL_G1: howto manager. (line 2938)
  10787. * BFD_RELOC_AARCH64_TLSLD_ADD_DTPREL_HI12: howto manager. (line 2940)
  10788. * BFD_RELOC_AARCH64_TLSLD_ADD_DTPREL_LO12: howto manager. (line 2942)
  10789. * BFD_RELOC_AARCH64_TLSLD_ADD_DTPREL_LO12_NC: howto manager. (line 2944)
  10790. * BFD_RELOC_AARCH64_TLSLD_ADD_LO12_NC: howto manager. (line 2947)
  10791. * BFD_RELOC_AARCH64_TLSLD_ADR_PAGE21: howto manager. (line 2951)
  10792. * BFD_RELOC_AARCH64_TLSLD_ADR_PREL21: howto manager. (line 2954)
  10793. * BFD_RELOC_AARCH64_TLSLD_LDST16_DTPREL_LO12: howto manager. (line 2957)
  10794. * BFD_RELOC_AARCH64_TLSLD_LDST16_DTPREL_LO12_NC: howto manager.
  10795. (line 2960)
  10796. * BFD_RELOC_AARCH64_TLSLD_LDST32_DTPREL_LO12: howto manager. (line 2963)
  10797. * BFD_RELOC_AARCH64_TLSLD_LDST32_DTPREL_LO12_NC: howto manager.
  10798. (line 2966)
  10799. * BFD_RELOC_AARCH64_TLSLD_LDST64_DTPREL_LO12: howto manager. (line 2969)
  10800. * BFD_RELOC_AARCH64_TLSLD_LDST64_DTPREL_LO12_NC: howto manager.
  10801. (line 2972)
  10802. * BFD_RELOC_AARCH64_TLSLD_LDST8_DTPREL_LO12: howto manager. (line 2975)
  10803. * BFD_RELOC_AARCH64_TLSLD_LDST8_DTPREL_LO12_NC: howto manager.
  10804. (line 2978)
  10805. * BFD_RELOC_AARCH64_TLSLD_LDST_DTPREL_LO12: howto manager. (line 3084)
  10806. * BFD_RELOC_AARCH64_TLSLD_LDST_DTPREL_LO12_NC: howto manager.
  10807. (line 3088)
  10808. * BFD_RELOC_AARCH64_TLSLD_MOVW_DTPREL_G0: howto manager. (line 2981)
  10809. * BFD_RELOC_AARCH64_TLSLD_MOVW_DTPREL_G0_NC: howto manager. (line 2983)
  10810. * BFD_RELOC_AARCH64_TLSLD_MOVW_DTPREL_G1: howto manager. (line 2985)
  10811. * BFD_RELOC_AARCH64_TLSLD_MOVW_DTPREL_G1_NC: howto manager. (line 2987)
  10812. * BFD_RELOC_AARCH64_TLSLD_MOVW_DTPREL_G2: howto manager. (line 2989)
  10813. * BFD_RELOC_AARCH64_TLSLE_ADD_TPREL_HI12: howto manager. (line 3001)
  10814. * BFD_RELOC_AARCH64_TLSLE_ADD_TPREL_LO12: howto manager. (line 3003)
  10815. * BFD_RELOC_AARCH64_TLSLE_ADD_TPREL_LO12_NC: howto manager. (line 3005)
  10816. * BFD_RELOC_AARCH64_TLSLE_LDST16_TPREL_LO12: howto manager. (line 3007)
  10817. * BFD_RELOC_AARCH64_TLSLE_LDST16_TPREL_LO12_NC: howto manager.
  10818. (line 3010)
  10819. * BFD_RELOC_AARCH64_TLSLE_LDST32_TPREL_LO12: howto manager. (line 3013)
  10820. * BFD_RELOC_AARCH64_TLSLE_LDST32_TPREL_LO12_NC: howto manager.
  10821. (line 3016)
  10822. * BFD_RELOC_AARCH64_TLSLE_LDST64_TPREL_LO12: howto manager. (line 3019)
  10823. * BFD_RELOC_AARCH64_TLSLE_LDST64_TPREL_LO12_NC: howto manager.
  10824. (line 3022)
  10825. * BFD_RELOC_AARCH64_TLSLE_LDST8_TPREL_LO12: howto manager. (line 3025)
  10826. * BFD_RELOC_AARCH64_TLSLE_LDST8_TPREL_LO12_NC: howto manager.
  10827. (line 3028)
  10828. * BFD_RELOC_AARCH64_TLSLE_LDST_TPREL_LO12: howto manager. (line 3091)
  10829. * BFD_RELOC_AARCH64_TLSLE_LDST_TPREL_LO12_NC: howto manager. (line 3095)
  10830. * BFD_RELOC_AARCH64_TLSLE_MOVW_TPREL_G0: howto manager. (line 2997)
  10831. * BFD_RELOC_AARCH64_TLSLE_MOVW_TPREL_G0_NC: howto manager. (line 2999)
  10832. * BFD_RELOC_AARCH64_TLSLE_MOVW_TPREL_G1: howto manager. (line 2993)
  10833. * BFD_RELOC_AARCH64_TLSLE_MOVW_TPREL_G1_NC: howto manager. (line 2995)
  10834. * BFD_RELOC_AARCH64_TLSLE_MOVW_TPREL_G2: howto manager. (line 2991)
  10835. * BFD_RELOC_AARCH64_TLS_DTPMOD: howto manager. (line 3061)
  10836. * BFD_RELOC_AARCH64_TLS_DTPREL: howto manager. (line 3063)
  10837. * BFD_RELOC_AARCH64_TLS_TPREL: howto manager. (line 3065)
  10838. * BFD_RELOC_AARCH64_TSTBR14: howto manager. (line 2848)
  10839. * BFD_RELOC_AC_SECTOFF_S9: howto manager. (line 1062)
  10840. * BFD_RELOC_AC_SECTOFF_S9_1: howto manager. (line 1063)
  10841. * BFD_RELOC_AC_SECTOFF_S9_2: howto manager. (line 1064)
  10842. * BFD_RELOC_AC_SECTOFF_U8: howto manager. (line 1059)
  10843. * BFD_RELOC_AC_SECTOFF_U8_1: howto manager. (line 1060)
  10844. * BFD_RELOC_AC_SECTOFF_U8_2: howto manager. (line 1061)
  10845. * BFD_RELOC_ALPHA_BOH: howto manager. (line 288)
  10846. * BFD_RELOC_ALPHA_BRSGP: howto manager. (line 275)
  10847. * BFD_RELOC_ALPHA_BSR: howto manager. (line 282)
  10848. * BFD_RELOC_ALPHA_CODEADDR: howto manager. (line 268)
  10849. * BFD_RELOC_ALPHA_DTPMOD64: howto manager. (line 293)
  10850. * BFD_RELOC_ALPHA_DTPREL16: howto manager. (line 298)
  10851. * BFD_RELOC_ALPHA_DTPREL64: howto manager. (line 295)
  10852. * BFD_RELOC_ALPHA_DTPREL_HI16: howto manager. (line 296)
  10853. * BFD_RELOC_ALPHA_DTPREL_LO16: howto manager. (line 297)
  10854. * BFD_RELOC_ALPHA_ELF_LITERAL: howto manager. (line 236)
  10855. * BFD_RELOC_ALPHA_GOTDTPREL16: howto manager. (line 294)
  10856. * BFD_RELOC_ALPHA_GOTTPREL16: howto manager. (line 299)
  10857. * BFD_RELOC_ALPHA_GPDISP: howto manager. (line 231)
  10858. * BFD_RELOC_ALPHA_GPDISP_HI16: howto manager. (line 219)
  10859. * BFD_RELOC_ALPHA_GPDISP_LO16: howto manager. (line 226)
  10860. * BFD_RELOC_ALPHA_GPREL_HI16: howto manager. (line 271)
  10861. * BFD_RELOC_ALPHA_GPREL_LO16: howto manager. (line 272)
  10862. * BFD_RELOC_ALPHA_HINT: howto manager. (line 261)
  10863. * BFD_RELOC_ALPHA_LDA: howto manager. (line 285)
  10864. * BFD_RELOC_ALPHA_LINKAGE: howto manager. (line 265)
  10865. * BFD_RELOC_ALPHA_LITERAL: howto manager. (line 235)
  10866. * BFD_RELOC_ALPHA_LITUSE: howto manager. (line 237)
  10867. * BFD_RELOC_ALPHA_NOP: howto manager. (line 279)
  10868. * BFD_RELOC_ALPHA_TLSGD: howto manager. (line 291)
  10869. * BFD_RELOC_ALPHA_TLSLDM: howto manager. (line 292)
  10870. * BFD_RELOC_ALPHA_TPREL16: howto manager. (line 303)
  10871. * BFD_RELOC_ALPHA_TPREL64: howto manager. (line 300)
  10872. * BFD_RELOC_ALPHA_TPREL_HI16: howto manager. (line 301)
  10873. * BFD_RELOC_ALPHA_TPREL_LO16: howto manager. (line 302)
  10874. * BFD_RELOC_ARC_16: howto manager. (line 1031)
  10875. * BFD_RELOC_ARC_24: howto manager. (line 1032)
  10876. * BFD_RELOC_ARC_32: howto manager. (line 1033)
  10877. * BFD_RELOC_ARC_32_ME: howto manager. (line 1053)
  10878. * BFD_RELOC_ARC_32_ME_S: howto manager. (line 1054)
  10879. * BFD_RELOC_ARC_32_PCREL: howto manager. (line 1071)
  10880. * BFD_RELOC_ARC_8: howto manager. (line 1030)
  10881. * BFD_RELOC_ARC_COPY: howto manager. (line 1076)
  10882. * BFD_RELOC_ARC_GLOB_DAT: howto manager. (line 1077)
  10883. * BFD_RELOC_ARC_GOT32: howto manager. (line 1073)
  10884. * BFD_RELOC_ARC_GOTOFF: howto manager. (line 1080)
  10885. * BFD_RELOC_ARC_GOTPC: howto manager. (line 1081)
  10886. * BFD_RELOC_ARC_GOTPC32: howto manager. (line 1074)
  10887. * BFD_RELOC_ARC_JLI_SECTOFF: howto manager. (line 1097)
  10888. * BFD_RELOC_ARC_JMP_SLOT: howto manager. (line 1078)
  10889. * BFD_RELOC_ARC_N16: howto manager. (line 1035)
  10890. * BFD_RELOC_ARC_N24: howto manager. (line 1036)
  10891. * BFD_RELOC_ARC_N32: howto manager. (line 1037)
  10892. * BFD_RELOC_ARC_N32_ME: howto manager. (line 1055)
  10893. * BFD_RELOC_ARC_N8: howto manager. (line 1034)
  10894. * BFD_RELOC_ARC_NONE: howto manager. (line 1029)
  10895. * BFD_RELOC_ARC_NPS_CMEM16: howto manager. (line 1096)
  10896. * BFD_RELOC_ARC_PC32: howto manager. (line 1072)
  10897. * BFD_RELOC_ARC_PLT32: howto manager. (line 1075)
  10898. * BFD_RELOC_ARC_RELATIVE: howto manager. (line 1079)
  10899. * BFD_RELOC_ARC_S13_PCREL: howto manager. (line 1051)
  10900. * BFD_RELOC_ARC_S21H_PCREL: howto manager. (line 1040)
  10901. * BFD_RELOC_ARC_S21H_PCREL_PLT: howto manager. (line 1095)
  10902. * BFD_RELOC_ARC_S21W_PCREL: howto manager. (line 1041)
  10903. * BFD_RELOC_ARC_S21W_PCREL_PLT: howto manager. (line 1082)
  10904. * BFD_RELOC_ARC_S25H_PCREL: howto manager. (line 1042)
  10905. * BFD_RELOC_ARC_S25H_PCREL_PLT: howto manager. (line 1083)
  10906. * BFD_RELOC_ARC_S25W_PCREL: howto manager. (line 1043)
  10907. * BFD_RELOC_ARC_S25W_PCREL_PLT: howto manager. (line 1094)
  10908. * BFD_RELOC_ARC_SDA: howto manager. (line 1038)
  10909. * BFD_RELOC_ARC_SDA16_LD: howto manager. (line 1048)
  10910. * BFD_RELOC_ARC_SDA16_LD1: howto manager. (line 1049)
  10911. * BFD_RELOC_ARC_SDA16_LD2: howto manager. (line 1050)
  10912. * BFD_RELOC_ARC_SDA16_ST2: howto manager. (line 1070)
  10913. * BFD_RELOC_ARC_SDA32: howto manager. (line 1044)
  10914. * BFD_RELOC_ARC_SDA32_ME: howto manager. (line 1057)
  10915. * BFD_RELOC_ARC_SDA_12: howto manager. (line 1069)
  10916. * BFD_RELOC_ARC_SDA_LDST: howto manager. (line 1045)
  10917. * BFD_RELOC_ARC_SDA_LDST1: howto manager. (line 1046)
  10918. * BFD_RELOC_ARC_SDA_LDST2: howto manager. (line 1047)
  10919. * BFD_RELOC_ARC_SECTOFF: howto manager. (line 1039)
  10920. * BFD_RELOC_ARC_SECTOFF_1: howto manager. (line 1067)
  10921. * BFD_RELOC_ARC_SECTOFF_2: howto manager. (line 1068)
  10922. * BFD_RELOC_ARC_SECTOFF_ME: howto manager. (line 1056)
  10923. * BFD_RELOC_ARC_SECTOFF_ME_1: howto manager. (line 1065)
  10924. * BFD_RELOC_ARC_SECTOFF_ME_2: howto manager. (line 1066)
  10925. * BFD_RELOC_ARC_TLS_DTPMOD: howto manager. (line 1084)
  10926. * BFD_RELOC_ARC_TLS_DTPOFF: howto manager. (line 1090)
  10927. * BFD_RELOC_ARC_TLS_DTPOFF_S9: howto manager. (line 1091)
  10928. * BFD_RELOC_ARC_TLS_GD_CALL: howto manager. (line 1088)
  10929. * BFD_RELOC_ARC_TLS_GD_GOT: howto manager. (line 1086)
  10930. * BFD_RELOC_ARC_TLS_GD_LD: howto manager. (line 1087)
  10931. * BFD_RELOC_ARC_TLS_IE_GOT: howto manager. (line 1089)
  10932. * BFD_RELOC_ARC_TLS_LE_32: howto manager. (line 1093)
  10933. * BFD_RELOC_ARC_TLS_LE_S9: howto manager. (line 1092)
  10934. * BFD_RELOC_ARC_TLS_TPOFF: howto manager. (line 1085)
  10935. * BFD_RELOC_ARC_W: howto manager. (line 1052)
  10936. * BFD_RELOC_ARC_W_ME: howto manager. (line 1058)
  10937. * BFD_RELOC_ARM_ADRL_IMMEDIATE: howto manager. (line 902)
  10938. * BFD_RELOC_ARM_ADR_IMM: howto manager. (line 917)
  10939. * BFD_RELOC_ARM_ALU_PC_G0: howto manager. (line 864)
  10940. * BFD_RELOC_ARM_ALU_PC_G0_NC: howto manager. (line 863)
  10941. * BFD_RELOC_ARM_ALU_PC_G1: howto manager. (line 866)
  10942. * BFD_RELOC_ARM_ALU_PC_G1_NC: howto manager. (line 865)
  10943. * BFD_RELOC_ARM_ALU_PC_G2: howto manager. (line 867)
  10944. * BFD_RELOC_ARM_ALU_SB_G0: howto manager. (line 878)
  10945. * BFD_RELOC_ARM_ALU_SB_G0_NC: howto manager. (line 877)
  10946. * BFD_RELOC_ARM_ALU_SB_G1: howto manager. (line 880)
  10947. * BFD_RELOC_ARM_ALU_SB_G1_NC: howto manager. (line 879)
  10948. * BFD_RELOC_ARM_ALU_SB_G2: howto manager. (line 881)
  10949. * BFD_RELOC_ARM_CP_OFF_IMM: howto manager. (line 912)
  10950. * BFD_RELOC_ARM_CP_OFF_IMM_S2: howto manager. (line 913)
  10951. * BFD_RELOC_ARM_FUNCDESC: howto manager. (line 833)
  10952. * BFD_RELOC_ARM_FUNCDESC_VALUE: howto manager. (line 834)
  10953. * BFD_RELOC_ARM_GLOB_DAT: howto manager. (line 840)
  10954. * BFD_RELOC_ARM_GOT32: howto manager. (line 841)
  10955. * BFD_RELOC_ARM_GOTFUNCDESC: howto manager. (line 831)
  10956. * BFD_RELOC_ARM_GOTOFF: howto manager. (line 844)
  10957. * BFD_RELOC_ARM_GOTOFFFUNCDESC: howto manager. (line 832)
  10958. * BFD_RELOC_ARM_GOTPC: howto manager. (line 845)
  10959. * BFD_RELOC_ARM_GOT_PREL: howto manager. (line 846)
  10960. * BFD_RELOC_ARM_HVC: howto manager. (line 909)
  10961. * BFD_RELOC_ARM_HWLITERAL: howto manager. (line 924)
  10962. * BFD_RELOC_ARM_IMMEDIATE: howto manager. (line 901)
  10963. * BFD_RELOC_ARM_IN_POOL: howto manager. (line 920)
  10964. * BFD_RELOC_ARM_IRELATIVE: howto manager. (line 894)
  10965. * BFD_RELOC_ARM_JUMP_SLOT: howto manager. (line 839)
  10966. * BFD_RELOC_ARM_LDC_PC_G0: howto manager. (line 874)
  10967. * BFD_RELOC_ARM_LDC_PC_G1: howto manager. (line 875)
  10968. * BFD_RELOC_ARM_LDC_PC_G2: howto manager. (line 876)
  10969. * BFD_RELOC_ARM_LDC_SB_G0: howto manager. (line 888)
  10970. * BFD_RELOC_ARM_LDC_SB_G1: howto manager. (line 889)
  10971. * BFD_RELOC_ARM_LDC_SB_G2: howto manager. (line 890)
  10972. * BFD_RELOC_ARM_LDRS_PC_G0: howto manager. (line 871)
  10973. * BFD_RELOC_ARM_LDRS_PC_G1: howto manager. (line 872)
  10974. * BFD_RELOC_ARM_LDRS_PC_G2: howto manager. (line 873)
  10975. * BFD_RELOC_ARM_LDRS_SB_G0: howto manager. (line 885)
  10976. * BFD_RELOC_ARM_LDRS_SB_G1: howto manager. (line 886)
  10977. * BFD_RELOC_ARM_LDRS_SB_G2: howto manager. (line 887)
  10978. * BFD_RELOC_ARM_LDR_IMM: howto manager. (line 918)
  10979. * BFD_RELOC_ARM_LDR_PC_G0: howto manager. (line 868)
  10980. * BFD_RELOC_ARM_LDR_PC_G1: howto manager. (line 869)
  10981. * BFD_RELOC_ARM_LDR_PC_G2: howto manager. (line 870)
  10982. * BFD_RELOC_ARM_LDR_SB_G0: howto manager. (line 882)
  10983. * BFD_RELOC_ARM_LDR_SB_G1: howto manager. (line 883)
  10984. * BFD_RELOC_ARM_LDR_SB_G2: howto manager. (line 884)
  10985. * BFD_RELOC_ARM_LITERAL: howto manager. (line 919)
  10986. * BFD_RELOC_ARM_MOVT: howto manager. (line 823)
  10987. * BFD_RELOC_ARM_MOVT_PCREL: howto manager. (line 825)
  10988. * BFD_RELOC_ARM_MOVW: howto manager. (line 822)
  10989. * BFD_RELOC_ARM_MOVW_PCREL: howto manager. (line 824)
  10990. * BFD_RELOC_ARM_MULTI: howto manager. (line 911)
  10991. * BFD_RELOC_ARM_OFFSET_IMM: howto manager. (line 803)
  10992. * BFD_RELOC_ARM_OFFSET_IMM8: howto manager. (line 921)
  10993. * BFD_RELOC_ARM_PCREL_BLX: howto manager. (line 767)
  10994. * BFD_RELOC_ARM_PCREL_BRANCH: howto manager. (line 764)
  10995. * BFD_RELOC_ARM_PCREL_CALL: howto manager. (line 775)
  10996. * BFD_RELOC_ARM_PCREL_JUMP: howto manager. (line 778)
  10997. * BFD_RELOC_ARM_PLT32: howto manager. (line 842)
  10998. * BFD_RELOC_ARM_PREL31: howto manager. (line 820)
  10999. * BFD_RELOC_ARM_RELATIVE: howto manager. (line 843)
  11000. * BFD_RELOC_ARM_ROSEGREL32: howto manager. (line 812)
  11001. * BFD_RELOC_ARM_SBREL32: howto manager. (line 814)
  11002. * BFD_RELOC_ARM_SHIFT_IMM: howto manager. (line 907)
  11003. * BFD_RELOC_ARM_SMC: howto manager. (line 908)
  11004. * BFD_RELOC_ARM_SWI: howto manager. (line 910)
  11005. * BFD_RELOC_ARM_T32_ADD_IMM: howto manager. (line 904)
  11006. * BFD_RELOC_ARM_T32_ADD_PC12: howto manager. (line 906)
  11007. * BFD_RELOC_ARM_T32_CP_OFF_IMM: howto manager. (line 914)
  11008. * BFD_RELOC_ARM_T32_CP_OFF_IMM_S2: howto manager. (line 915)
  11009. * BFD_RELOC_ARM_T32_IMM12: howto manager. (line 905)
  11010. * BFD_RELOC_ARM_T32_IMMEDIATE: howto manager. (line 903)
  11011. * BFD_RELOC_ARM_T32_OFFSET_IMM: howto manager. (line 923)
  11012. * BFD_RELOC_ARM_T32_OFFSET_U8: howto manager. (line 922)
  11013. * BFD_RELOC_ARM_T32_VLDR_VSTR_OFF_IMM: howto manager. (line 916)
  11014. * BFD_RELOC_ARM_TARGET1: howto manager. (line 809)
  11015. * BFD_RELOC_ARM_TARGET2: howto manager. (line 816)
  11016. * BFD_RELOC_ARM_THM_TLS_CALL: howto manager. (line 858)
  11017. * BFD_RELOC_ARM_THM_TLS_DESCSEQ: howto manager. (line 860)
  11018. * BFD_RELOC_ARM_THUMB_ADD: howto manager. (line 925)
  11019. * BFD_RELOC_ARM_THUMB_ALU_ABS_G0_NC: howto manager. (line 896)
  11020. * BFD_RELOC_ARM_THUMB_ALU_ABS_G1_NC: howto manager. (line 897)
  11021. * BFD_RELOC_ARM_THUMB_ALU_ABS_G2_NC: howto manager. (line 898)
  11022. * BFD_RELOC_ARM_THUMB_ALU_ABS_G3_NC: howto manager. (line 899)
  11023. * BFD_RELOC_ARM_THUMB_BF13: howto manager. (line 786)
  11024. * BFD_RELOC_ARM_THUMB_BF17: howto manager. (line 784)
  11025. * BFD_RELOC_ARM_THUMB_BF19: howto manager. (line 788)
  11026. * BFD_RELOC_ARM_THUMB_IMM: howto manager. (line 926)
  11027. * BFD_RELOC_ARM_THUMB_LOOP12: howto manager. (line 790)
  11028. * BFD_RELOC_ARM_THUMB_MOVT: howto manager. (line 827)
  11029. * BFD_RELOC_ARM_THUMB_MOVT_PCREL: howto manager. (line 829)
  11030. * BFD_RELOC_ARM_THUMB_MOVW: howto manager. (line 826)
  11031. * BFD_RELOC_ARM_THUMB_MOVW_PCREL: howto manager. (line 828)
  11032. * BFD_RELOC_ARM_THUMB_OFFSET: howto manager. (line 806)
  11033. * BFD_RELOC_ARM_THUMB_SHIFT: howto manager. (line 927)
  11034. * BFD_RELOC_ARM_TLS_CALL: howto manager. (line 857)
  11035. * BFD_RELOC_ARM_TLS_DESC: howto manager. (line 861)
  11036. * BFD_RELOC_ARM_TLS_DESCSEQ: howto manager. (line 859)
  11037. * BFD_RELOC_ARM_TLS_DTPMOD32: howto manager. (line 852)
  11038. * BFD_RELOC_ARM_TLS_DTPOFF32: howto manager. (line 851)
  11039. * BFD_RELOC_ARM_TLS_GD32: howto manager. (line 848)
  11040. * BFD_RELOC_ARM_TLS_GD32_FDPIC: howto manager. (line 835)
  11041. * BFD_RELOC_ARM_TLS_GOTDESC: howto manager. (line 856)
  11042. * BFD_RELOC_ARM_TLS_IE32: howto manager. (line 854)
  11043. * BFD_RELOC_ARM_TLS_IE32_FDPIC: howto manager. (line 837)
  11044. * BFD_RELOC_ARM_TLS_LDM32: howto manager. (line 850)
  11045. * BFD_RELOC_ARM_TLS_LDM32_FDPIC: howto manager. (line 836)
  11046. * BFD_RELOC_ARM_TLS_LDO32: howto manager. (line 849)
  11047. * BFD_RELOC_ARM_TLS_LE32: howto manager. (line 855)
  11048. * BFD_RELOC_ARM_TLS_TPOFF32: howto manager. (line 853)
  11049. * BFD_RELOC_ARM_V4BX: howto manager. (line 892)
  11050. * BFD_RELOC_AVR_13_PCREL: howto manager. (line 1734)
  11051. * BFD_RELOC_AVR_16_PM: howto manager. (line 1737)
  11052. * BFD_RELOC_AVR_6: howto manager. (line 1805)
  11053. * BFD_RELOC_AVR_6_ADIW: howto manager. (line 1808)
  11054. * BFD_RELOC_AVR_7_PCREL: howto manager. (line 1731)
  11055. * BFD_RELOC_AVR_8_HI: howto manager. (line 1814)
  11056. * BFD_RELOC_AVR_8_HLO: howto manager. (line 1817)
  11057. * BFD_RELOC_AVR_8_LO: howto manager. (line 1811)
  11058. * BFD_RELOC_AVR_CALL: howto manager. (line 1799)
  11059. * BFD_RELOC_AVR_DIFF16: howto manager. (line 1821)
  11060. * BFD_RELOC_AVR_DIFF32: howto manager. (line 1822)
  11061. * BFD_RELOC_AVR_DIFF8: howto manager. (line 1820)
  11062. * BFD_RELOC_AVR_HH8_LDI: howto manager. (line 1746)
  11063. * BFD_RELOC_AVR_HH8_LDI_NEG: howto manager. (line 1761)
  11064. * BFD_RELOC_AVR_HH8_LDI_PM: howto manager. (line 1784)
  11065. * BFD_RELOC_AVR_HH8_LDI_PM_NEG: howto manager. (line 1795)
  11066. * BFD_RELOC_AVR_HI8_LDI: howto manager. (line 1743)
  11067. * BFD_RELOC_AVR_HI8_LDI_GS: howto manager. (line 1779)
  11068. * BFD_RELOC_AVR_HI8_LDI_NEG: howto manager. (line 1757)
  11069. * BFD_RELOC_AVR_HI8_LDI_PM: howto manager. (line 1776)
  11070. * BFD_RELOC_AVR_HI8_LDI_PM_NEG: howto manager. (line 1791)
  11071. * BFD_RELOC_AVR_LDI: howto manager. (line 1802)
  11072. * BFD_RELOC_AVR_LDS_STS_16: howto manager. (line 1829)
  11073. * BFD_RELOC_AVR_LO8_LDI: howto manager. (line 1740)
  11074. * BFD_RELOC_AVR_LO8_LDI_GS: howto manager. (line 1771)
  11075. * BFD_RELOC_AVR_LO8_LDI_NEG: howto manager. (line 1753)
  11076. * BFD_RELOC_AVR_LO8_LDI_PM: howto manager. (line 1768)
  11077. * BFD_RELOC_AVR_LO8_LDI_PM_NEG: howto manager. (line 1788)
  11078. * BFD_RELOC_AVR_MS8_LDI: howto manager. (line 1750)
  11079. * BFD_RELOC_AVR_MS8_LDI_NEG: howto manager. (line 1765)
  11080. * BFD_RELOC_AVR_PORT5: howto manager. (line 1835)
  11081. * BFD_RELOC_AVR_PORT6: howto manager. (line 1832)
  11082. * BFD_RELOC_BFIN_10_PCREL: howto manager. (line 1109)
  11083. * BFD_RELOC_BFIN_11_PCREL: howto manager. (line 1111)
  11084. * BFD_RELOC_BFIN_12_PCREL_JUMP: howto manager. (line 1113)
  11085. * BFD_RELOC_BFIN_12_PCREL_JUMP_S: howto manager. (line 1115)
  11086. * BFD_RELOC_BFIN_16_HIGH: howto manager. (line 1101)
  11087. * BFD_RELOC_BFIN_16_IMM: howto manager. (line 1099)
  11088. * BFD_RELOC_BFIN_16_LOW: howto manager. (line 1107)
  11089. * BFD_RELOC_BFIN_24_PCREL_CALL_X: howto manager. (line 1117)
  11090. * BFD_RELOC_BFIN_24_PCREL_JUMP_L: howto manager. (line 1119)
  11091. * BFD_RELOC_BFIN_4_PCREL: howto manager. (line 1103)
  11092. * BFD_RELOC_BFIN_5_PCREL: howto manager. (line 1105)
  11093. * BFD_RELOC_BFIN_FUNCDESC: howto manager. (line 1124)
  11094. * BFD_RELOC_BFIN_FUNCDESC_GOT17M4: howto manager. (line 1125)
  11095. * BFD_RELOC_BFIN_FUNCDESC_GOTHI: howto manager. (line 1126)
  11096. * BFD_RELOC_BFIN_FUNCDESC_GOTLO: howto manager. (line 1127)
  11097. * BFD_RELOC_BFIN_FUNCDESC_GOTOFF17M4: howto manager. (line 1129)
  11098. * BFD_RELOC_BFIN_FUNCDESC_GOTOFFHI: howto manager. (line 1130)
  11099. * BFD_RELOC_BFIN_FUNCDESC_GOTOFFLO: howto manager. (line 1131)
  11100. * BFD_RELOC_BFIN_FUNCDESC_VALUE: howto manager. (line 1128)
  11101. * BFD_RELOC_BFIN_GOT: howto manager. (line 1136)
  11102. * BFD_RELOC_BFIN_GOT17M4: howto manager. (line 1121)
  11103. * BFD_RELOC_BFIN_GOTHI: howto manager. (line 1122)
  11104. * BFD_RELOC_BFIN_GOTLO: howto manager. (line 1123)
  11105. * BFD_RELOC_BFIN_GOTOFF17M4: howto manager. (line 1132)
  11106. * BFD_RELOC_BFIN_GOTOFFHI: howto manager. (line 1133)
  11107. * BFD_RELOC_BFIN_GOTOFFLO: howto manager. (line 1134)
  11108. * BFD_RELOC_BFIN_PLTPC: howto manager. (line 1138)
  11109. * BFD_RELOC_BPF_16: howto manager. (line 3299)
  11110. * BFD_RELOC_BPF_32: howto manager. (line 3298)
  11111. * BFD_RELOC_BPF_64: howto manager. (line 3297)
  11112. * BFD_RELOC_BPF_DISP16: howto manager. (line 3300)
  11113. * BFD_RELOC_BPF_DISP32: howto manager. (line 3301)
  11114. * BFD_RELOC_C6000_ABS_H16: howto manager. (line 1576)
  11115. * BFD_RELOC_C6000_ABS_L16: howto manager. (line 1575)
  11116. * BFD_RELOC_C6000_ABS_S16: howto manager. (line 1574)
  11117. * BFD_RELOC_C6000_ALIGN: howto manager. (line 1597)
  11118. * BFD_RELOC_C6000_COPY: howto manager. (line 1592)
  11119. * BFD_RELOC_C6000_DSBT_INDEX: howto manager. (line 1590)
  11120. * BFD_RELOC_C6000_EHTYPE: howto manager. (line 1594)
  11121. * BFD_RELOC_C6000_FPHEAD: howto manager. (line 1598)
  11122. * BFD_RELOC_C6000_JUMP_SLOT: howto manager. (line 1593)
  11123. * BFD_RELOC_C6000_NOCMP: howto manager. (line 1599)
  11124. * BFD_RELOC_C6000_PCR_H16: howto manager. (line 1595)
  11125. * BFD_RELOC_C6000_PCR_L16: howto manager. (line 1596)
  11126. * BFD_RELOC_C6000_PCR_S10: howto manager. (line 1572)
  11127. * BFD_RELOC_C6000_PCR_S12: howto manager. (line 1571)
  11128. * BFD_RELOC_C6000_PCR_S21: howto manager. (line 1570)
  11129. * BFD_RELOC_C6000_PCR_S7: howto manager. (line 1573)
  11130. * BFD_RELOC_C6000_PREL31: howto manager. (line 1591)
  11131. * BFD_RELOC_C6000_SBR_GOT_H16_W: howto manager. (line 1589)
  11132. * BFD_RELOC_C6000_SBR_GOT_L16_W: howto manager. (line 1588)
  11133. * BFD_RELOC_C6000_SBR_GOT_U15_W: howto manager. (line 1587)
  11134. * BFD_RELOC_C6000_SBR_H16_B: howto manager. (line 1584)
  11135. * BFD_RELOC_C6000_SBR_H16_H: howto manager. (line 1585)
  11136. * BFD_RELOC_C6000_SBR_H16_W: howto manager. (line 1586)
  11137. * BFD_RELOC_C6000_SBR_L16_B: howto manager. (line 1581)
  11138. * BFD_RELOC_C6000_SBR_L16_H: howto manager. (line 1582)
  11139. * BFD_RELOC_C6000_SBR_L16_W: howto manager. (line 1583)
  11140. * BFD_RELOC_C6000_SBR_S16: howto manager. (line 1580)
  11141. * BFD_RELOC_C6000_SBR_U15_B: howto manager. (line 1577)
  11142. * BFD_RELOC_C6000_SBR_U15_H: howto manager. (line 1578)
  11143. * BFD_RELOC_C6000_SBR_U15_W: howto manager. (line 1579)
  11144. * BFD_RELOC_CKCORE_ADDR32: howto manager. (line 3338)
  11145. * BFD_RELOC_CKCORE_ADDRGOT: howto manager. (line 3354)
  11146. * BFD_RELOC_CKCORE_ADDRGOT_HI16: howto manager. (line 3373)
  11147. * BFD_RELOC_CKCORE_ADDRGOT_LO16: howto manager. (line 3374)
  11148. * BFD_RELOC_CKCORE_ADDRPLT: howto manager. (line 3355)
  11149. * BFD_RELOC_CKCORE_ADDRPLT_HI16: howto manager. (line 3375)
  11150. * BFD_RELOC_CKCORE_ADDRPLT_LO16: howto manager. (line 3376)
  11151. * BFD_RELOC_CKCORE_ADDR_HI16: howto manager. (line 3361)
  11152. * BFD_RELOC_CKCORE_ADDR_LO16: howto manager. (line 3362)
  11153. * BFD_RELOC_CKCORE_CALLGRAPH: howto manager. (line 3398)
  11154. * BFD_RELOC_CKCORE_COPY: howto manager. (line 3347)
  11155. * BFD_RELOC_CKCORE_DOFFSET_IMM18: howto manager. (line 3381)
  11156. * BFD_RELOC_CKCORE_DOFFSET_IMM18BY2: howto manager. (line 3382)
  11157. * BFD_RELOC_CKCORE_DOFFSET_IMM18BY4: howto manager. (line 3383)
  11158. * BFD_RELOC_CKCORE_DOFFSET_LO16: howto manager. (line 3379)
  11159. * BFD_RELOC_CKCORE_GLOB_DAT: howto manager. (line 3348)
  11160. * BFD_RELOC_CKCORE_GNU_VTENTRY: howto manager. (line 3345)
  11161. * BFD_RELOC_CKCORE_GNU_VTINHERIT: howto manager. (line 3344)
  11162. * BFD_RELOC_CKCORE_GOT12: howto manager. (line 3367)
  11163. * BFD_RELOC_CKCORE_GOT32: howto manager. (line 3352)
  11164. * BFD_RELOC_CKCORE_GOTOFF: howto manager. (line 3350)
  11165. * BFD_RELOC_CKCORE_GOTOFF_HI16: howto manager. (line 3365)
  11166. * BFD_RELOC_CKCORE_GOTOFF_IMM18: howto manager. (line 3384)
  11167. * BFD_RELOC_CKCORE_GOTOFF_LO16: howto manager. (line 3366)
  11168. * BFD_RELOC_CKCORE_GOTPC: howto manager. (line 3351)
  11169. * BFD_RELOC_CKCORE_GOTPC_HI16: howto manager. (line 3363)
  11170. * BFD_RELOC_CKCORE_GOTPC_LO16: howto manager. (line 3364)
  11171. * BFD_RELOC_CKCORE_GOT_HI16: howto manager. (line 3368)
  11172. * BFD_RELOC_CKCORE_GOT_IMM18BY4: howto manager. (line 3385)
  11173. * BFD_RELOC_CKCORE_GOT_LO16: howto manager. (line 3369)
  11174. * BFD_RELOC_CKCORE_IRELATIVE: howto manager. (line 3399)
  11175. * BFD_RELOC_CKCORE_JUMP_SLOT: howto manager. (line 3349)
  11176. * BFD_RELOC_CKCORE_NOJSRI: howto manager. (line 3397)
  11177. * BFD_RELOC_CKCORE_NONE: howto manager. (line 3337)
  11178. * BFD_RELOC_CKCORE_PCREL32: howto manager. (line 3342)
  11179. * BFD_RELOC_CKCORE_PCREL_BLOOP_IMM12BY4: howto manager. (line 3401)
  11180. * BFD_RELOC_CKCORE_PCREL_BLOOP_IMM4BY4: howto manager. (line 3400)
  11181. * BFD_RELOC_CKCORE_PCREL_FLRW_IMM8BY4: howto manager. (line 3396)
  11182. * BFD_RELOC_CKCORE_PCREL_IMM10BY2: howto manager. (line 3359)
  11183. * BFD_RELOC_CKCORE_PCREL_IMM10BY4: howto manager. (line 3360)
  11184. * BFD_RELOC_CKCORE_PCREL_IMM11BY2: howto manager. (line 3340)
  11185. * BFD_RELOC_CKCORE_PCREL_IMM16BY2: howto manager. (line 3357)
  11186. * BFD_RELOC_CKCORE_PCREL_IMM16BY4: howto manager. (line 3358)
  11187. * BFD_RELOC_CKCORE_PCREL_IMM18BY2: howto manager. (line 3380)
  11188. * BFD_RELOC_CKCORE_PCREL_IMM26BY2: howto manager. (line 3356)
  11189. * BFD_RELOC_CKCORE_PCREL_IMM4BY2: howto manager. (line 3341)
  11190. * BFD_RELOC_CKCORE_PCREL_IMM7BY4: howto manager. (line 3387)
  11191. * BFD_RELOC_CKCORE_PCREL_IMM8BY4: howto manager. (line 3339)
  11192. * BFD_RELOC_CKCORE_PCREL_JSR_IMM11BY2: howto manager. (line 3343)
  11193. * BFD_RELOC_CKCORE_PCREL_JSR_IMM26BY2: howto manager. (line 3377)
  11194. * BFD_RELOC_CKCORE_PLT12: howto manager. (line 3370)
  11195. * BFD_RELOC_CKCORE_PLT32: howto manager. (line 3353)
  11196. * BFD_RELOC_CKCORE_PLT_HI16: howto manager. (line 3371)
  11197. * BFD_RELOC_CKCORE_PLT_IMM18BY4: howto manager. (line 3386)
  11198. * BFD_RELOC_CKCORE_PLT_LO16: howto manager. (line 3372)
  11199. * BFD_RELOC_CKCORE_RELATIVE: howto manager. (line 3346)
  11200. * BFD_RELOC_CKCORE_TLS_DTPMOD32: howto manager. (line 3393)
  11201. * BFD_RELOC_CKCORE_TLS_DTPOFF32: howto manager. (line 3394)
  11202. * BFD_RELOC_CKCORE_TLS_GD32: howto manager. (line 3390)
  11203. * BFD_RELOC_CKCORE_TLS_IE32: howto manager. (line 3389)
  11204. * BFD_RELOC_CKCORE_TLS_LDM32: howto manager. (line 3391)
  11205. * BFD_RELOC_CKCORE_TLS_LDO32: howto manager. (line 3392)
  11206. * BFD_RELOC_CKCORE_TLS_LE32: howto manager. (line 3388)
  11207. * BFD_RELOC_CKCORE_TLS_TPOFF32: howto manager. (line 3395)
  11208. * BFD_RELOC_CKCORE_TOFFSET_LO16: howto manager. (line 3378)
  11209. * bfd_reloc_code_type: howto manager. (line 9)
  11210. * BFD_RELOC_CR16_ABS20: howto manager. (line 2276)
  11211. * BFD_RELOC_CR16_ABS24: howto manager. (line 2277)
  11212. * BFD_RELOC_CR16_DISP16: howto manager. (line 2287)
  11213. * BFD_RELOC_CR16_DISP20: howto manager. (line 2288)
  11214. * BFD_RELOC_CR16_DISP24: howto manager. (line 2289)
  11215. * BFD_RELOC_CR16_DISP24a: howto manager. (line 2290)
  11216. * BFD_RELOC_CR16_DISP4: howto manager. (line 2285)
  11217. * BFD_RELOC_CR16_DISP8: howto manager. (line 2286)
  11218. * BFD_RELOC_CR16_GLOB_DAT: howto manager. (line 2296)
  11219. * BFD_RELOC_CR16_GOTC_REGREL20: howto manager. (line 2295)
  11220. * BFD_RELOC_CR16_GOT_REGREL20: howto manager. (line 2294)
  11221. * BFD_RELOC_CR16_IMM16: howto manager. (line 2280)
  11222. * BFD_RELOC_CR16_IMM20: howto manager. (line 2281)
  11223. * BFD_RELOC_CR16_IMM24: howto manager. (line 2282)
  11224. * BFD_RELOC_CR16_IMM32: howto manager. (line 2283)
  11225. * BFD_RELOC_CR16_IMM32a: howto manager. (line 2284)
  11226. * BFD_RELOC_CR16_IMM4: howto manager. (line 2278)
  11227. * BFD_RELOC_CR16_IMM8: howto manager. (line 2279)
  11228. * BFD_RELOC_CR16_NUM16: howto manager. (line 2265)
  11229. * BFD_RELOC_CR16_NUM32: howto manager. (line 2266)
  11230. * BFD_RELOC_CR16_NUM32a: howto manager. (line 2267)
  11231. * BFD_RELOC_CR16_NUM8: howto manager. (line 2264)
  11232. * BFD_RELOC_CR16_REGREL0: howto manager. (line 2268)
  11233. * BFD_RELOC_CR16_REGREL14: howto manager. (line 2271)
  11234. * BFD_RELOC_CR16_REGREL14a: howto manager. (line 2272)
  11235. * BFD_RELOC_CR16_REGREL16: howto manager. (line 2273)
  11236. * BFD_RELOC_CR16_REGREL20: howto manager. (line 2274)
  11237. * BFD_RELOC_CR16_REGREL20a: howto manager. (line 2275)
  11238. * BFD_RELOC_CR16_REGREL4: howto manager. (line 2269)
  11239. * BFD_RELOC_CR16_REGREL4a: howto manager. (line 2270)
  11240. * BFD_RELOC_CR16_SWITCH16: howto manager. (line 2292)
  11241. * BFD_RELOC_CR16_SWITCH32: howto manager. (line 2293)
  11242. * BFD_RELOC_CR16_SWITCH8: howto manager. (line 2291)
  11243. * BFD_RELOC_CRIS_16_DTPREL: howto manager. (line 2356)
  11244. * BFD_RELOC_CRIS_16_GOT: howto manager. (line 2338)
  11245. * BFD_RELOC_CRIS_16_GOTPLT: howto manager. (line 2342)
  11246. * BFD_RELOC_CRIS_16_GOT_GD: howto manager. (line 2352)
  11247. * BFD_RELOC_CRIS_16_GOT_TPREL: howto manager. (line 2358)
  11248. * BFD_RELOC_CRIS_16_TPREL: howto manager. (line 2360)
  11249. * BFD_RELOC_CRIS_32_DTPREL: howto manager. (line 2355)
  11250. * BFD_RELOC_CRIS_32_GD: howto manager. (line 2353)
  11251. * BFD_RELOC_CRIS_32_GOT: howto manager. (line 2336)
  11252. * BFD_RELOC_CRIS_32_GOTPLT: howto manager. (line 2340)
  11253. * BFD_RELOC_CRIS_32_GOTREL: howto manager. (line 2344)
  11254. * BFD_RELOC_CRIS_32_GOT_GD: howto manager. (line 2351)
  11255. * BFD_RELOC_CRIS_32_GOT_TPREL: howto manager. (line 2357)
  11256. * BFD_RELOC_CRIS_32_IE: howto manager. (line 2362)
  11257. * BFD_RELOC_CRIS_32_PLT_GOTREL: howto manager. (line 2346)
  11258. * BFD_RELOC_CRIS_32_PLT_PCREL: howto manager. (line 2348)
  11259. * BFD_RELOC_CRIS_32_TPREL: howto manager. (line 2359)
  11260. * BFD_RELOC_CRIS_BDISP8: howto manager. (line 2319)
  11261. * BFD_RELOC_CRIS_COPY: howto manager. (line 2331)
  11262. * BFD_RELOC_CRIS_DTP: howto manager. (line 2354)
  11263. * BFD_RELOC_CRIS_DTPMOD: howto manager. (line 2361)
  11264. * BFD_RELOC_CRIS_GLOB_DAT: howto manager. (line 2332)
  11265. * BFD_RELOC_CRIS_JUMP_SLOT: howto manager. (line 2333)
  11266. * BFD_RELOC_CRIS_LAPCQ_OFFSET: howto manager. (line 2327)
  11267. * BFD_RELOC_CRIS_RELATIVE: howto manager. (line 2334)
  11268. * BFD_RELOC_CRIS_SIGNED_16: howto manager. (line 2325)
  11269. * BFD_RELOC_CRIS_SIGNED_6: howto manager. (line 2321)
  11270. * BFD_RELOC_CRIS_SIGNED_8: howto manager. (line 2323)
  11271. * BFD_RELOC_CRIS_UNSIGNED_16: howto manager. (line 2326)
  11272. * BFD_RELOC_CRIS_UNSIGNED_4: howto manager. (line 2328)
  11273. * BFD_RELOC_CRIS_UNSIGNED_5: howto manager. (line 2320)
  11274. * BFD_RELOC_CRIS_UNSIGNED_6: howto manager. (line 2322)
  11275. * BFD_RELOC_CRIS_UNSIGNED_8: howto manager. (line 2324)
  11276. * BFD_RELOC_CRX_ABS16: howto manager. (line 2308)
  11277. * BFD_RELOC_CRX_ABS32: howto manager. (line 2309)
  11278. * BFD_RELOC_CRX_IMM16: howto manager. (line 2313)
  11279. * BFD_RELOC_CRX_IMM32: howto manager. (line 2314)
  11280. * BFD_RELOC_CRX_NUM16: howto manager. (line 2311)
  11281. * BFD_RELOC_CRX_NUM32: howto manager. (line 2312)
  11282. * BFD_RELOC_CRX_NUM8: howto manager. (line 2310)
  11283. * BFD_RELOC_CRX_REGREL12: howto manager. (line 2304)
  11284. * BFD_RELOC_CRX_REGREL22: howto manager. (line 2305)
  11285. * BFD_RELOC_CRX_REGREL28: howto manager. (line 2306)
  11286. * BFD_RELOC_CRX_REGREL32: howto manager. (line 2307)
  11287. * BFD_RELOC_CRX_REL16: howto manager. (line 2301)
  11288. * BFD_RELOC_CRX_REL24: howto manager. (line 2302)
  11289. * BFD_RELOC_CRX_REL32: howto manager. (line 2303)
  11290. * BFD_RELOC_CRX_REL4: howto manager. (line 2298)
  11291. * BFD_RELOC_CRX_REL8: howto manager. (line 2299)
  11292. * BFD_RELOC_CRX_REL8_CMP: howto manager. (line 2300)
  11293. * BFD_RELOC_CRX_SWITCH16: howto manager. (line 2316)
  11294. * BFD_RELOC_CRX_SWITCH32: howto manager. (line 2317)
  11295. * BFD_RELOC_CRX_SWITCH8: howto manager. (line 2315)
  11296. * BFD_RELOC_CTOR: howto manager. (line 759)
  11297. * BFD_RELOC_D10V_10_PCREL_L: howto manager. (line 1183)
  11298. * BFD_RELOC_D10V_10_PCREL_R: howto manager. (line 1180)
  11299. * BFD_RELOC_D10V_18: howto manager. (line 1187)
  11300. * BFD_RELOC_D10V_18_PCREL: howto manager. (line 1189)
  11301. * BFD_RELOC_D30V_15: howto manager. (line 1200)
  11302. * BFD_RELOC_D30V_15_PCREL: howto manager. (line 1203)
  11303. * BFD_RELOC_D30V_15_PCREL_R: howto manager. (line 1206)
  11304. * BFD_RELOC_D30V_21: howto manager. (line 1210)
  11305. * BFD_RELOC_D30V_21_PCREL: howto manager. (line 1213)
  11306. * BFD_RELOC_D30V_21_PCREL_R: howto manager. (line 1216)
  11307. * BFD_RELOC_D30V_32: howto manager. (line 1220)
  11308. * BFD_RELOC_D30V_32_PCREL: howto manager. (line 1222)
  11309. * BFD_RELOC_D30V_6: howto manager. (line 1191)
  11310. * BFD_RELOC_D30V_9_PCREL: howto manager. (line 1193)
  11311. * BFD_RELOC_D30V_9_PCREL_R: howto manager. (line 1196)
  11312. * BFD_RELOC_DLX_HI16_S: howto manager. (line 1224)
  11313. * BFD_RELOC_DLX_JMP26: howto manager. (line 1228)
  11314. * BFD_RELOC_DLX_LO16: howto manager. (line 1226)
  11315. * BFD_RELOC_EPIPHANY_HIGH: howto manager. (line 3307)
  11316. * BFD_RELOC_EPIPHANY_IMM11: howto manager. (line 3313)
  11317. * BFD_RELOC_EPIPHANY_IMM8: howto manager. (line 3316)
  11318. * BFD_RELOC_EPIPHANY_LOW: howto manager. (line 3309)
  11319. * BFD_RELOC_EPIPHANY_SIMM11: howto manager. (line 3311)
  11320. * BFD_RELOC_EPIPHANY_SIMM24: howto manager. (line 3305)
  11321. * BFD_RELOC_EPIPHANY_SIMM8: howto manager. (line 3303)
  11322. * BFD_RELOC_FR30_10_IN_8: howto manager. (line 1615)
  11323. * BFD_RELOC_FR30_12_PCREL: howto manager. (line 1621)
  11324. * BFD_RELOC_FR30_20: howto manager. (line 1603)
  11325. * BFD_RELOC_FR30_48: howto manager. (line 1601)
  11326. * BFD_RELOC_FR30_6_IN_4: howto manager. (line 1606)
  11327. * BFD_RELOC_FR30_8_IN_8: howto manager. (line 1609)
  11328. * BFD_RELOC_FR30_9_IN_8: howto manager. (line 1612)
  11329. * BFD_RELOC_FR30_9_PCREL: howto manager. (line 1618)
  11330. * BFD_RELOC_FRV_FUNCDESC: howto manager. (line 451)
  11331. * BFD_RELOC_FRV_FUNCDESC_GOT12: howto manager. (line 452)
  11332. * BFD_RELOC_FRV_FUNCDESC_GOTHI: howto manager. (line 453)
  11333. * BFD_RELOC_FRV_FUNCDESC_GOTLO: howto manager. (line 454)
  11334. * BFD_RELOC_FRV_FUNCDESC_GOTOFF12: howto manager. (line 456)
  11335. * BFD_RELOC_FRV_FUNCDESC_GOTOFFHI: howto manager. (line 457)
  11336. * BFD_RELOC_FRV_FUNCDESC_GOTOFFLO: howto manager. (line 458)
  11337. * BFD_RELOC_FRV_FUNCDESC_VALUE: howto manager. (line 455)
  11338. * BFD_RELOC_FRV_GETTLSOFF: howto manager. (line 462)
  11339. * BFD_RELOC_FRV_GETTLSOFF_RELAX: howto manager. (line 475)
  11340. * BFD_RELOC_FRV_GOT12: howto manager. (line 448)
  11341. * BFD_RELOC_FRV_GOTHI: howto manager. (line 449)
  11342. * BFD_RELOC_FRV_GOTLO: howto manager. (line 450)
  11343. * BFD_RELOC_FRV_GOTOFF12: howto manager. (line 459)
  11344. * BFD_RELOC_FRV_GOTOFFHI: howto manager. (line 460)
  11345. * BFD_RELOC_FRV_GOTOFFLO: howto manager. (line 461)
  11346. * BFD_RELOC_FRV_GOTTLSDESC12: howto manager. (line 464)
  11347. * BFD_RELOC_FRV_GOTTLSDESCHI: howto manager. (line 465)
  11348. * BFD_RELOC_FRV_GOTTLSDESCLO: howto manager. (line 466)
  11349. * BFD_RELOC_FRV_GOTTLSOFF12: howto manager. (line 470)
  11350. * BFD_RELOC_FRV_GOTTLSOFFHI: howto manager. (line 471)
  11351. * BFD_RELOC_FRV_GOTTLSOFFLO: howto manager. (line 472)
  11352. * BFD_RELOC_FRV_GPREL12: howto manager. (line 443)
  11353. * BFD_RELOC_FRV_GPREL32: howto manager. (line 445)
  11354. * BFD_RELOC_FRV_GPRELHI: howto manager. (line 446)
  11355. * BFD_RELOC_FRV_GPRELLO: howto manager. (line 447)
  11356. * BFD_RELOC_FRV_GPRELU12: howto manager. (line 444)
  11357. * BFD_RELOC_FRV_HI16: howto manager. (line 442)
  11358. * BFD_RELOC_FRV_LABEL16: howto manager. (line 439)
  11359. * BFD_RELOC_FRV_LABEL24: howto manager. (line 440)
  11360. * BFD_RELOC_FRV_LO16: howto manager. (line 441)
  11361. * BFD_RELOC_FRV_TLSDESC_RELAX: howto manager. (line 474)
  11362. * BFD_RELOC_FRV_TLSDESC_VALUE: howto manager. (line 463)
  11363. * BFD_RELOC_FRV_TLSMOFF: howto manager. (line 477)
  11364. * BFD_RELOC_FRV_TLSMOFF12: howto manager. (line 467)
  11365. * BFD_RELOC_FRV_TLSMOFFHI: howto manager. (line 468)
  11366. * BFD_RELOC_FRV_TLSMOFFLO: howto manager. (line 469)
  11367. * BFD_RELOC_FRV_TLSOFF: howto manager. (line 473)
  11368. * BFD_RELOC_FRV_TLSOFF_RELAX: howto manager. (line 476)
  11369. * BFD_RELOC_FT32_10: howto manager. (line 429)
  11370. * BFD_RELOC_FT32_15: howto manager. (line 436)
  11371. * BFD_RELOC_FT32_17: howto manager. (line 431)
  11372. * BFD_RELOC_FT32_18: howto manager. (line 432)
  11373. * BFD_RELOC_FT32_20: howto manager. (line 430)
  11374. * BFD_RELOC_FT32_DIFF32: howto manager. (line 437)
  11375. * BFD_RELOC_FT32_RELAX: howto manager. (line 433)
  11376. * BFD_RELOC_FT32_SC0: howto manager. (line 434)
  11377. * BFD_RELOC_FT32_SC1: howto manager. (line 435)
  11378. * BFD_RELOC_GPREL16: howto manager. (line 112)
  11379. * BFD_RELOC_GPREL32: howto manager. (line 113)
  11380. * BFD_RELOC_H8_DIR16A8: howto manager. (line 2404)
  11381. * BFD_RELOC_H8_DIR16R8: howto manager. (line 2405)
  11382. * BFD_RELOC_H8_DIR24A8: howto manager. (line 2406)
  11383. * BFD_RELOC_H8_DIR24R8: howto manager. (line 2407)
  11384. * BFD_RELOC_H8_DIR32A16: howto manager. (line 2408)
  11385. * BFD_RELOC_H8_DISP32A16: howto manager. (line 2409)
  11386. * BFD_RELOC_HI16: howto manager. (line 312)
  11387. * BFD_RELOC_HI16_BASEREL: howto manager. (line 92)
  11388. * BFD_RELOC_HI16_GOTOFF: howto manager. (line 51)
  11389. * BFD_RELOC_HI16_PCREL: howto manager. (line 321)
  11390. * BFD_RELOC_HI16_PLTOFF: howto manager. (line 63)
  11391. * BFD_RELOC_HI16_S: howto manager. (line 314)
  11392. * BFD_RELOC_HI16_S_BASEREL: howto manager. (line 93)
  11393. * BFD_RELOC_HI16_S_GOTOFF: howto manager. (line 52)
  11394. * BFD_RELOC_HI16_S_PCREL: howto manager. (line 323)
  11395. * BFD_RELOC_HI16_S_PLTOFF: howto manager. (line 64)
  11396. * BFD_RELOC_HI22: howto manager. (line 108)
  11397. * BFD_RELOC_I370_D12: howto manager. (line 757)
  11398. * BFD_RELOC_IA64_COPY: howto manager. (line 2162)
  11399. * BFD_RELOC_IA64_DIR32LSB: howto manager. (line 2107)
  11400. * BFD_RELOC_IA64_DIR32MSB: howto manager. (line 2106)
  11401. * BFD_RELOC_IA64_DIR64LSB: howto manager. (line 2109)
  11402. * BFD_RELOC_IA64_DIR64MSB: howto manager. (line 2108)
  11403. * BFD_RELOC_IA64_DTPMOD64LSB: howto manager. (line 2172)
  11404. * BFD_RELOC_IA64_DTPMOD64MSB: howto manager. (line 2171)
  11405. * BFD_RELOC_IA64_DTPREL14: howto manager. (line 2174)
  11406. * BFD_RELOC_IA64_DTPREL22: howto manager. (line 2175)
  11407. * BFD_RELOC_IA64_DTPREL32LSB: howto manager. (line 2178)
  11408. * BFD_RELOC_IA64_DTPREL32MSB: howto manager. (line 2177)
  11409. * BFD_RELOC_IA64_DTPREL64I: howto manager. (line 2176)
  11410. * BFD_RELOC_IA64_DTPREL64LSB: howto manager. (line 2180)
  11411. * BFD_RELOC_IA64_DTPREL64MSB: howto manager. (line 2179)
  11412. * BFD_RELOC_IA64_FPTR32LSB: howto manager. (line 2124)
  11413. * BFD_RELOC_IA64_FPTR32MSB: howto manager. (line 2123)
  11414. * BFD_RELOC_IA64_FPTR64I: howto manager. (line 2122)
  11415. * BFD_RELOC_IA64_FPTR64LSB: howto manager. (line 2126)
  11416. * BFD_RELOC_IA64_FPTR64MSB: howto manager. (line 2125)
  11417. * BFD_RELOC_IA64_GPREL22: howto manager. (line 2110)
  11418. * BFD_RELOC_IA64_GPREL32LSB: howto manager. (line 2113)
  11419. * BFD_RELOC_IA64_GPREL32MSB: howto manager. (line 2112)
  11420. * BFD_RELOC_IA64_GPREL64I: howto manager. (line 2111)
  11421. * BFD_RELOC_IA64_GPREL64LSB: howto manager. (line 2115)
  11422. * BFD_RELOC_IA64_GPREL64MSB: howto manager. (line 2114)
  11423. * BFD_RELOC_IA64_IMM14: howto manager. (line 2103)
  11424. * BFD_RELOC_IA64_IMM22: howto manager. (line 2104)
  11425. * BFD_RELOC_IA64_IMM64: howto manager. (line 2105)
  11426. * BFD_RELOC_IA64_IPLTLSB: howto manager. (line 2161)
  11427. * BFD_RELOC_IA64_IPLTMSB: howto manager. (line 2160)
  11428. * BFD_RELOC_IA64_LDXMOV: howto manager. (line 2164)
  11429. * BFD_RELOC_IA64_LTOFF22: howto manager. (line 2116)
  11430. * BFD_RELOC_IA64_LTOFF22X: howto manager. (line 2163)
  11431. * BFD_RELOC_IA64_LTOFF64I: howto manager. (line 2117)
  11432. * BFD_RELOC_IA64_LTOFF_DTPMOD22: howto manager. (line 2173)
  11433. * BFD_RELOC_IA64_LTOFF_DTPREL22: howto manager. (line 2181)
  11434. * BFD_RELOC_IA64_LTOFF_FPTR22: howto manager. (line 2138)
  11435. * BFD_RELOC_IA64_LTOFF_FPTR32LSB: howto manager. (line 2141)
  11436. * BFD_RELOC_IA64_LTOFF_FPTR32MSB: howto manager. (line 2140)
  11437. * BFD_RELOC_IA64_LTOFF_FPTR64I: howto manager. (line 2139)
  11438. * BFD_RELOC_IA64_LTOFF_FPTR64LSB: howto manager. (line 2143)
  11439. * BFD_RELOC_IA64_LTOFF_FPTR64MSB: howto manager. (line 2142)
  11440. * BFD_RELOC_IA64_LTOFF_TPREL22: howto manager. (line 2170)
  11441. * BFD_RELOC_IA64_LTV32LSB: howto manager. (line 2157)
  11442. * BFD_RELOC_IA64_LTV32MSB: howto manager. (line 2156)
  11443. * BFD_RELOC_IA64_LTV64LSB: howto manager. (line 2159)
  11444. * BFD_RELOC_IA64_LTV64MSB: howto manager. (line 2158)
  11445. * BFD_RELOC_IA64_PCREL21B: howto manager. (line 2127)
  11446. * BFD_RELOC_IA64_PCREL21BI: howto manager. (line 2128)
  11447. * BFD_RELOC_IA64_PCREL21F: howto manager. (line 2130)
  11448. * BFD_RELOC_IA64_PCREL21M: howto manager. (line 2129)
  11449. * BFD_RELOC_IA64_PCREL22: howto manager. (line 2131)
  11450. * BFD_RELOC_IA64_PCREL32LSB: howto manager. (line 2135)
  11451. * BFD_RELOC_IA64_PCREL32MSB: howto manager. (line 2134)
  11452. * BFD_RELOC_IA64_PCREL60B: howto manager. (line 2132)
  11453. * BFD_RELOC_IA64_PCREL64I: howto manager. (line 2133)
  11454. * BFD_RELOC_IA64_PCREL64LSB: howto manager. (line 2137)
  11455. * BFD_RELOC_IA64_PCREL64MSB: howto manager. (line 2136)
  11456. * BFD_RELOC_IA64_PLTOFF22: howto manager. (line 2118)
  11457. * BFD_RELOC_IA64_PLTOFF64I: howto manager. (line 2119)
  11458. * BFD_RELOC_IA64_PLTOFF64LSB: howto manager. (line 2121)
  11459. * BFD_RELOC_IA64_PLTOFF64MSB: howto manager. (line 2120)
  11460. * BFD_RELOC_IA64_REL32LSB: howto manager. (line 2153)
  11461. * BFD_RELOC_IA64_REL32MSB: howto manager. (line 2152)
  11462. * BFD_RELOC_IA64_REL64LSB: howto manager. (line 2155)
  11463. * BFD_RELOC_IA64_REL64MSB: howto manager. (line 2154)
  11464. * BFD_RELOC_IA64_SECREL32LSB: howto manager. (line 2149)
  11465. * BFD_RELOC_IA64_SECREL32MSB: howto manager. (line 2148)
  11466. * BFD_RELOC_IA64_SECREL64LSB: howto manager. (line 2151)
  11467. * BFD_RELOC_IA64_SECREL64MSB: howto manager. (line 2150)
  11468. * BFD_RELOC_IA64_SEGREL32LSB: howto manager. (line 2145)
  11469. * BFD_RELOC_IA64_SEGREL32MSB: howto manager. (line 2144)
  11470. * BFD_RELOC_IA64_SEGREL64LSB: howto manager. (line 2147)
  11471. * BFD_RELOC_IA64_SEGREL64MSB: howto manager. (line 2146)
  11472. * BFD_RELOC_IA64_TPREL14: howto manager. (line 2165)
  11473. * BFD_RELOC_IA64_TPREL22: howto manager. (line 2166)
  11474. * BFD_RELOC_IA64_TPREL64I: howto manager. (line 2167)
  11475. * BFD_RELOC_IA64_TPREL64LSB: howto manager. (line 2169)
  11476. * BFD_RELOC_IA64_TPREL64MSB: howto manager. (line 2168)
  11477. * BFD_RELOC_IP2K_ADDR16CJP: howto manager. (line 2064)
  11478. * BFD_RELOC_IP2K_BANK: howto manager. (line 2062)
  11479. * BFD_RELOC_IP2K_EX8DATA: howto manager. (line 2070)
  11480. * BFD_RELOC_IP2K_FR9: howto manager. (line 2060)
  11481. * BFD_RELOC_IP2K_FR_OFFSET: howto manager. (line 2079)
  11482. * BFD_RELOC_IP2K_HI8DATA: howto manager. (line 2069)
  11483. * BFD_RELOC_IP2K_HI8INSN: howto manager. (line 2073)
  11484. * BFD_RELOC_IP2K_LO8DATA: howto manager. (line 2068)
  11485. * BFD_RELOC_IP2K_LO8INSN: howto manager. (line 2072)
  11486. * BFD_RELOC_IP2K_PAGE3: howto manager. (line 2066)
  11487. * BFD_RELOC_IP2K_PC_SKIP: howto manager. (line 2075)
  11488. * BFD_RELOC_IP2K_TEXT: howto manager. (line 2077)
  11489. * BFD_RELOC_IQ2000_OFFSET_16: howto manager. (line 2543)
  11490. * BFD_RELOC_IQ2000_OFFSET_21: howto manager. (line 2544)
  11491. * BFD_RELOC_IQ2000_UHI16: howto manager. (line 2545)
  11492. * BFD_RELOC_LM32_16_GOT: howto manager. (line 2635)
  11493. * BFD_RELOC_LM32_BRANCH: howto manager. (line 2634)
  11494. * BFD_RELOC_LM32_CALL: howto manager. (line 2633)
  11495. * BFD_RELOC_LM32_COPY: howto manager. (line 2638)
  11496. * BFD_RELOC_LM32_GLOB_DAT: howto manager. (line 2639)
  11497. * BFD_RELOC_LM32_GOTOFF_HI16: howto manager. (line 2636)
  11498. * BFD_RELOC_LM32_GOTOFF_LO16: howto manager. (line 2637)
  11499. * BFD_RELOC_LM32_JMP_SLOT: howto manager. (line 2640)
  11500. * BFD_RELOC_LM32_RELATIVE: howto manager. (line 2641)
  11501. * BFD_RELOC_LO10: howto manager. (line 109)
  11502. * BFD_RELOC_LO16: howto manager. (line 319)
  11503. * BFD_RELOC_LO16_BASEREL: howto manager. (line 91)
  11504. * BFD_RELOC_LO16_GOTOFF: howto manager. (line 50)
  11505. * BFD_RELOC_LO16_PCREL: howto manager. (line 325)
  11506. * BFD_RELOC_LO16_PLTOFF: howto manager. (line 62)
  11507. * BFD_RELOC_M32C_HI8: howto manager. (line 1230)
  11508. * BFD_RELOC_M32C_RL_1ADDR: howto manager. (line 1232)
  11509. * BFD_RELOC_M32C_RL_2ADDR: howto manager. (line 1233)
  11510. * BFD_RELOC_M32C_RL_JUMP: howto manager. (line 1231)
  11511. * BFD_RELOC_M32R_10_PCREL: howto manager. (line 1238)
  11512. * BFD_RELOC_M32R_18_PCREL: howto manager. (line 1241)
  11513. * BFD_RELOC_M32R_24: howto manager. (line 1235)
  11514. * BFD_RELOC_M32R_26_PCREL: howto manager. (line 1243)
  11515. * BFD_RELOC_M32R_26_PLTREL: howto manager. (line 1257)
  11516. * BFD_RELOC_M32R_COPY: howto manager. (line 1258)
  11517. * BFD_RELOC_M32R_GLOB_DAT: howto manager. (line 1259)
  11518. * BFD_RELOC_M32R_GOT16_HI_SLO: howto manager. (line 1268)
  11519. * BFD_RELOC_M32R_GOT16_HI_ULO: howto manager. (line 1267)
  11520. * BFD_RELOC_M32R_GOT16_LO: howto manager. (line 1269)
  11521. * BFD_RELOC_M32R_GOT24: howto manager. (line 1256)
  11522. * BFD_RELOC_M32R_GOTOFF: howto manager. (line 1262)
  11523. * BFD_RELOC_M32R_GOTOFF_HI_SLO: howto manager. (line 1264)
  11524. * BFD_RELOC_M32R_GOTOFF_HI_ULO: howto manager. (line 1263)
  11525. * BFD_RELOC_M32R_GOTOFF_LO: howto manager. (line 1265)
  11526. * BFD_RELOC_M32R_GOTPC24: howto manager. (line 1266)
  11527. * BFD_RELOC_M32R_GOTPC_HI_SLO: howto manager. (line 1271)
  11528. * BFD_RELOC_M32R_GOTPC_HI_ULO: howto manager. (line 1270)
  11529. * BFD_RELOC_M32R_GOTPC_LO: howto manager. (line 1272)
  11530. * BFD_RELOC_M32R_HI16_SLO: howto manager. (line 1248)
  11531. * BFD_RELOC_M32R_HI16_ULO: howto manager. (line 1245)
  11532. * BFD_RELOC_M32R_JMP_SLOT: howto manager. (line 1260)
  11533. * BFD_RELOC_M32R_LO16: howto manager. (line 1251)
  11534. * BFD_RELOC_M32R_RELATIVE: howto manager. (line 1261)
  11535. * BFD_RELOC_M32R_SDA16: howto manager. (line 1253)
  11536. * BFD_RELOC_M68HC11_24: howto manager. (line 2209)
  11537. * BFD_RELOC_M68HC11_3B: howto manager. (line 2189)
  11538. * BFD_RELOC_M68HC11_HI8: howto manager. (line 2183)
  11539. * BFD_RELOC_M68HC11_LO16: howto manager. (line 2200)
  11540. * BFD_RELOC_M68HC11_LO8: howto manager. (line 2186)
  11541. * BFD_RELOC_M68HC11_PAGE: howto manager. (line 2205)
  11542. * BFD_RELOC_M68HC11_RL_GROUP: howto manager. (line 2196)
  11543. * BFD_RELOC_M68HC11_RL_JUMP: howto manager. (line 2191)
  11544. * BFD_RELOC_M68HC12_10_PCREL: howto manager. (line 2252)
  11545. * BFD_RELOC_M68HC12_16B: howto manager. (line 2248)
  11546. * BFD_RELOC_M68HC12_5B: howto manager. (line 2214)
  11547. * BFD_RELOC_M68HC12_9B: howto manager. (line 2246)
  11548. * BFD_RELOC_M68HC12_9_PCREL: howto manager. (line 2250)
  11549. * BFD_RELOC_M68HC12_HI8XG: howto manager. (line 2257)
  11550. * BFD_RELOC_M68HC12_LO8XG: howto manager. (line 2254)
  11551. * BFD_RELOC_MACH_O_ARM64_ADDEND: howto manager. (line 2671)
  11552. * BFD_RELOC_MACH_O_ARM64_GOT_LOAD_PAGE21: howto manager. (line 2673)
  11553. * BFD_RELOC_MACH_O_ARM64_GOT_LOAD_PAGEOFF12: howto manager. (line 2675)
  11554. * BFD_RELOC_MACH_O_ARM64_POINTER_TO_GOT: howto manager. (line 2677)
  11555. * BFD_RELOC_MACH_O_LOCAL_SECTDIFF: howto manager. (line 2646)
  11556. * BFD_RELOC_MACH_O_PAIR: howto manager. (line 2648)
  11557. * BFD_RELOC_MACH_O_SECTDIFF: howto manager. (line 2643)
  11558. * BFD_RELOC_MACH_O_SUBTRACTOR32: howto manager. (line 2650)
  11559. * BFD_RELOC_MACH_O_SUBTRACTOR64: howto manager. (line 2652)
  11560. * BFD_RELOC_MACH_O_X86_64_BRANCH32: howto manager. (line 2654)
  11561. * BFD_RELOC_MACH_O_X86_64_BRANCH8: howto manager. (line 2655)
  11562. * BFD_RELOC_MACH_O_X86_64_GOT: howto manager. (line 2658)
  11563. * BFD_RELOC_MACH_O_X86_64_GOT_LOAD: howto manager. (line 2660)
  11564. * BFD_RELOC_MACH_O_X86_64_PCREL32_1: howto manager. (line 2663)
  11565. * BFD_RELOC_MACH_O_X86_64_PCREL32_2: howto manager. (line 2665)
  11566. * BFD_RELOC_MACH_O_X86_64_PCREL32_4: howto manager. (line 2667)
  11567. * BFD_RELOC_MACH_O_X86_64_TLV: howto manager. (line 2669)
  11568. * BFD_RELOC_MCORE_PCREL_32: howto manager. (line 1627)
  11569. * BFD_RELOC_MCORE_PCREL_IMM11BY2: howto manager. (line 1625)
  11570. * BFD_RELOC_MCORE_PCREL_IMM4BY2: howto manager. (line 1626)
  11571. * BFD_RELOC_MCORE_PCREL_IMM8BY4: howto manager. (line 1624)
  11572. * BFD_RELOC_MCORE_PCREL_JSR_IMM11BY2: howto manager. (line 1628)
  11573. * BFD_RELOC_MCORE_RVA: howto manager. (line 1629)
  11574. * BFD_RELOC_MEP_16: howto manager. (line 1632)
  11575. * BFD_RELOC_MEP_32: howto manager. (line 1633)
  11576. * BFD_RELOC_MEP_8: howto manager. (line 1631)
  11577. * BFD_RELOC_MEP_ADDR24A4: howto manager. (line 1648)
  11578. * BFD_RELOC_MEP_GNU_VTENTRY: howto manager. (line 1650)
  11579. * BFD_RELOC_MEP_GNU_VTINHERIT: howto manager. (line 1649)
  11580. * BFD_RELOC_MEP_GPREL: howto manager. (line 1642)
  11581. * BFD_RELOC_MEP_HI16S: howto manager. (line 1641)
  11582. * BFD_RELOC_MEP_HI16U: howto manager. (line 1640)
  11583. * BFD_RELOC_MEP_LOW16: howto manager. (line 1639)
  11584. * BFD_RELOC_MEP_PCABS24A2: howto manager. (line 1638)
  11585. * BFD_RELOC_MEP_PCREL12A2: howto manager. (line 1635)
  11586. * BFD_RELOC_MEP_PCREL17A2: howto manager. (line 1636)
  11587. * BFD_RELOC_MEP_PCREL24A2: howto manager. (line 1637)
  11588. * BFD_RELOC_MEP_PCREL8A2: howto manager. (line 1634)
  11589. * BFD_RELOC_MEP_TPREL: howto manager. (line 1643)
  11590. * BFD_RELOC_MEP_TPREL7: howto manager. (line 1644)
  11591. * BFD_RELOC_MEP_TPREL7A2: howto manager. (line 1645)
  11592. * BFD_RELOC_MEP_TPREL7A4: howto manager. (line 1646)
  11593. * BFD_RELOC_MEP_UIMM24: howto manager. (line 1647)
  11594. * BFD_RELOC_METAG_COPY: howto manager. (line 1671)
  11595. * BFD_RELOC_METAG_GETSETOFF: howto manager. (line 1655)
  11596. * BFD_RELOC_METAG_GETSET_GOT: howto manager. (line 1663)
  11597. * BFD_RELOC_METAG_GETSET_GOTOFF: howto manager. (line 1662)
  11598. * BFD_RELOC_METAG_GLOB_DAT: howto manager. (line 1674)
  11599. * BFD_RELOC_METAG_GOTOFF: howto manager. (line 1669)
  11600. * BFD_RELOC_METAG_HI16_GOTOFF: howto manager. (line 1660)
  11601. * BFD_RELOC_METAG_HI16_GOTPC: howto manager. (line 1664)
  11602. * BFD_RELOC_METAG_HI16_PLT: howto manager. (line 1666)
  11603. * BFD_RELOC_METAG_HIADDR16: howto manager. (line 1652)
  11604. * BFD_RELOC_METAG_HIOG: howto manager. (line 1656)
  11605. * BFD_RELOC_METAG_JMP_SLOT: howto manager. (line 1672)
  11606. * BFD_RELOC_METAG_LO16_GOTOFF: howto manager. (line 1661)
  11607. * BFD_RELOC_METAG_LO16_GOTPC: howto manager. (line 1665)
  11608. * BFD_RELOC_METAG_LO16_PLT: howto manager. (line 1667)
  11609. * BFD_RELOC_METAG_LOADDR16: howto manager. (line 1653)
  11610. * BFD_RELOC_METAG_LOOG: howto manager. (line 1657)
  11611. * BFD_RELOC_METAG_PLT: howto manager. (line 1670)
  11612. * BFD_RELOC_METAG_REL16: howto manager. (line 1659)
  11613. * BFD_RELOC_METAG_REL8: howto manager. (line 1658)
  11614. * BFD_RELOC_METAG_RELATIVE: howto manager. (line 1673)
  11615. * BFD_RELOC_METAG_RELBRANCH: howto manager. (line 1654)
  11616. * BFD_RELOC_METAG_RELBRANCH_PLT: howto manager. (line 1668)
  11617. * BFD_RELOC_METAG_TLS_DTPMOD: howto manager. (line 1685)
  11618. * BFD_RELOC_METAG_TLS_DTPOFF: howto manager. (line 1686)
  11619. * BFD_RELOC_METAG_TLS_GD: howto manager. (line 1675)
  11620. * BFD_RELOC_METAG_TLS_IE: howto manager. (line 1680)
  11621. * BFD_RELOC_METAG_TLS_IENONPIC: howto manager. (line 1681)
  11622. * BFD_RELOC_METAG_TLS_IENONPIC_HI16: howto manager. (line 1682)
  11623. * BFD_RELOC_METAG_TLS_IENONPIC_LO16: howto manager. (line 1683)
  11624. * BFD_RELOC_METAG_TLS_LDM: howto manager. (line 1676)
  11625. * BFD_RELOC_METAG_TLS_LDO: howto manager. (line 1679)
  11626. * BFD_RELOC_METAG_TLS_LDO_HI16: howto manager. (line 1677)
  11627. * BFD_RELOC_METAG_TLS_LDO_LO16: howto manager. (line 1678)
  11628. * BFD_RELOC_METAG_TLS_LE: howto manager. (line 1687)
  11629. * BFD_RELOC_METAG_TLS_LE_HI16: howto manager. (line 1688)
  11630. * BFD_RELOC_METAG_TLS_LE_LO16: howto manager. (line 1689)
  11631. * BFD_RELOC_METAG_TLS_TPOFF: howto manager. (line 1684)
  11632. * BFD_RELOC_MICROBLAZE_32_GOTOFF: howto manager. (line 2713)
  11633. * BFD_RELOC_MICROBLAZE_32_LO: howto manager. (line 2679)
  11634. * BFD_RELOC_MICROBLAZE_32_LO_PCREL: howto manager. (line 2682)
  11635. * BFD_RELOC_MICROBLAZE_32_ROSDA: howto manager. (line 2685)
  11636. * BFD_RELOC_MICROBLAZE_32_RWSDA: howto manager. (line 2688)
  11637. * BFD_RELOC_MICROBLAZE_32_SYM_OP_SYM: howto manager. (line 2691)
  11638. * BFD_RELOC_MICROBLAZE_32_TLSDTPMOD: howto manager. (line 2729)
  11639. * BFD_RELOC_MICROBLAZE_32_TLSDTPREL: howto manager. (line 2731)
  11640. * BFD_RELOC_MICROBLAZE_64_GOT: howto manager. (line 2702)
  11641. * BFD_RELOC_MICROBLAZE_64_GOTOFF: howto manager. (line 2709)
  11642. * BFD_RELOC_MICROBLAZE_64_GOTPC: howto manager. (line 2698)
  11643. * BFD_RELOC_MICROBLAZE_64_NONE: howto manager. (line 2694)
  11644. * BFD_RELOC_MICROBLAZE_64_PLT: howto manager. (line 2705)
  11645. * BFD_RELOC_MICROBLAZE_64_TEXTPCREL: howto manager. (line 2742)
  11646. * BFD_RELOC_MICROBLAZE_64_TEXTREL: howto manager. (line 2746)
  11647. * BFD_RELOC_MICROBLAZE_64_TLS: howto manager. (line 2719)
  11648. * BFD_RELOC_MICROBLAZE_64_TLSDTPREL: howto manager. (line 2733)
  11649. * BFD_RELOC_MICROBLAZE_64_TLSGD: howto manager. (line 2721)
  11650. * BFD_RELOC_MICROBLAZE_64_TLSGOTTPREL: howto manager. (line 2736)
  11651. * BFD_RELOC_MICROBLAZE_64_TLSLD: howto manager. (line 2725)
  11652. * BFD_RELOC_MICROBLAZE_64_TLSTPREL: howto manager. (line 2739)
  11653. * BFD_RELOC_MICROBLAZE_COPY: howto manager. (line 2716)
  11654. * BFD_RELOC_MICROMIPS_10_PCREL_S1: howto manager. (line 352)
  11655. * BFD_RELOC_MICROMIPS_16_PCREL_S1: howto manager. (line 353)
  11656. * BFD_RELOC_MICROMIPS_7_PCREL_S1: howto manager. (line 351)
  11657. * BFD_RELOC_MICROMIPS_CALL16: howto manager. (line 370)
  11658. * BFD_RELOC_MICROMIPS_CALL_HI16: howto manager. (line 376)
  11659. * BFD_RELOC_MICROMIPS_CALL_LO16: howto manager. (line 378)
  11660. * BFD_RELOC_MICROMIPS_GOT16: howto manager. (line 368)
  11661. * BFD_RELOC_MICROMIPS_GOT_DISP: howto manager. (line 386)
  11662. * BFD_RELOC_MICROMIPS_GOT_HI16: howto manager. (line 372)
  11663. * BFD_RELOC_MICROMIPS_GOT_LO16: howto manager. (line 374)
  11664. * BFD_RELOC_MICROMIPS_GOT_OFST: howto manager. (line 384)
  11665. * BFD_RELOC_MICROMIPS_GOT_PAGE: howto manager. (line 382)
  11666. * BFD_RELOC_MICROMIPS_GPREL16: howto manager. (line 362)
  11667. * BFD_RELOC_MICROMIPS_HI16: howto manager. (line 363)
  11668. * BFD_RELOC_MICROMIPS_HI16_S: howto manager. (line 364)
  11669. * BFD_RELOC_MICROMIPS_HIGHER: howto manager. (line 395)
  11670. * BFD_RELOC_MICROMIPS_HIGHEST: howto manager. (line 393)
  11671. * BFD_RELOC_MICROMIPS_JALR: howto manager. (line 401)
  11672. * BFD_RELOC_MICROMIPS_JMP: howto manager. (line 306)
  11673. * BFD_RELOC_MICROMIPS_LITERAL: howto manager. (line 349)
  11674. * BFD_RELOC_MICROMIPS_LO16: howto manager. (line 365)
  11675. * BFD_RELOC_MICROMIPS_SCN_DISP: howto manager. (line 397)
  11676. * BFD_RELOC_MICROMIPS_SUB: howto manager. (line 380)
  11677. * BFD_RELOC_MICROMIPS_TLS_DTPREL_HI16: howto manager. (line 411)
  11678. * BFD_RELOC_MICROMIPS_TLS_DTPREL_LO16: howto manager. (line 413)
  11679. * BFD_RELOC_MICROMIPS_TLS_GD: howto manager. (line 407)
  11680. * BFD_RELOC_MICROMIPS_TLS_GOTTPREL: howto manager. (line 415)
  11681. * BFD_RELOC_MICROMIPS_TLS_LDM: howto manager. (line 409)
  11682. * BFD_RELOC_MICROMIPS_TLS_TPREL_HI16: howto manager. (line 419)
  11683. * BFD_RELOC_MICROMIPS_TLS_TPREL_LO16: howto manager. (line 421)
  11684. * BFD_RELOC_MIPS16_16_PCREL_S1: howto manager. (line 355)
  11685. * BFD_RELOC_MIPS16_CALL16: howto manager. (line 328)
  11686. * BFD_RELOC_MIPS16_GOT16: howto manager. (line 327)
  11687. * BFD_RELOC_MIPS16_GPREL: howto manager. (line 310)
  11688. * BFD_RELOC_MIPS16_HI16: howto manager. (line 331)
  11689. * BFD_RELOC_MIPS16_HI16_S: howto manager. (line 333)
  11690. * BFD_RELOC_MIPS16_JMP: howto manager. (line 308)
  11691. * BFD_RELOC_MIPS16_LO16: howto manager. (line 338)
  11692. * BFD_RELOC_MIPS16_TLS_DTPREL_HI16: howto manager. (line 342)
  11693. * BFD_RELOC_MIPS16_TLS_DTPREL_LO16: howto manager. (line 343)
  11694. * BFD_RELOC_MIPS16_TLS_GD: howto manager. (line 340)
  11695. * BFD_RELOC_MIPS16_TLS_GOTTPREL: howto manager. (line 344)
  11696. * BFD_RELOC_MIPS16_TLS_LDM: howto manager. (line 341)
  11697. * BFD_RELOC_MIPS16_TLS_TPREL_HI16: howto manager. (line 345)
  11698. * BFD_RELOC_MIPS16_TLS_TPREL_LO16: howto manager. (line 346)
  11699. * BFD_RELOC_MIPS_18_PCREL_S3: howto manager. (line 359)
  11700. * BFD_RELOC_MIPS_19_PCREL_S2: howto manager. (line 360)
  11701. * BFD_RELOC_MIPS_21_PCREL_S2: howto manager. (line 357)
  11702. * BFD_RELOC_MIPS_26_PCREL_S2: howto manager. (line 358)
  11703. * BFD_RELOC_MIPS_CALL16: howto manager. (line 369)
  11704. * BFD_RELOC_MIPS_CALL_HI16: howto manager. (line 375)
  11705. * BFD_RELOC_MIPS_CALL_LO16: howto manager. (line 377)
  11706. * BFD_RELOC_MIPS_COPY: howto manager. (line 424)
  11707. * BFD_RELOC_MIPS_DELETE: howto manager. (line 391)
  11708. * BFD_RELOC_MIPS_EH: howto manager. (line 422)
  11709. * BFD_RELOC_MIPS_GOT16: howto manager. (line 367)
  11710. * BFD_RELOC_MIPS_GOT_DISP: howto manager. (line 385)
  11711. * BFD_RELOC_MIPS_GOT_HI16: howto manager. (line 371)
  11712. * BFD_RELOC_MIPS_GOT_LO16: howto manager. (line 373)
  11713. * BFD_RELOC_MIPS_GOT_OFST: howto manager. (line 383)
  11714. * BFD_RELOC_MIPS_GOT_PAGE: howto manager. (line 381)
  11715. * BFD_RELOC_MIPS_HIGHER: howto manager. (line 394)
  11716. * BFD_RELOC_MIPS_HIGHEST: howto manager. (line 392)
  11717. * BFD_RELOC_MIPS_INSERT_A: howto manager. (line 389)
  11718. * BFD_RELOC_MIPS_INSERT_B: howto manager. (line 390)
  11719. * BFD_RELOC_MIPS_JALR: howto manager. (line 400)
  11720. * BFD_RELOC_MIPS_JMP: howto manager. (line 305)
  11721. * BFD_RELOC_MIPS_JUMP_SLOT: howto manager. (line 425)
  11722. * BFD_RELOC_MIPS_LITERAL: howto manager. (line 348)
  11723. * BFD_RELOC_MIPS_REL16: howto manager. (line 398)
  11724. * BFD_RELOC_MIPS_RELGOT: howto manager. (line 399)
  11725. * BFD_RELOC_MIPS_SCN_DISP: howto manager. (line 396)
  11726. * BFD_RELOC_MIPS_SHIFT5: howto manager. (line 387)
  11727. * BFD_RELOC_MIPS_SHIFT6: howto manager. (line 388)
  11728. * BFD_RELOC_MIPS_SUB: howto manager. (line 379)
  11729. * BFD_RELOC_MIPS_TLS_DTPMOD32: howto manager. (line 402)
  11730. * BFD_RELOC_MIPS_TLS_DTPMOD64: howto manager. (line 404)
  11731. * BFD_RELOC_MIPS_TLS_DTPREL32: howto manager. (line 403)
  11732. * BFD_RELOC_MIPS_TLS_DTPREL64: howto manager. (line 405)
  11733. * BFD_RELOC_MIPS_TLS_DTPREL_HI16: howto manager. (line 410)
  11734. * BFD_RELOC_MIPS_TLS_DTPREL_LO16: howto manager. (line 412)
  11735. * BFD_RELOC_MIPS_TLS_GD: howto manager. (line 406)
  11736. * BFD_RELOC_MIPS_TLS_GOTTPREL: howto manager. (line 414)
  11737. * BFD_RELOC_MIPS_TLS_LDM: howto manager. (line 408)
  11738. * BFD_RELOC_MIPS_TLS_TPREL32: howto manager. (line 416)
  11739. * BFD_RELOC_MIPS_TLS_TPREL64: howto manager. (line 417)
  11740. * BFD_RELOC_MIPS_TLS_TPREL_HI16: howto manager. (line 418)
  11741. * BFD_RELOC_MIPS_TLS_TPREL_LO16: howto manager. (line 420)
  11742. * BFD_RELOC_MMIX_ADDR19: howto manager. (line 1713)
  11743. * BFD_RELOC_MMIX_ADDR27: howto manager. (line 1716)
  11744. * BFD_RELOC_MMIX_BASE_PLUS_OFFSET: howto manager. (line 1725)
  11745. * BFD_RELOC_MMIX_CBRANCH: howto manager. (line 1696)
  11746. * BFD_RELOC_MMIX_CBRANCH_1: howto manager. (line 1698)
  11747. * BFD_RELOC_MMIX_CBRANCH_2: howto manager. (line 1699)
  11748. * BFD_RELOC_MMIX_CBRANCH_3: howto manager. (line 1700)
  11749. * BFD_RELOC_MMIX_CBRANCH_J: howto manager. (line 1697)
  11750. * BFD_RELOC_MMIX_GETA: howto manager. (line 1691)
  11751. * BFD_RELOC_MMIX_GETA_1: howto manager. (line 1692)
  11752. * BFD_RELOC_MMIX_GETA_2: howto manager. (line 1693)
  11753. * BFD_RELOC_MMIX_GETA_3: howto manager. (line 1694)
  11754. * BFD_RELOC_MMIX_JMP: howto manager. (line 1708)
  11755. * BFD_RELOC_MMIX_JMP_1: howto manager. (line 1709)
  11756. * BFD_RELOC_MMIX_JMP_2: howto manager. (line 1710)
  11757. * BFD_RELOC_MMIX_JMP_3: howto manager. (line 1711)
  11758. * BFD_RELOC_MMIX_LOCAL: howto manager. (line 1728)
  11759. * BFD_RELOC_MMIX_PUSHJ: howto manager. (line 1702)
  11760. * BFD_RELOC_MMIX_PUSHJ_1: howto manager. (line 1703)
  11761. * BFD_RELOC_MMIX_PUSHJ_2: howto manager. (line 1704)
  11762. * BFD_RELOC_MMIX_PUSHJ_3: howto manager. (line 1705)
  11763. * BFD_RELOC_MMIX_PUSHJ_STUBBABLE: howto manager. (line 1706)
  11764. * BFD_RELOC_MMIX_REG: howto manager. (line 1722)
  11765. * BFD_RELOC_MMIX_REG_OR_BYTE: howto manager. (line 1719)
  11766. * BFD_RELOC_MN10300_16_PCREL: howto manager. (line 518)
  11767. * BFD_RELOC_MN10300_32_PCREL: howto manager. (line 515)
  11768. * BFD_RELOC_MN10300_ALIGN: howto manager. (line 502)
  11769. * BFD_RELOC_MN10300_COPY: howto manager. (line 490)
  11770. * BFD_RELOC_MN10300_GLOB_DAT: howto manager. (line 492)
  11771. * BFD_RELOC_MN10300_GOT16: howto manager. (line 487)
  11772. * BFD_RELOC_MN10300_GOT24: howto manager. (line 484)
  11773. * BFD_RELOC_MN10300_GOT32: howto manager. (line 481)
  11774. * BFD_RELOC_MN10300_GOTOFF24: howto manager. (line 479)
  11775. * BFD_RELOC_MN10300_JMP_SLOT: howto manager. (line 494)
  11776. * BFD_RELOC_MN10300_RELATIVE: howto manager. (line 496)
  11777. * BFD_RELOC_MN10300_SYM_DIFF: howto manager. (line 498)
  11778. * BFD_RELOC_MN10300_TLS_DTPMOD: howto manager. (line 511)
  11779. * BFD_RELOC_MN10300_TLS_DTPOFF: howto manager. (line 512)
  11780. * BFD_RELOC_MN10300_TLS_GD: howto manager. (line 505)
  11781. * BFD_RELOC_MN10300_TLS_GOTIE: howto manager. (line 508)
  11782. * BFD_RELOC_MN10300_TLS_IE: howto manager. (line 509)
  11783. * BFD_RELOC_MN10300_TLS_LD: howto manager. (line 506)
  11784. * BFD_RELOC_MN10300_TLS_LDO: howto manager. (line 507)
  11785. * BFD_RELOC_MN10300_TLS_LE: howto manager. (line 510)
  11786. * BFD_RELOC_MN10300_TLS_TPOFF: howto manager. (line 513)
  11787. * BFD_RELOC_MOXIE_10_PCREL: howto manager. (line 427)
  11788. * BFD_RELOC_MSP430X_ABS16: howto manager. (line 2457)
  11789. * BFD_RELOC_MSP430X_ABS20_ADR_DST: howto manager. (line 2454)
  11790. * BFD_RELOC_MSP430X_ABS20_ADR_SRC: howto manager. (line 2453)
  11791. * BFD_RELOC_MSP430X_ABS20_EXT_DST: howto manager. (line 2451)
  11792. * BFD_RELOC_MSP430X_ABS20_EXT_ODST: howto manager. (line 2452)
  11793. * BFD_RELOC_MSP430X_ABS20_EXT_SRC: howto manager. (line 2450)
  11794. * BFD_RELOC_MSP430X_PCR16: howto manager. (line 2455)
  11795. * BFD_RELOC_MSP430X_PCR20_CALL: howto manager. (line 2456)
  11796. * BFD_RELOC_MSP430X_PCR20_EXT_DST: howto manager. (line 2448)
  11797. * BFD_RELOC_MSP430X_PCR20_EXT_ODST: howto manager. (line 2449)
  11798. * BFD_RELOC_MSP430X_PCR20_EXT_SRC: howto manager. (line 2447)
  11799. * BFD_RELOC_MSP430_10_PCREL: howto manager. (line 2439)
  11800. * BFD_RELOC_MSP430_16: howto manager. (line 2441)
  11801. * BFD_RELOC_MSP430_16_BYTE: howto manager. (line 2443)
  11802. * BFD_RELOC_MSP430_16_PCREL: howto manager. (line 2440)
  11803. * BFD_RELOC_MSP430_16_PCREL_BYTE: howto manager. (line 2442)
  11804. * BFD_RELOC_MSP430_2X_PCREL: howto manager. (line 2444)
  11805. * BFD_RELOC_MSP430_ABS8: howto manager. (line 2446)
  11806. * BFD_RELOC_MSP430_ABS_HI16: howto manager. (line 2458)
  11807. * BFD_RELOC_MSP430_PREL31: howto manager. (line 2459)
  11808. * BFD_RELOC_MSP430_RL_PCREL: howto manager. (line 2445)
  11809. * BFD_RELOC_MSP430_SYM_DIFF: howto manager. (line 2460)
  11810. * BFD_RELOC_MT_GNU_VTENTRY: howto manager. (line 2435)
  11811. * BFD_RELOC_MT_GNU_VTINHERIT: howto manager. (line 2433)
  11812. * BFD_RELOC_MT_HI16: howto manager. (line 2429)
  11813. * BFD_RELOC_MT_LO16: howto manager. (line 2431)
  11814. * BFD_RELOC_MT_PC16: howto manager. (line 2427)
  11815. * BFD_RELOC_MT_PCINSN8: howto manager. (line 2437)
  11816. * BFD_RELOC_NDS32_10IFCU_PCREL: howto manager. (line 1424)
  11817. * BFD_RELOC_NDS32_10_UPCREL: howto manager. (line 1395)
  11818. * BFD_RELOC_NDS32_15_FIXED: howto manager. (line 1356)
  11819. * BFD_RELOC_NDS32_15_PCREL: howto manager. (line 1282)
  11820. * BFD_RELOC_NDS32_17IFC_PCREL: howto manager. (line 1423)
  11821. * BFD_RELOC_NDS32_17_FIXED: howto manager. (line 1357)
  11822. * BFD_RELOC_NDS32_17_PCREL: howto manager. (line 1284)
  11823. * BFD_RELOC_NDS32_20: howto manager. (line 1274)
  11824. * BFD_RELOC_NDS32_25_ABS: howto manager. (line 1419)
  11825. * BFD_RELOC_NDS32_25_FIXED: howto manager. (line 1358)
  11826. * BFD_RELOC_NDS32_25_PCREL: howto manager. (line 1286)
  11827. * BFD_RELOC_NDS32_25_PLTREL: howto manager. (line 1332)
  11828. * BFD_RELOC_NDS32_5: howto manager. (line 1393)
  11829. * BFD_RELOC_NDS32_9_FIXED: howto manager. (line 1355)
  11830. * BFD_RELOC_NDS32_9_PCREL: howto manager. (line 1276)
  11831. * BFD_RELOC_NDS32_9_PLTREL: howto manager. (line 1331)
  11832. * BFD_RELOC_NDS32_COPY: howto manager. (line 1333)
  11833. * BFD_RELOC_NDS32_DATA: howto manager. (line 1421)
  11834. * BFD_RELOC_NDS32_DIFF16: howto manager. (line 1414)
  11835. * BFD_RELOC_NDS32_DIFF32: howto manager. (line 1415)
  11836. * BFD_RELOC_NDS32_DIFF8: howto manager. (line 1413)
  11837. * BFD_RELOC_NDS32_DIFF_ULEB128: howto manager. (line 1416)
  11838. * BFD_RELOC_NDS32_DWARF2_LEB: howto manager. (line 1379)
  11839. * BFD_RELOC_NDS32_DWARF2_OP1: howto manager. (line 1377)
  11840. * BFD_RELOC_NDS32_DWARF2_OP2: howto manager. (line 1378)
  11841. * BFD_RELOC_NDS32_EMPTY: howto manager. (line 1417)
  11842. * BFD_RELOC_NDS32_GLOB_DAT: howto manager. (line 1334)
  11843. * BFD_RELOC_NDS32_GOT15S2: howto manager. (line 1390)
  11844. * BFD_RELOC_NDS32_GOT17S2: howto manager. (line 1391)
  11845. * BFD_RELOC_NDS32_GOT20: howto manager. (line 1330)
  11846. * BFD_RELOC_NDS32_GOTOFF: howto manager. (line 1337)
  11847. * BFD_RELOC_NDS32_GOTOFF_HI20: howto manager. (line 1338)
  11848. * BFD_RELOC_NDS32_GOTOFF_LO12: howto manager. (line 1339)
  11849. * BFD_RELOC_NDS32_GOTOFF_LO15: howto manager. (line 1388)
  11850. * BFD_RELOC_NDS32_GOTOFF_LO19: howto manager. (line 1389)
  11851. * BFD_RELOC_NDS32_GOTOFF_SUFF: howto manager. (line 1402)
  11852. * BFD_RELOC_NDS32_GOTPC20: howto manager. (line 1340)
  11853. * BFD_RELOC_NDS32_GOTPC_HI20: howto manager. (line 1343)
  11854. * BFD_RELOC_NDS32_GOTPC_LO12: howto manager. (line 1344)
  11855. * BFD_RELOC_NDS32_GOTTPOFF: howto manager. (line 1427)
  11856. * BFD_RELOC_NDS32_GOT_HI20: howto manager. (line 1341)
  11857. * BFD_RELOC_NDS32_GOT_LO12: howto manager. (line 1342)
  11858. * BFD_RELOC_NDS32_GOT_LO15: howto manager. (line 1386)
  11859. * BFD_RELOC_NDS32_GOT_LO19: howto manager. (line 1387)
  11860. * BFD_RELOC_NDS32_GOT_SUFF: howto manager. (line 1401)
  11861. * BFD_RELOC_NDS32_GROUP: howto manager. (line 1453)
  11862. * BFD_RELOC_NDS32_HI20: howto manager. (line 1288)
  11863. * BFD_RELOC_NDS32_INSN16: howto manager. (line 1346)
  11864. * BFD_RELOC_NDS32_JMP_SLOT: howto manager. (line 1335)
  11865. * BFD_RELOC_NDS32_LABEL: howto manager. (line 1347)
  11866. * BFD_RELOC_NDS32_LO12S0: howto manager. (line 1300)
  11867. * BFD_RELOC_NDS32_LO12S0_ORI: howto manager. (line 1303)
  11868. * BFD_RELOC_NDS32_LO12S1: howto manager. (line 1297)
  11869. * BFD_RELOC_NDS32_LO12S2: howto manager. (line 1294)
  11870. * BFD_RELOC_NDS32_LO12S2_DP: howto manager. (line 1374)
  11871. * BFD_RELOC_NDS32_LO12S2_SP: howto manager. (line 1375)
  11872. * BFD_RELOC_NDS32_LO12S3: howto manager. (line 1291)
  11873. * BFD_RELOC_NDS32_LOADSTORE: howto manager. (line 1354)
  11874. * BFD_RELOC_NDS32_LONGCALL1: howto manager. (line 1348)
  11875. * BFD_RELOC_NDS32_LONGCALL2: howto manager. (line 1349)
  11876. * BFD_RELOC_NDS32_LONGCALL3: howto manager. (line 1350)
  11877. * BFD_RELOC_NDS32_LONGCALL4: howto manager. (line 1359)
  11878. * BFD_RELOC_NDS32_LONGCALL5: howto manager. (line 1360)
  11879. * BFD_RELOC_NDS32_LONGCALL6: howto manager. (line 1361)
  11880. * BFD_RELOC_NDS32_LONGJUMP1: howto manager. (line 1351)
  11881. * BFD_RELOC_NDS32_LONGJUMP2: howto manager. (line 1352)
  11882. * BFD_RELOC_NDS32_LONGJUMP3: howto manager. (line 1353)
  11883. * BFD_RELOC_NDS32_LONGJUMP4: howto manager. (line 1362)
  11884. * BFD_RELOC_NDS32_LONGJUMP5: howto manager. (line 1363)
  11885. * BFD_RELOC_NDS32_LONGJUMP6: howto manager. (line 1364)
  11886. * BFD_RELOC_NDS32_LONGJUMP7: howto manager. (line 1365)
  11887. * BFD_RELOC_NDS32_LSI: howto manager. (line 1455)
  11888. * BFD_RELOC_NDS32_MINUEND: howto manager. (line 1411)
  11889. * BFD_RELOC_NDS32_MULCALL_SUFF: howto manager. (line 1404)
  11890. * BFD_RELOC_NDS32_PLTBLOCK: howto manager. (line 1408)
  11891. * BFD_RELOC_NDS32_PLTREL_HI20: howto manager. (line 1367)
  11892. * BFD_RELOC_NDS32_PLTREL_LO12: howto manager. (line 1368)
  11893. * BFD_RELOC_NDS32_PLT_GOTREL_HI20: howto manager. (line 1369)
  11894. * BFD_RELOC_NDS32_PLT_GOTREL_LO12: howto manager. (line 1370)
  11895. * BFD_RELOC_NDS32_PLT_GOTREL_LO15: howto manager. (line 1384)
  11896. * BFD_RELOC_NDS32_PLT_GOTREL_LO19: howto manager. (line 1385)
  11897. * BFD_RELOC_NDS32_PLT_GOTREL_LO20: howto manager. (line 1383)
  11898. * BFD_RELOC_NDS32_PLT_GOT_SUFF: howto manager. (line 1403)
  11899. * BFD_RELOC_NDS32_PTR: howto manager. (line 1405)
  11900. * BFD_RELOC_NDS32_PTR_COUNT: howto manager. (line 1406)
  11901. * BFD_RELOC_NDS32_PTR_RESOLVED: howto manager. (line 1407)
  11902. * BFD_RELOC_NDS32_RELATIVE: howto manager. (line 1336)
  11903. * BFD_RELOC_NDS32_RELAX_ENTRY: howto manager. (line 1400)
  11904. * BFD_RELOC_NDS32_RELAX_REGION_BEGIN: howto manager. (line 1409)
  11905. * BFD_RELOC_NDS32_RELAX_REGION_END: howto manager. (line 1410)
  11906. * BFD_RELOC_NDS32_REMOVE: howto manager. (line 1452)
  11907. * BFD_RELOC_NDS32_SDA12S2_DP: howto manager. (line 1372)
  11908. * BFD_RELOC_NDS32_SDA12S2_SP: howto manager. (line 1373)
  11909. * BFD_RELOC_NDS32_SDA15S0: howto manager. (line 1315)
  11910. * BFD_RELOC_NDS32_SDA15S1: howto manager. (line 1312)
  11911. * BFD_RELOC_NDS32_SDA15S2: howto manager. (line 1309)
  11912. * BFD_RELOC_NDS32_SDA15S3: howto manager. (line 1306)
  11913. * BFD_RELOC_NDS32_SDA16S3: howto manager. (line 1318)
  11914. * BFD_RELOC_NDS32_SDA17S2: howto manager. (line 1321)
  11915. * BFD_RELOC_NDS32_SDA18S1: howto manager. (line 1324)
  11916. * BFD_RELOC_NDS32_SDA19S0: howto manager. (line 1327)
  11917. * BFD_RELOC_NDS32_SDA_FP7U2_RELA: howto manager. (line 1398)
  11918. * BFD_RELOC_NDS32_SUBTRAHEND: howto manager. (line 1412)
  11919. * BFD_RELOC_NDS32_TLS_DESC: howto manager. (line 1443)
  11920. * BFD_RELOC_NDS32_TLS_DESC_20: howto manager. (line 1446)
  11921. * BFD_RELOC_NDS32_TLS_DESC_ADD: howto manager. (line 1448)
  11922. * BFD_RELOC_NDS32_TLS_DESC_CALL: howto manager. (line 1450)
  11923. * BFD_RELOC_NDS32_TLS_DESC_FUNC: howto manager. (line 1449)
  11924. * BFD_RELOC_NDS32_TLS_DESC_HI20: howto manager. (line 1444)
  11925. * BFD_RELOC_NDS32_TLS_DESC_LO12: howto manager. (line 1445)
  11926. * BFD_RELOC_NDS32_TLS_DESC_MEM: howto manager. (line 1451)
  11927. * BFD_RELOC_NDS32_TLS_DESC_SDA17S2: howto manager. (line 1447)
  11928. * BFD_RELOC_NDS32_TLS_IEGP_HI20: howto manager. (line 1439)
  11929. * BFD_RELOC_NDS32_TLS_IEGP_LO12: howto manager. (line 1440)
  11930. * BFD_RELOC_NDS32_TLS_IEGP_LO12S2: howto manager. (line 1441)
  11931. * BFD_RELOC_NDS32_TLS_IEGP_LW: howto manager. (line 1442)
  11932. * BFD_RELOC_NDS32_TLS_IE_HI20: howto manager. (line 1436)
  11933. * BFD_RELOC_NDS32_TLS_IE_LO12: howto manager. (line 1437)
  11934. * BFD_RELOC_NDS32_TLS_IE_LO12S2: howto manager. (line 1438)
  11935. * BFD_RELOC_NDS32_TLS_LE_15S0: howto manager. (line 1431)
  11936. * BFD_RELOC_NDS32_TLS_LE_15S1: howto manager. (line 1432)
  11937. * BFD_RELOC_NDS32_TLS_LE_15S2: howto manager. (line 1433)
  11938. * BFD_RELOC_NDS32_TLS_LE_20: howto manager. (line 1430)
  11939. * BFD_RELOC_NDS32_TLS_LE_ADD: howto manager. (line 1434)
  11940. * BFD_RELOC_NDS32_TLS_LE_HI20: howto manager. (line 1428)
  11941. * BFD_RELOC_NDS32_TLS_LE_LO12: howto manager. (line 1429)
  11942. * BFD_RELOC_NDS32_TLS_LE_LS: howto manager. (line 1435)
  11943. * BFD_RELOC_NDS32_TPOFF: howto manager. (line 1426)
  11944. * BFD_RELOC_NDS32_TRAN: howto manager. (line 1422)
  11945. * BFD_RELOC_NDS32_UPDATE_TA: howto manager. (line 1381)
  11946. * BFD_RELOC_NDS32_WORD_9_PCREL: howto manager. (line 1279)
  11947. * BFD_RELOC_NIOS2_ALIGN: howto manager. (line 2476)
  11948. * BFD_RELOC_NIOS2_CACHE_OPX: howto manager. (line 2466)
  11949. * BFD_RELOC_NIOS2_CALL16: howto manager. (line 2478)
  11950. * BFD_RELOC_NIOS2_CALL26: howto manager. (line 2464)
  11951. * BFD_RELOC_NIOS2_CALL26_NOAT: howto manager. (line 2496)
  11952. * BFD_RELOC_NIOS2_CALLR: howto manager. (line 2475)
  11953. * BFD_RELOC_NIOS2_CALL_HA: howto manager. (line 2500)
  11954. * BFD_RELOC_NIOS2_CALL_LO: howto manager. (line 2499)
  11955. * BFD_RELOC_NIOS2_CJMP: howto manager. (line 2474)
  11956. * BFD_RELOC_NIOS2_COPY: howto manager. (line 2491)
  11957. * BFD_RELOC_NIOS2_GLOB_DAT: howto manager. (line 2492)
  11958. * BFD_RELOC_NIOS2_GOT16: howto manager. (line 2477)
  11959. * BFD_RELOC_NIOS2_GOTOFF: howto manager. (line 2495)
  11960. * BFD_RELOC_NIOS2_GOTOFF_HA: howto manager. (line 2480)
  11961. * BFD_RELOC_NIOS2_GOTOFF_LO: howto manager. (line 2479)
  11962. * BFD_RELOC_NIOS2_GOT_HA: howto manager. (line 2498)
  11963. * BFD_RELOC_NIOS2_GOT_LO: howto manager. (line 2497)
  11964. * BFD_RELOC_NIOS2_GPREL: howto manager. (line 2472)
  11965. * BFD_RELOC_NIOS2_HI16: howto manager. (line 2469)
  11966. * BFD_RELOC_NIOS2_HIADJ16: howto manager. (line 2471)
  11967. * BFD_RELOC_NIOS2_IMM5: howto manager. (line 2465)
  11968. * BFD_RELOC_NIOS2_IMM6: howto manager. (line 2467)
  11969. * BFD_RELOC_NIOS2_IMM8: howto manager. (line 2468)
  11970. * BFD_RELOC_NIOS2_JUMP_SLOT: howto manager. (line 2493)
  11971. * BFD_RELOC_NIOS2_LO16: howto manager. (line 2470)
  11972. * BFD_RELOC_NIOS2_PCREL_HA: howto manager. (line 2482)
  11973. * BFD_RELOC_NIOS2_PCREL_LO: howto manager. (line 2481)
  11974. * BFD_RELOC_NIOS2_R2_F1I5_2: howto manager. (line 2510)
  11975. * BFD_RELOC_NIOS2_R2_I10_1_PCREL: howto manager. (line 2502)
  11976. * BFD_RELOC_NIOS2_R2_L5I4X1: howto manager. (line 2511)
  11977. * BFD_RELOC_NIOS2_R2_S12: howto manager. (line 2501)
  11978. * BFD_RELOC_NIOS2_R2_T1I7_1_PCREL: howto manager. (line 2503)
  11979. * BFD_RELOC_NIOS2_R2_T1I7_2: howto manager. (line 2504)
  11980. * BFD_RELOC_NIOS2_R2_T1X1I6: howto manager. (line 2512)
  11981. * BFD_RELOC_NIOS2_R2_T1X1I6_2: howto manager. (line 2513)
  11982. * BFD_RELOC_NIOS2_R2_T2I4: howto manager. (line 2505)
  11983. * BFD_RELOC_NIOS2_R2_T2I4_1: howto manager. (line 2506)
  11984. * BFD_RELOC_NIOS2_R2_T2I4_2: howto manager. (line 2507)
  11985. * BFD_RELOC_NIOS2_R2_X1I7_2: howto manager. (line 2508)
  11986. * BFD_RELOC_NIOS2_R2_X2L5: howto manager. (line 2509)
  11987. * BFD_RELOC_NIOS2_RELATIVE: howto manager. (line 2494)
  11988. * BFD_RELOC_NIOS2_S16: howto manager. (line 2462)
  11989. * BFD_RELOC_NIOS2_TLS_DTPMOD: howto manager. (line 2488)
  11990. * BFD_RELOC_NIOS2_TLS_DTPREL: howto manager. (line 2489)
  11991. * BFD_RELOC_NIOS2_TLS_GD16: howto manager. (line 2483)
  11992. * BFD_RELOC_NIOS2_TLS_IE16: howto manager. (line 2486)
  11993. * BFD_RELOC_NIOS2_TLS_LDM16: howto manager. (line 2484)
  11994. * BFD_RELOC_NIOS2_TLS_LDO16: howto manager. (line 2485)
  11995. * BFD_RELOC_NIOS2_TLS_LE16: howto manager. (line 2487)
  11996. * BFD_RELOC_NIOS2_TLS_TPREL: howto manager. (line 2490)
  11997. * BFD_RELOC_NIOS2_U16: howto manager. (line 2463)
  11998. * BFD_RELOC_NIOS2_UJMP: howto manager. (line 2473)
  11999. * BFD_RELOC_NONE: howto manager. (line 118)
  12000. * BFD_RELOC_NS32K_DISP_16: howto manager. (line 586)
  12001. * BFD_RELOC_NS32K_DISP_16_PCREL: howto manager. (line 589)
  12002. * BFD_RELOC_NS32K_DISP_32: howto manager. (line 587)
  12003. * BFD_RELOC_NS32K_DISP_32_PCREL: howto manager. (line 590)
  12004. * BFD_RELOC_NS32K_DISP_8: howto manager. (line 585)
  12005. * BFD_RELOC_NS32K_DISP_8_PCREL: howto manager. (line 588)
  12006. * BFD_RELOC_NS32K_IMM_16: howto manager. (line 580)
  12007. * BFD_RELOC_NS32K_IMM_16_PCREL: howto manager. (line 583)
  12008. * BFD_RELOC_NS32K_IMM_32: howto manager. (line 581)
  12009. * BFD_RELOC_NS32K_IMM_32_PCREL: howto manager. (line 584)
  12010. * BFD_RELOC_NS32K_IMM_8: howto manager. (line 579)
  12011. * BFD_RELOC_NS32K_IMM_8_PCREL: howto manager. (line 582)
  12012. * bfd_reloc_offset_in_range: typedef arelent. (line 344)
  12013. * BFD_RELOC_OR1K_COPY: howto manager. (line 2377)
  12014. * BFD_RELOC_OR1K_GLOB_DAT: howto manager. (line 2378)
  12015. * BFD_RELOC_OR1K_GOT16: howto manager. (line 2371)
  12016. * BFD_RELOC_OR1K_GOTOFF_SLO16: howto manager. (line 2376)
  12017. * BFD_RELOC_OR1K_GOTPC_HI16: howto manager. (line 2369)
  12018. * BFD_RELOC_OR1K_GOTPC_LO16: howto manager. (line 2370)
  12019. * BFD_RELOC_OR1K_GOT_LO13: howto manager. (line 2373)
  12020. * BFD_RELOC_OR1K_GOT_PG21: howto manager. (line 2372)
  12021. * BFD_RELOC_OR1K_JMP_SLOT: howto manager. (line 2379)
  12022. * BFD_RELOC_OR1K_LO13: howto manager. (line 2367)
  12023. * BFD_RELOC_OR1K_PCREL_PG21: howto manager. (line 2366)
  12024. * BFD_RELOC_OR1K_PLT26: howto manager. (line 2374)
  12025. * BFD_RELOC_OR1K_PLTA26: howto manager. (line 2375)
  12026. * BFD_RELOC_OR1K_RELATIVE: howto manager. (line 2380)
  12027. * BFD_RELOC_OR1K_REL_26: howto manager. (line 2364)
  12028. * BFD_RELOC_OR1K_SLO13: howto manager. (line 2368)
  12029. * BFD_RELOC_OR1K_SLO16: howto manager. (line 2365)
  12030. * BFD_RELOC_OR1K_TLS_DTPMOD: howto manager. (line 2402)
  12031. * BFD_RELOC_OR1K_TLS_DTPOFF: howto manager. (line 2401)
  12032. * BFD_RELOC_OR1K_TLS_GD_HI16: howto manager. (line 2381)
  12033. * BFD_RELOC_OR1K_TLS_GD_LO13: howto manager. (line 2384)
  12034. * BFD_RELOC_OR1K_TLS_GD_LO16: howto manager. (line 2382)
  12035. * BFD_RELOC_OR1K_TLS_GD_PG21: howto manager. (line 2383)
  12036. * BFD_RELOC_OR1K_TLS_IE_AHI16: howto manager. (line 2392)
  12037. * BFD_RELOC_OR1K_TLS_IE_HI16: howto manager. (line 2391)
  12038. * BFD_RELOC_OR1K_TLS_IE_LO13: howto manager. (line 2395)
  12039. * BFD_RELOC_OR1K_TLS_IE_LO16: howto manager. (line 2393)
  12040. * BFD_RELOC_OR1K_TLS_IE_PG21: howto manager. (line 2394)
  12041. * BFD_RELOC_OR1K_TLS_LDM_HI16: howto manager. (line 2385)
  12042. * BFD_RELOC_OR1K_TLS_LDM_LO13: howto manager. (line 2388)
  12043. * BFD_RELOC_OR1K_TLS_LDM_LO16: howto manager. (line 2386)
  12044. * BFD_RELOC_OR1K_TLS_LDM_PG21: howto manager. (line 2387)
  12045. * BFD_RELOC_OR1K_TLS_LDO_HI16: howto manager. (line 2389)
  12046. * BFD_RELOC_OR1K_TLS_LDO_LO16: howto manager. (line 2390)
  12047. * BFD_RELOC_OR1K_TLS_LE_AHI16: howto manager. (line 2397)
  12048. * BFD_RELOC_OR1K_TLS_LE_HI16: howto manager. (line 2396)
  12049. * BFD_RELOC_OR1K_TLS_LE_LO16: howto manager. (line 2398)
  12050. * BFD_RELOC_OR1K_TLS_LE_SLO16: howto manager. (line 2399)
  12051. * BFD_RELOC_OR1K_TLS_TPOFF: howto manager. (line 2400)
  12052. * BFD_RELOC_PDP11_DISP_6_PCREL: howto manager. (line 593)
  12053. * BFD_RELOC_PDP11_DISP_8_PCREL: howto manager. (line 592)
  12054. * BFD_RELOC_PJ_CODE_DIR16: howto manager. (line 597)
  12055. * BFD_RELOC_PJ_CODE_DIR32: howto manager. (line 598)
  12056. * BFD_RELOC_PJ_CODE_HI16: howto manager. (line 595)
  12057. * BFD_RELOC_PJ_CODE_LO16: howto manager. (line 596)
  12058. * BFD_RELOC_PJ_CODE_REL16: howto manager. (line 599)
  12059. * BFD_RELOC_PJ_CODE_REL32: howto manager. (line 600)
  12060. * BFD_RELOC_PPC64_ADDR16_DS: howto manager. (line 663)
  12061. * BFD_RELOC_PPC64_ADDR16_HIGH: howto manager. (line 674)
  12062. * BFD_RELOC_PPC64_ADDR16_HIGHA: howto manager. (line 675)
  12063. * BFD_RELOC_PPC64_ADDR16_HIGHER34: howto manager. (line 692)
  12064. * BFD_RELOC_PPC64_ADDR16_HIGHERA34: howto manager. (line 693)
  12065. * BFD_RELOC_PPC64_ADDR16_HIGHEST34: howto manager. (line 694)
  12066. * BFD_RELOC_PPC64_ADDR16_HIGHESTA34: howto manager. (line 695)
  12067. * BFD_RELOC_PPC64_ADDR16_LO_DS: howto manager. (line 664)
  12068. * BFD_RELOC_PPC64_ADDR64_LOCAL: howto manager. (line 682)
  12069. * BFD_RELOC_PPC64_D28: howto manager. (line 700)
  12070. * BFD_RELOC_PPC64_D34: howto manager. (line 685)
  12071. * BFD_RELOC_PPC64_D34_HA30: howto manager. (line 688)
  12072. * BFD_RELOC_PPC64_D34_HI30: howto manager. (line 687)
  12073. * BFD_RELOC_PPC64_D34_LO: howto manager. (line 686)
  12074. * BFD_RELOC_PPC64_DTPREL16_DS: howto manager. (line 741)
  12075. * BFD_RELOC_PPC64_DTPREL16_HIGH: howto manager. (line 743)
  12076. * BFD_RELOC_PPC64_DTPREL16_HIGHA: howto manager. (line 744)
  12077. * BFD_RELOC_PPC64_DTPREL16_HIGHER: howto manager. (line 745)
  12078. * BFD_RELOC_PPC64_DTPREL16_HIGHERA: howto manager. (line 746)
  12079. * BFD_RELOC_PPC64_DTPREL16_HIGHEST: howto manager. (line 747)
  12080. * BFD_RELOC_PPC64_DTPREL16_HIGHESTA: howto manager. (line 748)
  12081. * BFD_RELOC_PPC64_DTPREL16_LO_DS: howto manager. (line 742)
  12082. * BFD_RELOC_PPC64_DTPREL34: howto manager. (line 750)
  12083. * BFD_RELOC_PPC64_ENTRY: howto manager. (line 683)
  12084. * BFD_RELOC_PPC64_GOT16_DS: howto manager. (line 665)
  12085. * BFD_RELOC_PPC64_GOT16_LO_DS: howto manager. (line 666)
  12086. * BFD_RELOC_PPC64_GOT_DTPREL34: howto manager. (line 754)
  12087. * BFD_RELOC_PPC64_GOT_PCREL34: howto manager. (line 690)
  12088. * BFD_RELOC_PPC64_GOT_TLSGD34: howto manager. (line 751)
  12089. * BFD_RELOC_PPC64_GOT_TLSLD34: howto manager. (line 752)
  12090. * BFD_RELOC_PPC64_GOT_TPREL34: howto manager. (line 753)
  12091. * BFD_RELOC_PPC64_HIGHER: howto manager. (line 651)
  12092. * BFD_RELOC_PPC64_HIGHER_S: howto manager. (line 652)
  12093. * BFD_RELOC_PPC64_HIGHEST: howto manager. (line 653)
  12094. * BFD_RELOC_PPC64_HIGHEST_S: howto manager. (line 654)
  12095. * BFD_RELOC_PPC64_PCREL28: howto manager. (line 701)
  12096. * BFD_RELOC_PPC64_PCREL34: howto manager. (line 689)
  12097. * BFD_RELOC_PPC64_PLT16_LO_DS: howto manager. (line 667)
  12098. * BFD_RELOC_PPC64_PLTGOT16: howto manager. (line 659)
  12099. * BFD_RELOC_PPC64_PLTGOT16_DS: howto manager. (line 672)
  12100. * BFD_RELOC_PPC64_PLTGOT16_HA: howto manager. (line 662)
  12101. * BFD_RELOC_PPC64_PLTGOT16_HI: howto manager. (line 661)
  12102. * BFD_RELOC_PPC64_PLTGOT16_LO: howto manager. (line 660)
  12103. * BFD_RELOC_PPC64_PLTGOT16_LO_DS: howto manager. (line 673)
  12104. * BFD_RELOC_PPC64_PLT_PCREL34: howto manager. (line 691)
  12105. * BFD_RELOC_PPC64_REL16_HIGH: howto manager. (line 676)
  12106. * BFD_RELOC_PPC64_REL16_HIGHA: howto manager. (line 677)
  12107. * BFD_RELOC_PPC64_REL16_HIGHER: howto manager. (line 678)
  12108. * BFD_RELOC_PPC64_REL16_HIGHER34: howto manager. (line 696)
  12109. * BFD_RELOC_PPC64_REL16_HIGHERA: howto manager. (line 679)
  12110. * BFD_RELOC_PPC64_REL16_HIGHERA34: howto manager. (line 697)
  12111. * BFD_RELOC_PPC64_REL16_HIGHEST: howto manager. (line 680)
  12112. * BFD_RELOC_PPC64_REL16_HIGHEST34: howto manager. (line 698)
  12113. * BFD_RELOC_PPC64_REL16_HIGHESTA: howto manager. (line 681)
  12114. * BFD_RELOC_PPC64_REL16_HIGHESTA34: howto manager. (line 699)
  12115. * BFD_RELOC_PPC64_REL24_NOTOC: howto manager. (line 684)
  12116. * BFD_RELOC_PPC64_SECTOFF_DS: howto manager. (line 668)
  12117. * BFD_RELOC_PPC64_SECTOFF_LO_DS: howto manager. (line 669)
  12118. * BFD_RELOC_PPC64_TLS_PCREL: howto manager. (line 755)
  12119. * BFD_RELOC_PPC64_TOC: howto manager. (line 658)
  12120. * BFD_RELOC_PPC64_TOC16_DS: howto manager. (line 670)
  12121. * BFD_RELOC_PPC64_TOC16_HA: howto manager. (line 657)
  12122. * BFD_RELOC_PPC64_TOC16_HI: howto manager. (line 656)
  12123. * BFD_RELOC_PPC64_TOC16_LO: howto manager. (line 655)
  12124. * BFD_RELOC_PPC64_TOC16_LO_DS: howto manager. (line 671)
  12125. * BFD_RELOC_PPC64_TPREL16_DS: howto manager. (line 733)
  12126. * BFD_RELOC_PPC64_TPREL16_HIGH: howto manager. (line 735)
  12127. * BFD_RELOC_PPC64_TPREL16_HIGHA: howto manager. (line 736)
  12128. * BFD_RELOC_PPC64_TPREL16_HIGHER: howto manager. (line 737)
  12129. * BFD_RELOC_PPC64_TPREL16_HIGHERA: howto manager. (line 738)
  12130. * BFD_RELOC_PPC64_TPREL16_HIGHEST: howto manager. (line 739)
  12131. * BFD_RELOC_PPC64_TPREL16_HIGHESTA: howto manager. (line 740)
  12132. * BFD_RELOC_PPC64_TPREL16_LO_DS: howto manager. (line 734)
  12133. * BFD_RELOC_PPC64_TPREL34: howto manager. (line 749)
  12134. * BFD_RELOC_PPC_16DX_HA: howto manager. (line 649)
  12135. * BFD_RELOC_PPC_B16: howto manager. (line 605)
  12136. * BFD_RELOC_PPC_B16_BRNTAKEN: howto manager. (line 607)
  12137. * BFD_RELOC_PPC_B16_BRTAKEN: howto manager. (line 606)
  12138. * BFD_RELOC_PPC_B26: howto manager. (line 602)
  12139. * BFD_RELOC_PPC_BA16: howto manager. (line 608)
  12140. * BFD_RELOC_PPC_BA16_BRNTAKEN: howto manager. (line 610)
  12141. * BFD_RELOC_PPC_BA16_BRTAKEN: howto manager. (line 609)
  12142. * BFD_RELOC_PPC_BA26: howto manager. (line 603)
  12143. * BFD_RELOC_PPC_COPY: howto manager. (line 611)
  12144. * BFD_RELOC_PPC_DTPMOD: howto manager. (line 706)
  12145. * BFD_RELOC_PPC_DTPREL: howto manager. (line 716)
  12146. * BFD_RELOC_PPC_DTPREL16: howto manager. (line 712)
  12147. * BFD_RELOC_PPC_DTPREL16_HA: howto manager. (line 715)
  12148. * BFD_RELOC_PPC_DTPREL16_HI: howto manager. (line 714)
  12149. * BFD_RELOC_PPC_DTPREL16_LO: howto manager. (line 713)
  12150. * BFD_RELOC_PPC_EMB_BIT_FLD: howto manager. (line 630)
  12151. * BFD_RELOC_PPC_EMB_MRKREF: howto manager. (line 625)
  12152. * BFD_RELOC_PPC_EMB_NADDR16: howto manager. (line 617)
  12153. * BFD_RELOC_PPC_EMB_NADDR16_HA: howto manager. (line 620)
  12154. * BFD_RELOC_PPC_EMB_NADDR16_HI: howto manager. (line 619)
  12155. * BFD_RELOC_PPC_EMB_NADDR16_LO: howto manager. (line 618)
  12156. * BFD_RELOC_PPC_EMB_NADDR32: howto manager. (line 616)
  12157. * BFD_RELOC_PPC_EMB_RELSDA: howto manager. (line 631)
  12158. * BFD_RELOC_PPC_EMB_RELSEC16: howto manager. (line 626)
  12159. * BFD_RELOC_PPC_EMB_RELST_HA: howto manager. (line 629)
  12160. * BFD_RELOC_PPC_EMB_RELST_HI: howto manager. (line 628)
  12161. * BFD_RELOC_PPC_EMB_RELST_LO: howto manager. (line 627)
  12162. * BFD_RELOC_PPC_EMB_SDA21: howto manager. (line 624)
  12163. * BFD_RELOC_PPC_EMB_SDA2I16: howto manager. (line 622)
  12164. * BFD_RELOC_PPC_EMB_SDA2REL: howto manager. (line 623)
  12165. * BFD_RELOC_PPC_EMB_SDAI16: howto manager. (line 621)
  12166. * BFD_RELOC_PPC_GLOB_DAT: howto manager. (line 612)
  12167. * BFD_RELOC_PPC_GOT_DTPREL16: howto manager. (line 729)
  12168. * BFD_RELOC_PPC_GOT_DTPREL16_HA: howto manager. (line 732)
  12169. * BFD_RELOC_PPC_GOT_DTPREL16_HI: howto manager. (line 731)
  12170. * BFD_RELOC_PPC_GOT_DTPREL16_LO: howto manager. (line 730)
  12171. * BFD_RELOC_PPC_GOT_TLSGD16: howto manager. (line 717)
  12172. * BFD_RELOC_PPC_GOT_TLSGD16_HA: howto manager. (line 720)
  12173. * BFD_RELOC_PPC_GOT_TLSGD16_HI: howto manager. (line 719)
  12174. * BFD_RELOC_PPC_GOT_TLSGD16_LO: howto manager. (line 718)
  12175. * BFD_RELOC_PPC_GOT_TLSLD16: howto manager. (line 721)
  12176. * BFD_RELOC_PPC_GOT_TLSLD16_HA: howto manager. (line 724)
  12177. * BFD_RELOC_PPC_GOT_TLSLD16_HI: howto manager. (line 723)
  12178. * BFD_RELOC_PPC_GOT_TLSLD16_LO: howto manager. (line 722)
  12179. * BFD_RELOC_PPC_GOT_TPREL16: howto manager. (line 725)
  12180. * BFD_RELOC_PPC_GOT_TPREL16_HA: howto manager. (line 728)
  12181. * BFD_RELOC_PPC_GOT_TPREL16_HI: howto manager. (line 727)
  12182. * BFD_RELOC_PPC_GOT_TPREL16_LO: howto manager. (line 726)
  12183. * BFD_RELOC_PPC_JMP_SLOT: howto manager. (line 613)
  12184. * BFD_RELOC_PPC_LOCAL24PC: howto manager. (line 615)
  12185. * BFD_RELOC_PPC_REL16DX_HA: howto manager. (line 650)
  12186. * BFD_RELOC_PPC_RELATIVE: howto manager. (line 614)
  12187. * BFD_RELOC_PPC_TLS: howto manager. (line 703)
  12188. * BFD_RELOC_PPC_TLSGD: howto manager. (line 704)
  12189. * BFD_RELOC_PPC_TLSLD: howto manager. (line 705)
  12190. * BFD_RELOC_PPC_TOC16: howto manager. (line 604)
  12191. * BFD_RELOC_PPC_TPREL: howto manager. (line 711)
  12192. * BFD_RELOC_PPC_TPREL16: howto manager. (line 707)
  12193. * BFD_RELOC_PPC_TPREL16_HA: howto manager. (line 710)
  12194. * BFD_RELOC_PPC_TPREL16_HI: howto manager. (line 709)
  12195. * BFD_RELOC_PPC_TPREL16_LO: howto manager. (line 708)
  12196. * BFD_RELOC_PPC_VLE_HA16A: howto manager. (line 639)
  12197. * BFD_RELOC_PPC_VLE_HA16D: howto manager. (line 640)
  12198. * BFD_RELOC_PPC_VLE_HI16A: howto manager. (line 637)
  12199. * BFD_RELOC_PPC_VLE_HI16D: howto manager. (line 638)
  12200. * BFD_RELOC_PPC_VLE_LO16A: howto manager. (line 635)
  12201. * BFD_RELOC_PPC_VLE_LO16D: howto manager. (line 636)
  12202. * BFD_RELOC_PPC_VLE_REL15: howto manager. (line 633)
  12203. * BFD_RELOC_PPC_VLE_REL24: howto manager. (line 634)
  12204. * BFD_RELOC_PPC_VLE_REL8: howto manager. (line 632)
  12205. * BFD_RELOC_PPC_VLE_SDA21: howto manager. (line 641)
  12206. * BFD_RELOC_PPC_VLE_SDA21_LO: howto manager. (line 642)
  12207. * BFD_RELOC_PPC_VLE_SDAREL_HA16A: howto manager. (line 647)
  12208. * BFD_RELOC_PPC_VLE_SDAREL_HA16D: howto manager. (line 648)
  12209. * BFD_RELOC_PPC_VLE_SDAREL_HI16A: howto manager. (line 645)
  12210. * BFD_RELOC_PPC_VLE_SDAREL_HI16D: howto manager. (line 646)
  12211. * BFD_RELOC_PPC_VLE_SDAREL_LO16A: howto manager. (line 643)
  12212. * BFD_RELOC_PPC_VLE_SDAREL_LO16D: howto manager. (line 644)
  12213. * BFD_RELOC_PRU_16_PMEM: howto manager. (line 2528)
  12214. * BFD_RELOC_PRU_32_PMEM: howto manager. (line 2527)
  12215. * BFD_RELOC_PRU_GNU_DIFF16: howto manager. (line 2532)
  12216. * BFD_RELOC_PRU_GNU_DIFF16_PMEM: howto manager. (line 2534)
  12217. * BFD_RELOC_PRU_GNU_DIFF32: howto manager. (line 2533)
  12218. * BFD_RELOC_PRU_GNU_DIFF32_PMEM: howto manager. (line 2535)
  12219. * BFD_RELOC_PRU_GNU_DIFF8: howto manager. (line 2531)
  12220. * BFD_RELOC_PRU_LDI32: howto manager. (line 2519)
  12221. * BFD_RELOC_PRU_S10_PCREL: howto manager. (line 2523)
  12222. * BFD_RELOC_PRU_U16: howto manager. (line 2515)
  12223. * BFD_RELOC_PRU_U16_PMEMIMM: howto manager. (line 2517)
  12224. * BFD_RELOC_PRU_U8_PCREL: howto manager. (line 2525)
  12225. * BFD_RELOC_RELC: howto manager. (line 2416)
  12226. * BFD_RELOC_RISCV_32_PCREL: howto manager. (line 1885)
  12227. * BFD_RELOC_RISCV_ADD16: howto manager. (line 1853)
  12228. * BFD_RELOC_RISCV_ADD32: howto manager. (line 1854)
  12229. * BFD_RELOC_RISCV_ADD64: howto manager. (line 1855)
  12230. * BFD_RELOC_RISCV_ADD8: howto manager. (line 1852)
  12231. * BFD_RELOC_RISCV_ALIGN: howto manager. (line 1870)
  12232. * BFD_RELOC_RISCV_CALL: howto manager. (line 1850)
  12233. * BFD_RELOC_RISCV_CALL_PLT: howto manager. (line 1851)
  12234. * BFD_RELOC_RISCV_CFA: howto manager. (line 1879)
  12235. * BFD_RELOC_RISCV_GOT_HI20: howto manager. (line 1860)
  12236. * BFD_RELOC_RISCV_GPREL12_I: howto manager. (line 1844)
  12237. * BFD_RELOC_RISCV_GPREL12_S: howto manager. (line 1845)
  12238. * BFD_RELOC_RISCV_GPREL_I: howto manager. (line 1874)
  12239. * BFD_RELOC_RISCV_GPREL_S: howto manager. (line 1875)
  12240. * BFD_RELOC_RISCV_HI20: howto manager. (line 1838)
  12241. * BFD_RELOC_RISCV_JMP: howto manager. (line 1863)
  12242. * BFD_RELOC_RISCV_LO12_I: howto manager. (line 1842)
  12243. * BFD_RELOC_RISCV_LO12_S: howto manager. (line 1843)
  12244. * BFD_RELOC_RISCV_PCREL_HI20: howto manager. (line 1839)
  12245. * BFD_RELOC_RISCV_PCREL_LO12_I: howto manager. (line 1840)
  12246. * BFD_RELOC_RISCV_PCREL_LO12_S: howto manager. (line 1841)
  12247. * BFD_RELOC_RISCV_RELAX: howto manager. (line 1878)
  12248. * BFD_RELOC_RISCV_RVC_BRANCH: howto manager. (line 1871)
  12249. * BFD_RELOC_RISCV_RVC_JUMP: howto manager. (line 1872)
  12250. * BFD_RELOC_RISCV_RVC_LUI: howto manager. (line 1873)
  12251. * BFD_RELOC_RISCV_SET16: howto manager. (line 1883)
  12252. * BFD_RELOC_RISCV_SET32: howto manager. (line 1884)
  12253. * BFD_RELOC_RISCV_SET6: howto manager. (line 1881)
  12254. * BFD_RELOC_RISCV_SET8: howto manager. (line 1882)
  12255. * BFD_RELOC_RISCV_SUB16: howto manager. (line 1857)
  12256. * BFD_RELOC_RISCV_SUB32: howto manager. (line 1858)
  12257. * BFD_RELOC_RISCV_SUB6: howto manager. (line 1880)
  12258. * BFD_RELOC_RISCV_SUB64: howto manager. (line 1859)
  12259. * BFD_RELOC_RISCV_SUB8: howto manager. (line 1856)
  12260. * BFD_RELOC_RISCV_TLS_DTPMOD32: howto manager. (line 1864)
  12261. * BFD_RELOC_RISCV_TLS_DTPMOD64: howto manager. (line 1866)
  12262. * BFD_RELOC_RISCV_TLS_DTPREL32: howto manager. (line 1865)
  12263. * BFD_RELOC_RISCV_TLS_DTPREL64: howto manager. (line 1867)
  12264. * BFD_RELOC_RISCV_TLS_GD_HI20: howto manager. (line 1862)
  12265. * BFD_RELOC_RISCV_TLS_GOT_HI20: howto manager. (line 1861)
  12266. * BFD_RELOC_RISCV_TLS_TPREL32: howto manager. (line 1868)
  12267. * BFD_RELOC_RISCV_TLS_TPREL64: howto manager. (line 1869)
  12268. * BFD_RELOC_RISCV_TPREL_ADD: howto manager. (line 1849)
  12269. * BFD_RELOC_RISCV_TPREL_HI20: howto manager. (line 1846)
  12270. * BFD_RELOC_RISCV_TPREL_I: howto manager. (line 1876)
  12271. * BFD_RELOC_RISCV_TPREL_LO12_I: howto manager. (line 1847)
  12272. * BFD_RELOC_RISCV_TPREL_LO12_S: howto manager. (line 1848)
  12273. * BFD_RELOC_RISCV_TPREL_S: howto manager. (line 1877)
  12274. * BFD_RELOC_RL78_16U: howto manager. (line 1895)
  12275. * BFD_RELOC_RL78_16_OP: howto manager. (line 1891)
  12276. * BFD_RELOC_RL78_24U: howto manager. (line 1896)
  12277. * BFD_RELOC_RL78_24_OP: howto manager. (line 1892)
  12278. * BFD_RELOC_RL78_32_OP: howto manager. (line 1893)
  12279. * BFD_RELOC_RL78_8U: howto manager. (line 1894)
  12280. * BFD_RELOC_RL78_ABS16: howto manager. (line 1908)
  12281. * BFD_RELOC_RL78_ABS16U: howto manager. (line 1912)
  12282. * BFD_RELOC_RL78_ABS16UL: howto manager. (line 1914)
  12283. * BFD_RELOC_RL78_ABS16UW: howto manager. (line 1913)
  12284. * BFD_RELOC_RL78_ABS16_REV: howto manager. (line 1909)
  12285. * BFD_RELOC_RL78_ABS32: howto manager. (line 1910)
  12286. * BFD_RELOC_RL78_ABS32_REV: howto manager. (line 1911)
  12287. * BFD_RELOC_RL78_ABS8: howto manager. (line 1907)
  12288. * BFD_RELOC_RL78_CODE: howto manager. (line 1919)
  12289. * BFD_RELOC_RL78_DIFF: howto manager. (line 1898)
  12290. * BFD_RELOC_RL78_DIR3U_PCREL: howto manager. (line 1897)
  12291. * BFD_RELOC_RL78_GPRELB: howto manager. (line 1899)
  12292. * BFD_RELOC_RL78_GPRELL: howto manager. (line 1901)
  12293. * BFD_RELOC_RL78_GPRELW: howto manager. (line 1900)
  12294. * BFD_RELOC_RL78_HI16: howto manager. (line 1916)
  12295. * BFD_RELOC_RL78_HI8: howto manager. (line 1917)
  12296. * BFD_RELOC_RL78_LO16: howto manager. (line 1918)
  12297. * BFD_RELOC_RL78_NEG16: howto manager. (line 1888)
  12298. * BFD_RELOC_RL78_NEG24: howto manager. (line 1889)
  12299. * BFD_RELOC_RL78_NEG32: howto manager. (line 1890)
  12300. * BFD_RELOC_RL78_NEG8: howto manager. (line 1887)
  12301. * BFD_RELOC_RL78_OP_AND: howto manager. (line 1905)
  12302. * BFD_RELOC_RL78_OP_NEG: howto manager. (line 1904)
  12303. * BFD_RELOC_RL78_OP_SHRA: howto manager. (line 1906)
  12304. * BFD_RELOC_RL78_OP_SUBTRACT: howto manager. (line 1903)
  12305. * BFD_RELOC_RL78_RELAX: howto manager. (line 1915)
  12306. * BFD_RELOC_RL78_SADDR: howto manager. (line 1920)
  12307. * BFD_RELOC_RL78_SYM: howto manager. (line 1902)
  12308. * BFD_RELOC_RVA: howto manager. (line 95)
  12309. * BFD_RELOC_RX_16U: howto manager. (line 1930)
  12310. * BFD_RELOC_RX_16_OP: howto manager. (line 1926)
  12311. * BFD_RELOC_RX_24U: howto manager. (line 1931)
  12312. * BFD_RELOC_RX_24_OP: howto manager. (line 1927)
  12313. * BFD_RELOC_RX_32_OP: howto manager. (line 1928)
  12314. * BFD_RELOC_RX_8U: howto manager. (line 1929)
  12315. * BFD_RELOC_RX_ABS16: howto manager. (line 1941)
  12316. * BFD_RELOC_RX_ABS16U: howto manager. (line 1945)
  12317. * BFD_RELOC_RX_ABS16UL: howto manager. (line 1947)
  12318. * BFD_RELOC_RX_ABS16UW: howto manager. (line 1946)
  12319. * BFD_RELOC_RX_ABS16_REV: howto manager. (line 1942)
  12320. * BFD_RELOC_RX_ABS32: howto manager. (line 1943)
  12321. * BFD_RELOC_RX_ABS32_REV: howto manager. (line 1944)
  12322. * BFD_RELOC_RX_ABS8: howto manager. (line 1940)
  12323. * BFD_RELOC_RX_DIFF: howto manager. (line 1933)
  12324. * BFD_RELOC_RX_DIR3U_PCREL: howto manager. (line 1932)
  12325. * BFD_RELOC_RX_GPRELB: howto manager. (line 1934)
  12326. * BFD_RELOC_RX_GPRELL: howto manager. (line 1936)
  12327. * BFD_RELOC_RX_GPRELW: howto manager. (line 1935)
  12328. * BFD_RELOC_RX_NEG16: howto manager. (line 1923)
  12329. * BFD_RELOC_RX_NEG24: howto manager. (line 1924)
  12330. * BFD_RELOC_RX_NEG32: howto manager. (line 1925)
  12331. * BFD_RELOC_RX_NEG8: howto manager. (line 1922)
  12332. * BFD_RELOC_RX_OP_NEG: howto manager. (line 1939)
  12333. * BFD_RELOC_RX_OP_SUBTRACT: howto manager. (line 1938)
  12334. * BFD_RELOC_RX_RELAX: howto manager. (line 1948)
  12335. * BFD_RELOC_RX_SYM: howto manager. (line 1937)
  12336. * BFD_RELOC_S12Z_15_PCREL: howto manager. (line 2260)
  12337. * BFD_RELOC_S12Z_OPR: howto manager. (line 3403)
  12338. * BFD_RELOC_SCORE16_BRANCH: howto manager. (line 2051)
  12339. * BFD_RELOC_SCORE16_JMP: howto manager. (line 2049)
  12340. * BFD_RELOC_SCORE_BCMP: howto manager. (line 2053)
  12341. * BFD_RELOC_SCORE_BRANCH: howto manager. (line 2043)
  12342. * BFD_RELOC_SCORE_CALL15: howto manager. (line 2057)
  12343. * BFD_RELOC_SCORE_DUMMY2: howto manager. (line 2040)
  12344. * BFD_RELOC_SCORE_DUMMY_HI16: howto manager. (line 2058)
  12345. * BFD_RELOC_SCORE_GOT15: howto manager. (line 2055)
  12346. * BFD_RELOC_SCORE_GOT_LO16: howto manager. (line 2056)
  12347. * BFD_RELOC_SCORE_GPREL15: howto manager. (line 2038)
  12348. * BFD_RELOC_SCORE_IMM30: howto manager. (line 2045)
  12349. * BFD_RELOC_SCORE_IMM32: howto manager. (line 2047)
  12350. * BFD_RELOC_SCORE_JMP: howto manager. (line 2041)
  12351. * BFD_RELOC_SH_ALIGN: howto manager. (line 952)
  12352. * BFD_RELOC_SH_CODE: howto manager. (line 953)
  12353. * BFD_RELOC_SH_COPY: howto manager. (line 958)
  12354. * BFD_RELOC_SH_COPY64: howto manager. (line 983)
  12355. * BFD_RELOC_SH_COUNT: howto manager. (line 951)
  12356. * BFD_RELOC_SH_DATA: howto manager. (line 954)
  12357. * BFD_RELOC_SH_DISP12: howto manager. (line 934)
  12358. * BFD_RELOC_SH_DISP12BY2: howto manager. (line 935)
  12359. * BFD_RELOC_SH_DISP12BY4: howto manager. (line 936)
  12360. * BFD_RELOC_SH_DISP12BY8: howto manager. (line 937)
  12361. * BFD_RELOC_SH_DISP20: howto manager. (line 938)
  12362. * BFD_RELOC_SH_DISP20BY8: howto manager. (line 939)
  12363. * BFD_RELOC_SH_FUNCDESC: howto manager. (line 1026)
  12364. * BFD_RELOC_SH_GLOB_DAT: howto manager. (line 959)
  12365. * BFD_RELOC_SH_GLOB_DAT64: howto manager. (line 984)
  12366. * BFD_RELOC_SH_GOT10BY4: howto manager. (line 987)
  12367. * BFD_RELOC_SH_GOT10BY8: howto manager. (line 988)
  12368. * BFD_RELOC_SH_GOT20: howto manager. (line 1020)
  12369. * BFD_RELOC_SH_GOTFUNCDESC: howto manager. (line 1022)
  12370. * BFD_RELOC_SH_GOTFUNCDESC20: howto manager. (line 1023)
  12371. * BFD_RELOC_SH_GOTOFF20: howto manager. (line 1021)
  12372. * BFD_RELOC_SH_GOTOFFFUNCDESC: howto manager. (line 1024)
  12373. * BFD_RELOC_SH_GOTOFFFUNCDESC20: howto manager. (line 1025)
  12374. * BFD_RELOC_SH_GOTOFF_HI16: howto manager. (line 978)
  12375. * BFD_RELOC_SH_GOTOFF_LOW16: howto manager. (line 975)
  12376. * BFD_RELOC_SH_GOTOFF_MEDHI16: howto manager. (line 977)
  12377. * BFD_RELOC_SH_GOTOFF_MEDLOW16: howto manager. (line 976)
  12378. * BFD_RELOC_SH_GOTPC: howto manager. (line 962)
  12379. * BFD_RELOC_SH_GOTPC_HI16: howto manager. (line 982)
  12380. * BFD_RELOC_SH_GOTPC_LOW16: howto manager. (line 979)
  12381. * BFD_RELOC_SH_GOTPC_MEDHI16: howto manager. (line 981)
  12382. * BFD_RELOC_SH_GOTPC_MEDLOW16: howto manager. (line 980)
  12383. * BFD_RELOC_SH_GOTPLT10BY4: howto manager. (line 989)
  12384. * BFD_RELOC_SH_GOTPLT10BY8: howto manager. (line 990)
  12385. * BFD_RELOC_SH_GOTPLT32: howto manager. (line 991)
  12386. * BFD_RELOC_SH_GOTPLT_HI16: howto manager. (line 970)
  12387. * BFD_RELOC_SH_GOTPLT_LOW16: howto manager. (line 967)
  12388. * BFD_RELOC_SH_GOTPLT_MEDHI16: howto manager. (line 969)
  12389. * BFD_RELOC_SH_GOTPLT_MEDLOW16: howto manager. (line 968)
  12390. * BFD_RELOC_SH_GOT_HI16: howto manager. (line 966)
  12391. * BFD_RELOC_SH_GOT_LOW16: howto manager. (line 963)
  12392. * BFD_RELOC_SH_GOT_MEDHI16: howto manager. (line 965)
  12393. * BFD_RELOC_SH_GOT_MEDLOW16: howto manager. (line 964)
  12394. * BFD_RELOC_SH_IMM3: howto manager. (line 932)
  12395. * BFD_RELOC_SH_IMM3U: howto manager. (line 933)
  12396. * BFD_RELOC_SH_IMM4: howto manager. (line 940)
  12397. * BFD_RELOC_SH_IMM4BY2: howto manager. (line 941)
  12398. * BFD_RELOC_SH_IMM4BY4: howto manager. (line 942)
  12399. * BFD_RELOC_SH_IMM8: howto manager. (line 943)
  12400. * BFD_RELOC_SH_IMM8BY2: howto manager. (line 944)
  12401. * BFD_RELOC_SH_IMM8BY4: howto manager. (line 945)
  12402. * BFD_RELOC_SH_IMMS10: howto manager. (line 997)
  12403. * BFD_RELOC_SH_IMMS10BY2: howto manager. (line 998)
  12404. * BFD_RELOC_SH_IMMS10BY4: howto manager. (line 999)
  12405. * BFD_RELOC_SH_IMMS10BY8: howto manager. (line 1000)
  12406. * BFD_RELOC_SH_IMMS16: howto manager. (line 1001)
  12407. * BFD_RELOC_SH_IMMS6: howto manager. (line 994)
  12408. * BFD_RELOC_SH_IMMS6BY32: howto manager. (line 995)
  12409. * BFD_RELOC_SH_IMMU16: howto manager. (line 1002)
  12410. * BFD_RELOC_SH_IMMU5: howto manager. (line 993)
  12411. * BFD_RELOC_SH_IMMU6: howto manager. (line 996)
  12412. * BFD_RELOC_SH_IMM_HI16: howto manager. (line 1009)
  12413. * BFD_RELOC_SH_IMM_HI16_PCREL: howto manager. (line 1010)
  12414. * BFD_RELOC_SH_IMM_LOW16: howto manager. (line 1003)
  12415. * BFD_RELOC_SH_IMM_LOW16_PCREL: howto manager. (line 1004)
  12416. * BFD_RELOC_SH_IMM_MEDHI16: howto manager. (line 1007)
  12417. * BFD_RELOC_SH_IMM_MEDHI16_PCREL: howto manager. (line 1008)
  12418. * BFD_RELOC_SH_IMM_MEDLOW16: howto manager. (line 1005)
  12419. * BFD_RELOC_SH_IMM_MEDLOW16_PCREL: howto manager. (line 1006)
  12420. * BFD_RELOC_SH_JMP_SLOT: howto manager. (line 960)
  12421. * BFD_RELOC_SH_JMP_SLOT64: howto manager. (line 985)
  12422. * BFD_RELOC_SH_LABEL: howto manager. (line 955)
  12423. * BFD_RELOC_SH_LOOP_END: howto manager. (line 957)
  12424. * BFD_RELOC_SH_LOOP_START: howto manager. (line 956)
  12425. * BFD_RELOC_SH_PCDISP12BY2: howto manager. (line 931)
  12426. * BFD_RELOC_SH_PCDISP8BY2: howto manager. (line 930)
  12427. * BFD_RELOC_SH_PCRELIMM8BY2: howto manager. (line 946)
  12428. * BFD_RELOC_SH_PCRELIMM8BY4: howto manager. (line 947)
  12429. * BFD_RELOC_SH_PLT_HI16: howto manager. (line 974)
  12430. * BFD_RELOC_SH_PLT_LOW16: howto manager. (line 971)
  12431. * BFD_RELOC_SH_PLT_MEDHI16: howto manager. (line 973)
  12432. * BFD_RELOC_SH_PLT_MEDLOW16: howto manager. (line 972)
  12433. * BFD_RELOC_SH_PT_16: howto manager. (line 1011)
  12434. * BFD_RELOC_SH_RELATIVE: howto manager. (line 961)
  12435. * BFD_RELOC_SH_RELATIVE64: howto manager. (line 986)
  12436. * BFD_RELOC_SH_SHMEDIA_CODE: howto manager. (line 992)
  12437. * BFD_RELOC_SH_SWITCH16: howto manager. (line 948)
  12438. * BFD_RELOC_SH_SWITCH32: howto manager. (line 949)
  12439. * BFD_RELOC_SH_TLS_DTPMOD32: howto manager. (line 1017)
  12440. * BFD_RELOC_SH_TLS_DTPOFF32: howto manager. (line 1018)
  12441. * BFD_RELOC_SH_TLS_GD_32: howto manager. (line 1012)
  12442. * BFD_RELOC_SH_TLS_IE_32: howto manager. (line 1015)
  12443. * BFD_RELOC_SH_TLS_LDO_32: howto manager. (line 1014)
  12444. * BFD_RELOC_SH_TLS_LD_32: howto manager. (line 1013)
  12445. * BFD_RELOC_SH_TLS_LE_32: howto manager. (line 1016)
  12446. * BFD_RELOC_SH_TLS_TPOFF32: howto manager. (line 1019)
  12447. * BFD_RELOC_SH_USES: howto manager. (line 950)
  12448. * BFD_RELOC_SIZE32: howto manager. (line 67)
  12449. * BFD_RELOC_SIZE64: howto manager. (line 68)
  12450. * BFD_RELOC_SPARC13: howto manager. (line 121)
  12451. * BFD_RELOC_SPARC22: howto manager. (line 120)
  12452. * BFD_RELOC_SPARC_10: howto manager. (line 148)
  12453. * BFD_RELOC_SPARC_11: howto manager. (line 149)
  12454. * BFD_RELOC_SPARC_5: howto manager. (line 161)
  12455. * BFD_RELOC_SPARC_6: howto manager. (line 160)
  12456. * BFD_RELOC_SPARC_64: howto manager. (line 147)
  12457. * BFD_RELOC_SPARC_7: howto manager. (line 159)
  12458. * BFD_RELOC_SPARC_BASE13: howto manager. (line 144)
  12459. * BFD_RELOC_SPARC_BASE22: howto manager. (line 145)
  12460. * BFD_RELOC_SPARC_COPY: howto manager. (line 128)
  12461. * BFD_RELOC_SPARC_DISP64: howto manager. (line 162)
  12462. * BFD_RELOC_SPARC_GLOB_DAT: howto manager. (line 129)
  12463. * BFD_RELOC_SPARC_GOT10: howto manager. (line 122)
  12464. * BFD_RELOC_SPARC_GOT13: howto manager. (line 123)
  12465. * BFD_RELOC_SPARC_GOT22: howto manager. (line 124)
  12466. * BFD_RELOC_SPARC_GOTDATA_HIX22: howto manager. (line 135)
  12467. * BFD_RELOC_SPARC_GOTDATA_LOX10: howto manager. (line 136)
  12468. * BFD_RELOC_SPARC_GOTDATA_OP: howto manager. (line 139)
  12469. * BFD_RELOC_SPARC_GOTDATA_OP_HIX22: howto manager. (line 137)
  12470. * BFD_RELOC_SPARC_GOTDATA_OP_LOX10: howto manager. (line 138)
  12471. * BFD_RELOC_SPARC_H34: howto manager. (line 171)
  12472. * BFD_RELOC_SPARC_H44: howto manager. (line 167)
  12473. * BFD_RELOC_SPARC_HH22: howto manager. (line 151)
  12474. * BFD_RELOC_SPARC_HIX22: howto manager. (line 165)
  12475. * BFD_RELOC_SPARC_HM10: howto manager. (line 152)
  12476. * BFD_RELOC_SPARC_IRELATIVE: howto manager. (line 141)
  12477. * BFD_RELOC_SPARC_JMP_IREL: howto manager. (line 140)
  12478. * BFD_RELOC_SPARC_JMP_SLOT: howto manager. (line 130)
  12479. * BFD_RELOC_SPARC_L44: howto manager. (line 169)
  12480. * BFD_RELOC_SPARC_LM22: howto manager. (line 153)
  12481. * BFD_RELOC_SPARC_LOX10: howto manager. (line 166)
  12482. * BFD_RELOC_SPARC_M44: howto manager. (line 168)
  12483. * BFD_RELOC_SPARC_OLO10: howto manager. (line 150)
  12484. * BFD_RELOC_SPARC_PC10: howto manager. (line 125)
  12485. * BFD_RELOC_SPARC_PC22: howto manager. (line 126)
  12486. * BFD_RELOC_SPARC_PC_HH22: howto manager. (line 154)
  12487. * BFD_RELOC_SPARC_PC_HM10: howto manager. (line 155)
  12488. * BFD_RELOC_SPARC_PC_LM22: howto manager. (line 156)
  12489. * BFD_RELOC_SPARC_PLT32: howto manager. (line 163)
  12490. * BFD_RELOC_SPARC_PLT64: howto manager. (line 164)
  12491. * BFD_RELOC_SPARC_REGISTER: howto manager. (line 170)
  12492. * BFD_RELOC_SPARC_RELATIVE: howto manager. (line 131)
  12493. * BFD_RELOC_SPARC_REV32: howto manager. (line 176)
  12494. * BFD_RELOC_SPARC_SIZE32: howto manager. (line 172)
  12495. * BFD_RELOC_SPARC_SIZE64: howto manager. (line 173)
  12496. * BFD_RELOC_SPARC_TLS_DTPMOD32: howto manager. (line 196)
  12497. * BFD_RELOC_SPARC_TLS_DTPMOD64: howto manager. (line 197)
  12498. * BFD_RELOC_SPARC_TLS_DTPOFF32: howto manager. (line 198)
  12499. * BFD_RELOC_SPARC_TLS_DTPOFF64: howto manager. (line 199)
  12500. * BFD_RELOC_SPARC_TLS_GD_ADD: howto manager. (line 180)
  12501. * BFD_RELOC_SPARC_TLS_GD_CALL: howto manager. (line 181)
  12502. * BFD_RELOC_SPARC_TLS_GD_HI22: howto manager. (line 178)
  12503. * BFD_RELOC_SPARC_TLS_GD_LO10: howto manager. (line 179)
  12504. * BFD_RELOC_SPARC_TLS_IE_ADD: howto manager. (line 193)
  12505. * BFD_RELOC_SPARC_TLS_IE_HI22: howto manager. (line 189)
  12506. * BFD_RELOC_SPARC_TLS_IE_LD: howto manager. (line 191)
  12507. * BFD_RELOC_SPARC_TLS_IE_LDX: howto manager. (line 192)
  12508. * BFD_RELOC_SPARC_TLS_IE_LO10: howto manager. (line 190)
  12509. * BFD_RELOC_SPARC_TLS_LDM_ADD: howto manager. (line 184)
  12510. * BFD_RELOC_SPARC_TLS_LDM_CALL: howto manager. (line 185)
  12511. * BFD_RELOC_SPARC_TLS_LDM_HI22: howto manager. (line 182)
  12512. * BFD_RELOC_SPARC_TLS_LDM_LO10: howto manager. (line 183)
  12513. * BFD_RELOC_SPARC_TLS_LDO_ADD: howto manager. (line 188)
  12514. * BFD_RELOC_SPARC_TLS_LDO_HIX22: howto manager. (line 186)
  12515. * BFD_RELOC_SPARC_TLS_LDO_LOX10: howto manager. (line 187)
  12516. * BFD_RELOC_SPARC_TLS_LE_HIX22: howto manager. (line 194)
  12517. * BFD_RELOC_SPARC_TLS_LE_LOX10: howto manager. (line 195)
  12518. * BFD_RELOC_SPARC_TLS_TPOFF32: howto manager. (line 200)
  12519. * BFD_RELOC_SPARC_TLS_TPOFF64: howto manager. (line 201)
  12520. * BFD_RELOC_SPARC_UA16: howto manager. (line 132)
  12521. * BFD_RELOC_SPARC_UA32: howto manager. (line 133)
  12522. * BFD_RELOC_SPARC_UA64: howto manager. (line 134)
  12523. * BFD_RELOC_SPARC_WDISP10: howto manager. (line 174)
  12524. * BFD_RELOC_SPARC_WDISP16: howto manager. (line 157)
  12525. * BFD_RELOC_SPARC_WDISP19: howto manager. (line 158)
  12526. * BFD_RELOC_SPARC_WDISP22: howto manager. (line 119)
  12527. * BFD_RELOC_SPARC_WPLT30: howto manager. (line 127)
  12528. * BFD_RELOC_SPU_ADD_PIC: howto manager. (line 217)
  12529. * BFD_RELOC_SPU_HI16: howto manager. (line 214)
  12530. * BFD_RELOC_SPU_IMM10: howto manager. (line 205)
  12531. * BFD_RELOC_SPU_IMM10W: howto manager. (line 206)
  12532. * BFD_RELOC_SPU_IMM16: howto manager. (line 207)
  12533. * BFD_RELOC_SPU_IMM16W: howto manager. (line 208)
  12534. * BFD_RELOC_SPU_IMM18: howto manager. (line 209)
  12535. * BFD_RELOC_SPU_IMM7: howto manager. (line 203)
  12536. * BFD_RELOC_SPU_IMM8: howto manager. (line 204)
  12537. * BFD_RELOC_SPU_LO16: howto manager. (line 213)
  12538. * BFD_RELOC_SPU_PCREL16: howto manager. (line 212)
  12539. * BFD_RELOC_SPU_PCREL9a: howto manager. (line 210)
  12540. * BFD_RELOC_SPU_PCREL9b: howto manager. (line 211)
  12541. * BFD_RELOC_SPU_PPU32: howto manager. (line 215)
  12542. * BFD_RELOC_SPU_PPU64: howto manager. (line 216)
  12543. * BFD_RELOC_THUMB_PCREL_BFCSEL: howto manager. (line 782)
  12544. * BFD_RELOC_THUMB_PCREL_BLX: howto manager. (line 771)
  12545. * BFD_RELOC_THUMB_PCREL_BRANCH12: howto manager. (line 794)
  12546. * BFD_RELOC_THUMB_PCREL_BRANCH20: howto manager. (line 795)
  12547. * BFD_RELOC_THUMB_PCREL_BRANCH23: howto manager. (line 796)
  12548. * BFD_RELOC_THUMB_PCREL_BRANCH25: howto manager. (line 797)
  12549. * BFD_RELOC_THUMB_PCREL_BRANCH5: howto manager. (line 780)
  12550. * BFD_RELOC_THUMB_PCREL_BRANCH7: howto manager. (line 792)
  12551. * BFD_RELOC_THUMB_PCREL_BRANCH9: howto manager. (line 793)
  12552. * BFD_RELOC_TIC30_LDP: howto manager. (line 1549)
  12553. * BFD_RELOC_TIC54X_16_OF_23: howto manager. (line 1563)
  12554. * BFD_RELOC_TIC54X_23: howto manager. (line 1561)
  12555. * BFD_RELOC_TIC54X_MS7_OF_23: howto manager. (line 1567)
  12556. * BFD_RELOC_TIC54X_PARTLS7: howto manager. (line 1553)
  12557. * BFD_RELOC_TIC54X_PARTMS9: howto manager. (line 1557)
  12558. * BFD_RELOC_TILEGX_BROFF_X1: howto manager. (line 3198)
  12559. * BFD_RELOC_TILEGX_COPY: howto manager. (line 3194)
  12560. * BFD_RELOC_TILEGX_DEST_IMM8_X1: howto manager. (line 3205)
  12561. * BFD_RELOC_TILEGX_GLOB_DAT: howto manager. (line 3195)
  12562. * BFD_RELOC_TILEGX_HW0: howto manager. (line 3187)
  12563. * BFD_RELOC_TILEGX_HW0_LAST: howto manager. (line 3191)
  12564. * BFD_RELOC_TILEGX_HW1: howto manager. (line 3188)
  12565. * BFD_RELOC_TILEGX_HW1_LAST: howto manager. (line 3192)
  12566. * BFD_RELOC_TILEGX_HW2: howto manager. (line 3189)
  12567. * BFD_RELOC_TILEGX_HW2_LAST: howto manager. (line 3193)
  12568. * BFD_RELOC_TILEGX_HW3: howto manager. (line 3190)
  12569. * BFD_RELOC_TILEGX_IMM16_X0_HW0: howto manager. (line 3214)
  12570. * BFD_RELOC_TILEGX_IMM16_X0_HW0_GOT: howto manager. (line 3242)
  12571. * BFD_RELOC_TILEGX_IMM16_X0_HW0_LAST: howto manager. (line 3222)
  12572. * BFD_RELOC_TILEGX_IMM16_X0_HW0_LAST_GOT: howto manager. (line 3250)
  12573. * BFD_RELOC_TILEGX_IMM16_X0_HW0_LAST_PCREL: howto manager. (line 3236)
  12574. * BFD_RELOC_TILEGX_IMM16_X0_HW0_LAST_PLT_PCREL: howto manager.
  12575. (line 3270)
  12576. * BFD_RELOC_TILEGX_IMM16_X0_HW0_LAST_TLS_GD: howto manager. (line 3264)
  12577. * BFD_RELOC_TILEGX_IMM16_X0_HW0_LAST_TLS_IE: howto manager. (line 3276)
  12578. * BFD_RELOC_TILEGX_IMM16_X0_HW0_LAST_TLS_LE: howto manager. (line 3260)
  12579. * BFD_RELOC_TILEGX_IMM16_X0_HW0_PCREL: howto manager. (line 3228)
  12580. * BFD_RELOC_TILEGX_IMM16_X0_HW0_PLT_PCREL: howto manager. (line 3244)
  12581. * BFD_RELOC_TILEGX_IMM16_X0_HW0_TLS_GD: howto manager. (line 3256)
  12582. * BFD_RELOC_TILEGX_IMM16_X0_HW0_TLS_IE: howto manager. (line 3268)
  12583. * BFD_RELOC_TILEGX_IMM16_X0_HW0_TLS_LE: howto manager. (line 3258)
  12584. * BFD_RELOC_TILEGX_IMM16_X0_HW1: howto manager. (line 3216)
  12585. * BFD_RELOC_TILEGX_IMM16_X0_HW1_LAST: howto manager. (line 3224)
  12586. * BFD_RELOC_TILEGX_IMM16_X0_HW1_LAST_GOT: howto manager. (line 3252)
  12587. * BFD_RELOC_TILEGX_IMM16_X0_HW1_LAST_PCREL: howto manager. (line 3238)
  12588. * BFD_RELOC_TILEGX_IMM16_X0_HW1_LAST_PLT_PCREL: howto manager.
  12589. (line 3272)
  12590. * BFD_RELOC_TILEGX_IMM16_X0_HW1_LAST_TLS_GD: howto manager. (line 3266)
  12591. * BFD_RELOC_TILEGX_IMM16_X0_HW1_LAST_TLS_IE: howto manager. (line 3278)
  12592. * BFD_RELOC_TILEGX_IMM16_X0_HW1_LAST_TLS_LE: howto manager. (line 3262)
  12593. * BFD_RELOC_TILEGX_IMM16_X0_HW1_PCREL: howto manager. (line 3230)
  12594. * BFD_RELOC_TILEGX_IMM16_X0_HW1_PLT_PCREL: howto manager. (line 3246)
  12595. * BFD_RELOC_TILEGX_IMM16_X0_HW2: howto manager. (line 3218)
  12596. * BFD_RELOC_TILEGX_IMM16_X0_HW2_LAST: howto manager. (line 3226)
  12597. * BFD_RELOC_TILEGX_IMM16_X0_HW2_LAST_PCREL: howto manager. (line 3240)
  12598. * BFD_RELOC_TILEGX_IMM16_X0_HW2_LAST_PLT_PCREL: howto manager.
  12599. (line 3274)
  12600. * BFD_RELOC_TILEGX_IMM16_X0_HW2_PCREL: howto manager. (line 3232)
  12601. * BFD_RELOC_TILEGX_IMM16_X0_HW2_PLT_PCREL: howto manager. (line 3248)
  12602. * BFD_RELOC_TILEGX_IMM16_X0_HW3: howto manager. (line 3220)
  12603. * BFD_RELOC_TILEGX_IMM16_X0_HW3_PCREL: howto manager. (line 3234)
  12604. * BFD_RELOC_TILEGX_IMM16_X0_HW3_PLT_PCREL: howto manager. (line 3254)
  12605. * BFD_RELOC_TILEGX_IMM16_X1_HW0: howto manager. (line 3215)
  12606. * BFD_RELOC_TILEGX_IMM16_X1_HW0_GOT: howto manager. (line 3243)
  12607. * BFD_RELOC_TILEGX_IMM16_X1_HW0_LAST: howto manager. (line 3223)
  12608. * BFD_RELOC_TILEGX_IMM16_X1_HW0_LAST_GOT: howto manager. (line 3251)
  12609. * BFD_RELOC_TILEGX_IMM16_X1_HW0_LAST_PCREL: howto manager. (line 3237)
  12610. * BFD_RELOC_TILEGX_IMM16_X1_HW0_LAST_PLT_PCREL: howto manager.
  12611. (line 3271)
  12612. * BFD_RELOC_TILEGX_IMM16_X1_HW0_LAST_TLS_GD: howto manager. (line 3265)
  12613. * BFD_RELOC_TILEGX_IMM16_X1_HW0_LAST_TLS_IE: howto manager. (line 3277)
  12614. * BFD_RELOC_TILEGX_IMM16_X1_HW0_LAST_TLS_LE: howto manager. (line 3261)
  12615. * BFD_RELOC_TILEGX_IMM16_X1_HW0_PCREL: howto manager. (line 3229)
  12616. * BFD_RELOC_TILEGX_IMM16_X1_HW0_PLT_PCREL: howto manager. (line 3245)
  12617. * BFD_RELOC_TILEGX_IMM16_X1_HW0_TLS_GD: howto manager. (line 3257)
  12618. * BFD_RELOC_TILEGX_IMM16_X1_HW0_TLS_IE: howto manager. (line 3269)
  12619. * BFD_RELOC_TILEGX_IMM16_X1_HW0_TLS_LE: howto manager. (line 3259)
  12620. * BFD_RELOC_TILEGX_IMM16_X1_HW1: howto manager. (line 3217)
  12621. * BFD_RELOC_TILEGX_IMM16_X1_HW1_LAST: howto manager. (line 3225)
  12622. * BFD_RELOC_TILEGX_IMM16_X1_HW1_LAST_GOT: howto manager. (line 3253)
  12623. * BFD_RELOC_TILEGX_IMM16_X1_HW1_LAST_PCREL: howto manager. (line 3239)
  12624. * BFD_RELOC_TILEGX_IMM16_X1_HW1_LAST_PLT_PCREL: howto manager.
  12625. (line 3273)
  12626. * BFD_RELOC_TILEGX_IMM16_X1_HW1_LAST_TLS_GD: howto manager. (line 3267)
  12627. * BFD_RELOC_TILEGX_IMM16_X1_HW1_LAST_TLS_IE: howto manager. (line 3279)
  12628. * BFD_RELOC_TILEGX_IMM16_X1_HW1_LAST_TLS_LE: howto manager. (line 3263)
  12629. * BFD_RELOC_TILEGX_IMM16_X1_HW1_PCREL: howto manager. (line 3231)
  12630. * BFD_RELOC_TILEGX_IMM16_X1_HW1_PLT_PCREL: howto manager. (line 3247)
  12631. * BFD_RELOC_TILEGX_IMM16_X1_HW2: howto manager. (line 3219)
  12632. * BFD_RELOC_TILEGX_IMM16_X1_HW2_LAST: howto manager. (line 3227)
  12633. * BFD_RELOC_TILEGX_IMM16_X1_HW2_LAST_PCREL: howto manager. (line 3241)
  12634. * BFD_RELOC_TILEGX_IMM16_X1_HW2_LAST_PLT_PCREL: howto manager.
  12635. (line 3275)
  12636. * BFD_RELOC_TILEGX_IMM16_X1_HW2_PCREL: howto manager. (line 3233)
  12637. * BFD_RELOC_TILEGX_IMM16_X1_HW2_PLT_PCREL: howto manager. (line 3249)
  12638. * BFD_RELOC_TILEGX_IMM16_X1_HW3: howto manager. (line 3221)
  12639. * BFD_RELOC_TILEGX_IMM16_X1_HW3_PCREL: howto manager. (line 3235)
  12640. * BFD_RELOC_TILEGX_IMM16_X1_HW3_PLT_PCREL: howto manager. (line 3255)
  12641. * BFD_RELOC_TILEGX_IMM8_X0: howto manager. (line 3201)
  12642. * BFD_RELOC_TILEGX_IMM8_X0_TLS_ADD: howto manager. (line 3292)
  12643. * BFD_RELOC_TILEGX_IMM8_X0_TLS_GD_ADD: howto manager. (line 3287)
  12644. * BFD_RELOC_TILEGX_IMM8_X1: howto manager. (line 3203)
  12645. * BFD_RELOC_TILEGX_IMM8_X1_TLS_ADD: howto manager. (line 3293)
  12646. * BFD_RELOC_TILEGX_IMM8_X1_TLS_GD_ADD: howto manager. (line 3288)
  12647. * BFD_RELOC_TILEGX_IMM8_Y0: howto manager. (line 3202)
  12648. * BFD_RELOC_TILEGX_IMM8_Y0_TLS_ADD: howto manager. (line 3294)
  12649. * BFD_RELOC_TILEGX_IMM8_Y0_TLS_GD_ADD: howto manager. (line 3289)
  12650. * BFD_RELOC_TILEGX_IMM8_Y1: howto manager. (line 3204)
  12651. * BFD_RELOC_TILEGX_IMM8_Y1_TLS_ADD: howto manager. (line 3295)
  12652. * BFD_RELOC_TILEGX_IMM8_Y1_TLS_GD_ADD: howto manager. (line 3290)
  12653. * BFD_RELOC_TILEGX_JMP_SLOT: howto manager. (line 3196)
  12654. * BFD_RELOC_TILEGX_JUMPOFF_X1: howto manager. (line 3199)
  12655. * BFD_RELOC_TILEGX_JUMPOFF_X1_PLT: howto manager. (line 3200)
  12656. * BFD_RELOC_TILEGX_MF_IMM14_X1: howto manager. (line 3207)
  12657. * BFD_RELOC_TILEGX_MMEND_X0: howto manager. (line 3209)
  12658. * BFD_RELOC_TILEGX_MMSTART_X0: howto manager. (line 3208)
  12659. * BFD_RELOC_TILEGX_MT_IMM14_X1: howto manager. (line 3206)
  12660. * BFD_RELOC_TILEGX_RELATIVE: howto manager. (line 3197)
  12661. * BFD_RELOC_TILEGX_SHAMT_X0: howto manager. (line 3210)
  12662. * BFD_RELOC_TILEGX_SHAMT_X1: howto manager. (line 3211)
  12663. * BFD_RELOC_TILEGX_SHAMT_Y0: howto manager. (line 3212)
  12664. * BFD_RELOC_TILEGX_SHAMT_Y1: howto manager. (line 3213)
  12665. * BFD_RELOC_TILEGX_TLS_DTPMOD32: howto manager. (line 3283)
  12666. * BFD_RELOC_TILEGX_TLS_DTPMOD64: howto manager. (line 3280)
  12667. * BFD_RELOC_TILEGX_TLS_DTPOFF32: howto manager. (line 3284)
  12668. * BFD_RELOC_TILEGX_TLS_DTPOFF64: howto manager. (line 3281)
  12669. * BFD_RELOC_TILEGX_TLS_GD_CALL: howto manager. (line 3286)
  12670. * BFD_RELOC_TILEGX_TLS_IE_LOAD: howto manager. (line 3291)
  12671. * BFD_RELOC_TILEGX_TLS_TPOFF32: howto manager. (line 3285)
  12672. * BFD_RELOC_TILEGX_TLS_TPOFF64: howto manager. (line 3282)
  12673. * BFD_RELOC_TILEPRO_BROFF_X1: howto manager. (line 3111)
  12674. * BFD_RELOC_TILEPRO_COPY: howto manager. (line 3107)
  12675. * BFD_RELOC_TILEPRO_DEST_IMM8_X1: howto manager. (line 3118)
  12676. * BFD_RELOC_TILEPRO_GLOB_DAT: howto manager. (line 3108)
  12677. * BFD_RELOC_TILEPRO_IMM16_X0: howto manager. (line 3121)
  12678. * BFD_RELOC_TILEPRO_IMM16_X0_GOT: howto manager. (line 3137)
  12679. * BFD_RELOC_TILEPRO_IMM16_X0_GOT_HA: howto manager. (line 3143)
  12680. * BFD_RELOC_TILEPRO_IMM16_X0_GOT_HI: howto manager. (line 3141)
  12681. * BFD_RELOC_TILEPRO_IMM16_X0_GOT_LO: howto manager. (line 3139)
  12682. * BFD_RELOC_TILEPRO_IMM16_X0_HA: howto manager. (line 3127)
  12683. * BFD_RELOC_TILEPRO_IMM16_X0_HA_PCREL: howto manager. (line 3135)
  12684. * BFD_RELOC_TILEPRO_IMM16_X0_HI: howto manager. (line 3125)
  12685. * BFD_RELOC_TILEPRO_IMM16_X0_HI_PCREL: howto manager. (line 3133)
  12686. * BFD_RELOC_TILEPRO_IMM16_X0_LO: howto manager. (line 3123)
  12687. * BFD_RELOC_TILEPRO_IMM16_X0_LO_PCREL: howto manager. (line 3131)
  12688. * BFD_RELOC_TILEPRO_IMM16_X0_PCREL: howto manager. (line 3129)
  12689. * BFD_RELOC_TILEPRO_IMM16_X0_TLS_GD: howto manager. (line 3159)
  12690. * BFD_RELOC_TILEPRO_IMM16_X0_TLS_GD_HA: howto manager. (line 3165)
  12691. * BFD_RELOC_TILEPRO_IMM16_X0_TLS_GD_HI: howto manager. (line 3163)
  12692. * BFD_RELOC_TILEPRO_IMM16_X0_TLS_GD_LO: howto manager. (line 3161)
  12693. * BFD_RELOC_TILEPRO_IMM16_X0_TLS_IE: howto manager. (line 3167)
  12694. * BFD_RELOC_TILEPRO_IMM16_X0_TLS_IE_HA: howto manager. (line 3173)
  12695. * BFD_RELOC_TILEPRO_IMM16_X0_TLS_IE_HI: howto manager. (line 3171)
  12696. * BFD_RELOC_TILEPRO_IMM16_X0_TLS_IE_LO: howto manager. (line 3169)
  12697. * BFD_RELOC_TILEPRO_IMM16_X0_TLS_LE: howto manager. (line 3178)
  12698. * BFD_RELOC_TILEPRO_IMM16_X0_TLS_LE_HA: howto manager. (line 3184)
  12699. * BFD_RELOC_TILEPRO_IMM16_X0_TLS_LE_HI: howto manager. (line 3182)
  12700. * BFD_RELOC_TILEPRO_IMM16_X0_TLS_LE_LO: howto manager. (line 3180)
  12701. * BFD_RELOC_TILEPRO_IMM16_X1: howto manager. (line 3122)
  12702. * BFD_RELOC_TILEPRO_IMM16_X1_GOT: howto manager. (line 3138)
  12703. * BFD_RELOC_TILEPRO_IMM16_X1_GOT_HA: howto manager. (line 3144)
  12704. * BFD_RELOC_TILEPRO_IMM16_X1_GOT_HI: howto manager. (line 3142)
  12705. * BFD_RELOC_TILEPRO_IMM16_X1_GOT_LO: howto manager. (line 3140)
  12706. * BFD_RELOC_TILEPRO_IMM16_X1_HA: howto manager. (line 3128)
  12707. * BFD_RELOC_TILEPRO_IMM16_X1_HA_PCREL: howto manager. (line 3136)
  12708. * BFD_RELOC_TILEPRO_IMM16_X1_HI: howto manager. (line 3126)
  12709. * BFD_RELOC_TILEPRO_IMM16_X1_HI_PCREL: howto manager. (line 3134)
  12710. * BFD_RELOC_TILEPRO_IMM16_X1_LO: howto manager. (line 3124)
  12711. * BFD_RELOC_TILEPRO_IMM16_X1_LO_PCREL: howto manager. (line 3132)
  12712. * BFD_RELOC_TILEPRO_IMM16_X1_PCREL: howto manager. (line 3130)
  12713. * BFD_RELOC_TILEPRO_IMM16_X1_TLS_GD: howto manager. (line 3160)
  12714. * BFD_RELOC_TILEPRO_IMM16_X1_TLS_GD_HA: howto manager. (line 3166)
  12715. * BFD_RELOC_TILEPRO_IMM16_X1_TLS_GD_HI: howto manager. (line 3164)
  12716. * BFD_RELOC_TILEPRO_IMM16_X1_TLS_GD_LO: howto manager. (line 3162)
  12717. * BFD_RELOC_TILEPRO_IMM16_X1_TLS_IE: howto manager. (line 3168)
  12718. * BFD_RELOC_TILEPRO_IMM16_X1_TLS_IE_HA: howto manager. (line 3174)
  12719. * BFD_RELOC_TILEPRO_IMM16_X1_TLS_IE_HI: howto manager. (line 3172)
  12720. * BFD_RELOC_TILEPRO_IMM16_X1_TLS_IE_LO: howto manager. (line 3170)
  12721. * BFD_RELOC_TILEPRO_IMM16_X1_TLS_LE: howto manager. (line 3179)
  12722. * BFD_RELOC_TILEPRO_IMM16_X1_TLS_LE_HA: howto manager. (line 3185)
  12723. * BFD_RELOC_TILEPRO_IMM16_X1_TLS_LE_HI: howto manager. (line 3183)
  12724. * BFD_RELOC_TILEPRO_IMM16_X1_TLS_LE_LO: howto manager. (line 3181)
  12725. * BFD_RELOC_TILEPRO_IMM8_X0: howto manager. (line 3114)
  12726. * BFD_RELOC_TILEPRO_IMM8_X0_TLS_GD_ADD: howto manager. (line 3154)
  12727. * BFD_RELOC_TILEPRO_IMM8_X1: howto manager. (line 3116)
  12728. * BFD_RELOC_TILEPRO_IMM8_X1_TLS_GD_ADD: howto manager. (line 3155)
  12729. * BFD_RELOC_TILEPRO_IMM8_Y0: howto manager. (line 3115)
  12730. * BFD_RELOC_TILEPRO_IMM8_Y0_TLS_GD_ADD: howto manager. (line 3156)
  12731. * BFD_RELOC_TILEPRO_IMM8_Y1: howto manager. (line 3117)
  12732. * BFD_RELOC_TILEPRO_IMM8_Y1_TLS_GD_ADD: howto manager. (line 3157)
  12733. * BFD_RELOC_TILEPRO_JMP_SLOT: howto manager. (line 3109)
  12734. * BFD_RELOC_TILEPRO_JOFFLONG_X1: howto manager. (line 3112)
  12735. * BFD_RELOC_TILEPRO_JOFFLONG_X1_PLT: howto manager. (line 3113)
  12736. * BFD_RELOC_TILEPRO_MF_IMM15_X1: howto manager. (line 3120)
  12737. * BFD_RELOC_TILEPRO_MMEND_X0: howto manager. (line 3146)
  12738. * BFD_RELOC_TILEPRO_MMEND_X1: howto manager. (line 3148)
  12739. * BFD_RELOC_TILEPRO_MMSTART_X0: howto manager. (line 3145)
  12740. * BFD_RELOC_TILEPRO_MMSTART_X1: howto manager. (line 3147)
  12741. * BFD_RELOC_TILEPRO_MT_IMM15_X1: howto manager. (line 3119)
  12742. * BFD_RELOC_TILEPRO_RELATIVE: howto manager. (line 3110)
  12743. * BFD_RELOC_TILEPRO_SHAMT_X0: howto manager. (line 3149)
  12744. * BFD_RELOC_TILEPRO_SHAMT_X1: howto manager. (line 3150)
  12745. * BFD_RELOC_TILEPRO_SHAMT_Y0: howto manager. (line 3151)
  12746. * BFD_RELOC_TILEPRO_SHAMT_Y1: howto manager. (line 3152)
  12747. * BFD_RELOC_TILEPRO_TLS_DTPMOD32: howto manager. (line 3175)
  12748. * BFD_RELOC_TILEPRO_TLS_DTPOFF32: howto manager. (line 3176)
  12749. * BFD_RELOC_TILEPRO_TLS_GD_CALL: howto manager. (line 3153)
  12750. * BFD_RELOC_TILEPRO_TLS_IE_LOAD: howto manager. (line 3158)
  12751. * BFD_RELOC_TILEPRO_TLS_TPOFF32: howto manager. (line 3177)
  12752. * bfd_reloc_type_lookup: howto manager. (line 3407)
  12753. * BFD_RELOC_V850_16_GOT: howto manager. (line 1525)
  12754. * BFD_RELOC_V850_16_GOTOFF: howto manager. (line 1541)
  12755. * BFD_RELOC_V850_16_PCREL: howto manager. (line 1505)
  12756. * BFD_RELOC_V850_16_S1: howto manager. (line 1517)
  12757. * BFD_RELOC_V850_16_SPLIT_OFFSET: howto manager. (line 1515)
  12758. * BFD_RELOC_V850_17_PCREL: howto manager. (line 1507)
  12759. * BFD_RELOC_V850_22_PCREL: howto manager. (line 1459)
  12760. * BFD_RELOC_V850_22_PLT_PCREL: howto manager. (line 1529)
  12761. * BFD_RELOC_V850_23: howto manager. (line 1509)
  12762. * BFD_RELOC_V850_32_ABS: howto manager. (line 1513)
  12763. * BFD_RELOC_V850_32_GOT: howto manager. (line 1527)
  12764. * BFD_RELOC_V850_32_GOTOFF: howto manager. (line 1543)
  12765. * BFD_RELOC_V850_32_GOTPCREL: howto manager. (line 1523)
  12766. * BFD_RELOC_V850_32_PCREL: howto manager. (line 1511)
  12767. * BFD_RELOC_V850_32_PLT_PCREL: howto manager. (line 1531)
  12768. * BFD_RELOC_V850_9_PCREL: howto manager. (line 1457)
  12769. * BFD_RELOC_V850_ALIGN: howto manager. (line 1500)
  12770. * BFD_RELOC_V850_CALLT_15_16_OFFSET: howto manager. (line 1521)
  12771. * BFD_RELOC_V850_CALLT_16_16_OFFSET: howto manager. (line 1494)
  12772. * BFD_RELOC_V850_CALLT_6_7_OFFSET: howto manager. (line 1492)
  12773. * BFD_RELOC_V850_CODE: howto manager. (line 1545)
  12774. * BFD_RELOC_V850_COPY: howto manager. (line 1533)
  12775. * BFD_RELOC_V850_DATA: howto manager. (line 1547)
  12776. * BFD_RELOC_V850_GLOB_DAT: howto manager. (line 1535)
  12777. * BFD_RELOC_V850_JMP_SLOT: howto manager. (line 1537)
  12778. * BFD_RELOC_V850_LO16_S1: howto manager. (line 1519)
  12779. * BFD_RELOC_V850_LO16_SPLIT_OFFSET: howto manager. (line 1502)
  12780. * BFD_RELOC_V850_LONGCALL: howto manager. (line 1496)
  12781. * BFD_RELOC_V850_LONGJUMP: howto manager. (line 1498)
  12782. * BFD_RELOC_V850_RELATIVE: howto manager. (line 1539)
  12783. * BFD_RELOC_V850_SDA_15_16_OFFSET: howto manager. (line 1463)
  12784. * BFD_RELOC_V850_SDA_16_16_OFFSET: howto manager. (line 1461)
  12785. * BFD_RELOC_V850_SDA_16_16_SPLIT_OFFSET: howto manager. (line 1486)
  12786. * BFD_RELOC_V850_TDA_16_16_OFFSET: howto manager. (line 1479)
  12787. * BFD_RELOC_V850_TDA_4_4_OFFSET: howto manager. (line 1484)
  12788. * BFD_RELOC_V850_TDA_4_5_OFFSET: howto manager. (line 1481)
  12789. * BFD_RELOC_V850_TDA_6_8_OFFSET: howto manager. (line 1471)
  12790. * BFD_RELOC_V850_TDA_7_7_OFFSET: howto manager. (line 1477)
  12791. * BFD_RELOC_V850_TDA_7_8_OFFSET: howto manager. (line 1474)
  12792. * BFD_RELOC_V850_ZDA_15_16_OFFSET: howto manager. (line 1468)
  12793. * BFD_RELOC_V850_ZDA_16_16_OFFSET: howto manager. (line 1466)
  12794. * BFD_RELOC_V850_ZDA_16_16_SPLIT_OFFSET: howto manager. (line 1489)
  12795. * BFD_RELOC_VAX_GLOB_DAT: howto manager. (line 2423)
  12796. * BFD_RELOC_VAX_JMP_SLOT: howto manager. (line 2424)
  12797. * BFD_RELOC_VAX_RELATIVE: howto manager. (line 2425)
  12798. * BFD_RELOC_VISIUM_HI16: howto manager. (line 3318)
  12799. * BFD_RELOC_VISIUM_HI16_PCREL: howto manager. (line 3322)
  12800. * BFD_RELOC_VISIUM_IM16: howto manager. (line 3320)
  12801. * BFD_RELOC_VISIUM_IM16_PCREL: howto manager. (line 3324)
  12802. * BFD_RELOC_VISIUM_LO16: howto manager. (line 3319)
  12803. * BFD_RELOC_VISIUM_LO16_PCREL: howto manager. (line 3323)
  12804. * BFD_RELOC_VISIUM_REL16: howto manager. (line 3321)
  12805. * BFD_RELOC_VPE4KMATH_DATA: howto manager. (line 2081)
  12806. * BFD_RELOC_VPE4KMATH_INSN: howto manager. (line 2082)
  12807. * BFD_RELOC_VTABLE_ENTRY: howto manager. (line 2085)
  12808. * BFD_RELOC_VTABLE_INHERIT: howto manager. (line 2084)
  12809. * BFD_RELOC_WASM32_ABS32_CODE: howto manager. (line 3331)
  12810. * BFD_RELOC_WASM32_CODE_POINTER: howto manager. (line 3333)
  12811. * BFD_RELOC_WASM32_COPY: howto manager. (line 3332)
  12812. * BFD_RELOC_WASM32_INDEX: howto manager. (line 3334)
  12813. * BFD_RELOC_WASM32_LEB128: howto manager. (line 3326)
  12814. * BFD_RELOC_WASM32_LEB128_GOT: howto manager. (line 3327)
  12815. * BFD_RELOC_WASM32_LEB128_GOT_CODE: howto manager. (line 3328)
  12816. * BFD_RELOC_WASM32_LEB128_PLT: howto manager. (line 3329)
  12817. * BFD_RELOC_WASM32_PLT_INDEX: howto manager. (line 3330)
  12818. * BFD_RELOC_WASM32_PLT_SIG: howto manager. (line 3335)
  12819. * BFD_RELOC_X86_64_32S: howto manager. (line 554)
  12820. * BFD_RELOC_X86_64_COPY: howto manager. (line 549)
  12821. * BFD_RELOC_X86_64_DTPMOD64: howto manager. (line 555)
  12822. * BFD_RELOC_X86_64_DTPOFF32: howto manager. (line 560)
  12823. * BFD_RELOC_X86_64_DTPOFF64: howto manager. (line 556)
  12824. * BFD_RELOC_X86_64_GLOB_DAT: howto manager. (line 550)
  12825. * BFD_RELOC_X86_64_GOT32: howto manager. (line 547)
  12826. * BFD_RELOC_X86_64_GOT64: howto manager. (line 565)
  12827. * BFD_RELOC_X86_64_GOTOFF64: howto manager. (line 563)
  12828. * BFD_RELOC_X86_64_GOTPC32: howto manager. (line 564)
  12829. * BFD_RELOC_X86_64_GOTPC32_TLSDESC: howto manager. (line 570)
  12830. * BFD_RELOC_X86_64_GOTPC64: howto manager. (line 567)
  12831. * BFD_RELOC_X86_64_GOTPCREL: howto manager. (line 553)
  12832. * BFD_RELOC_X86_64_GOTPCREL64: howto manager. (line 566)
  12833. * BFD_RELOC_X86_64_GOTPCRELX: howto manager. (line 576)
  12834. * BFD_RELOC_X86_64_GOTPLT64: howto manager. (line 568)
  12835. * BFD_RELOC_X86_64_GOTTPOFF: howto manager. (line 561)
  12836. * BFD_RELOC_X86_64_IRELATIVE: howto manager. (line 573)
  12837. * BFD_RELOC_X86_64_JUMP_SLOT: howto manager. (line 551)
  12838. * BFD_RELOC_X86_64_PC32_BND: howto manager. (line 574)
  12839. * BFD_RELOC_X86_64_PLT32: howto manager. (line 548)
  12840. * BFD_RELOC_X86_64_PLT32_BND: howto manager. (line 575)
  12841. * BFD_RELOC_X86_64_PLTOFF64: howto manager. (line 569)
  12842. * BFD_RELOC_X86_64_RELATIVE: howto manager. (line 552)
  12843. * BFD_RELOC_X86_64_REX_GOTPCRELX: howto manager. (line 577)
  12844. * BFD_RELOC_X86_64_TLSDESC: howto manager. (line 572)
  12845. * BFD_RELOC_X86_64_TLSDESC_CALL: howto manager. (line 571)
  12846. * BFD_RELOC_X86_64_TLSGD: howto manager. (line 558)
  12847. * BFD_RELOC_X86_64_TLSLD: howto manager. (line 559)
  12848. * BFD_RELOC_X86_64_TPOFF32: howto manager. (line 562)
  12849. * BFD_RELOC_X86_64_TPOFF64: howto manager. (line 557)
  12850. * BFD_RELOC_XC16X_PAG: howto manager. (line 2418)
  12851. * BFD_RELOC_XC16X_POF: howto manager. (line 2419)
  12852. * BFD_RELOC_XC16X_SEG: howto manager. (line 2420)
  12853. * BFD_RELOC_XC16X_SOF: howto manager. (line 2421)
  12854. * BFD_RELOC_XGATE_24: howto manager. (line 2228)
  12855. * BFD_RELOC_XGATE_GPAGE: howto manager. (line 2226)
  12856. * BFD_RELOC_XGATE_IMM3: howto manager. (line 2240)
  12857. * BFD_RELOC_XGATE_IMM4: howto manager. (line 2242)
  12858. * BFD_RELOC_XGATE_IMM5: howto manager. (line 2244)
  12859. * BFD_RELOC_XGATE_IMM8_HI: howto manager. (line 2237)
  12860. * BFD_RELOC_XGATE_IMM8_LO: howto manager. (line 2234)
  12861. * BFD_RELOC_XGATE_LO16: howto manager. (line 2223)
  12862. * BFD_RELOC_XGATE_PCREL_10: howto manager. (line 2232)
  12863. * BFD_RELOC_XGATE_PCREL_9: howto manager. (line 2230)
  12864. * BFD_RELOC_XGATE_RL_GROUP: howto manager. (line 2219)
  12865. * BFD_RELOC_XGATE_RL_JUMP: howto manager. (line 2216)
  12866. * BFD_RELOC_XSTORMY16_12: howto manager. (line 2412)
  12867. * BFD_RELOC_XSTORMY16_24: howto manager. (line 2413)
  12868. * BFD_RELOC_XSTORMY16_FPTR16: howto manager. (line 2414)
  12869. * BFD_RELOC_XSTORMY16_REL_12: howto manager. (line 2411)
  12870. * BFD_RELOC_XTENSA_ASM_EXPAND: howto manager. (line 2609)
  12871. * BFD_RELOC_XTENSA_ASM_SIMPLIFY: howto manager. (line 2613)
  12872. * BFD_RELOC_XTENSA_DIFF16: howto manager. (line 2560)
  12873. * BFD_RELOC_XTENSA_DIFF32: howto manager. (line 2561)
  12874. * BFD_RELOC_XTENSA_DIFF8: howto manager. (line 2559)
  12875. * BFD_RELOC_XTENSA_GLOB_DAT: howto manager. (line 2551)
  12876. * BFD_RELOC_XTENSA_JMP_SLOT: howto manager. (line 2552)
  12877. * BFD_RELOC_XTENSA_OP0: howto manager. (line 2604)
  12878. * BFD_RELOC_XTENSA_OP1: howto manager. (line 2605)
  12879. * BFD_RELOC_XTENSA_OP2: howto manager. (line 2606)
  12880. * BFD_RELOC_XTENSA_PLT: howto manager. (line 2555)
  12881. * BFD_RELOC_XTENSA_RELATIVE: howto manager. (line 2553)
  12882. * BFD_RELOC_XTENSA_RTLD: howto manager. (line 2547)
  12883. * BFD_RELOC_XTENSA_SLOT0_ALT: howto manager. (line 2587)
  12884. * BFD_RELOC_XTENSA_SLOT0_OP: howto manager. (line 2568)
  12885. * BFD_RELOC_XTENSA_SLOT10_ALT: howto manager. (line 2597)
  12886. * BFD_RELOC_XTENSA_SLOT10_OP: howto manager. (line 2578)
  12887. * BFD_RELOC_XTENSA_SLOT11_ALT: howto manager. (line 2598)
  12888. * BFD_RELOC_XTENSA_SLOT11_OP: howto manager. (line 2579)
  12889. * BFD_RELOC_XTENSA_SLOT12_ALT: howto manager. (line 2599)
  12890. * BFD_RELOC_XTENSA_SLOT12_OP: howto manager. (line 2580)
  12891. * BFD_RELOC_XTENSA_SLOT13_ALT: howto manager. (line 2600)
  12892. * BFD_RELOC_XTENSA_SLOT13_OP: howto manager. (line 2581)
  12893. * BFD_RELOC_XTENSA_SLOT14_ALT: howto manager. (line 2601)
  12894. * BFD_RELOC_XTENSA_SLOT14_OP: howto manager. (line 2582)
  12895. * BFD_RELOC_XTENSA_SLOT1_ALT: howto manager. (line 2588)
  12896. * BFD_RELOC_XTENSA_SLOT1_OP: howto manager. (line 2569)
  12897. * BFD_RELOC_XTENSA_SLOT2_ALT: howto manager. (line 2589)
  12898. * BFD_RELOC_XTENSA_SLOT2_OP: howto manager. (line 2570)
  12899. * BFD_RELOC_XTENSA_SLOT3_ALT: howto manager. (line 2590)
  12900. * BFD_RELOC_XTENSA_SLOT3_OP: howto manager. (line 2571)
  12901. * BFD_RELOC_XTENSA_SLOT4_ALT: howto manager. (line 2591)
  12902. * BFD_RELOC_XTENSA_SLOT4_OP: howto manager. (line 2572)
  12903. * BFD_RELOC_XTENSA_SLOT5_ALT: howto manager. (line 2592)
  12904. * BFD_RELOC_XTENSA_SLOT5_OP: howto manager. (line 2573)
  12905. * BFD_RELOC_XTENSA_SLOT6_ALT: howto manager. (line 2593)
  12906. * BFD_RELOC_XTENSA_SLOT6_OP: howto manager. (line 2574)
  12907. * BFD_RELOC_XTENSA_SLOT7_ALT: howto manager. (line 2594)
  12908. * BFD_RELOC_XTENSA_SLOT7_OP: howto manager. (line 2575)
  12909. * BFD_RELOC_XTENSA_SLOT8_ALT: howto manager. (line 2595)
  12910. * BFD_RELOC_XTENSA_SLOT8_OP: howto manager. (line 2576)
  12911. * BFD_RELOC_XTENSA_SLOT9_ALT: howto manager. (line 2596)
  12912. * BFD_RELOC_XTENSA_SLOT9_OP: howto manager. (line 2577)
  12913. * BFD_RELOC_XTENSA_TLSDESC_ARG: howto manager. (line 2618)
  12914. * BFD_RELOC_XTENSA_TLSDESC_FN: howto manager. (line 2617)
  12915. * BFD_RELOC_XTENSA_TLS_ARG: howto manager. (line 2622)
  12916. * BFD_RELOC_XTENSA_TLS_CALL: howto manager. (line 2623)
  12917. * BFD_RELOC_XTENSA_TLS_DTPOFF: howto manager. (line 2619)
  12918. * BFD_RELOC_XTENSA_TLS_FUNC: howto manager. (line 2621)
  12919. * BFD_RELOC_XTENSA_TLS_TPOFF: howto manager. (line 2620)
  12920. * BFD_RELOC_Z80_DISP8: howto manager. (line 2625)
  12921. * BFD_RELOC_Z8K_CALLR: howto manager. (line 2629)
  12922. * BFD_RELOC_Z8K_DISP7: howto manager. (line 2627)
  12923. * BFD_RELOC_Z8K_IMM4L: howto manager. (line 2631)
  12924. * bfd_rename_section: section prototypes. (line 167)
  12925. * bfd_scan_arch: Architectures. (line 571)
  12926. * bfd_scan_vma: Miscellaneous. (line 126)
  12927. * bfd_sections_find_if: section prototypes. (line 197)
  12928. * bfd_section_already_linked: Writing the symbol table.
  12929. (line 55)
  12930. * bfd_section_list_clear: section prototypes. (line 7)
  12931. * bfd_set_archive_head: Archives. (line 74)
  12932. * bfd_set_arch_info: Architectures. (line 612)
  12933. * bfd_set_assert_handler: Error reporting. (line 162)
  12934. * bfd_set_default_target: bfd_target. (line 557)
  12935. * bfd_set_error: Error reporting. (line 58)
  12936. * bfd_set_error_handler: Error reporting. (line 128)
  12937. * bfd_set_error_program_name: Error reporting. (line 136)
  12938. * bfd_set_filename: Opening and Closing.
  12939. (line 529)
  12940. * bfd_set_file_flags: Miscellaneous. (line 45)
  12941. * bfd_set_format: Formats. (line 67)
  12942. * bfd_set_gp_size: Miscellaneous. (line 116)
  12943. * bfd_set_input_error: Error reporting. (line 69)
  12944. * bfd_set_private_flags: Miscellaneous. (line 174)
  12945. * bfd_set_reloc: Miscellaneous. (line 33)
  12946. * bfd_set_section_contents: section prototypes. (line 228)
  12947. * bfd_set_section_flags: section prototypes. (line 154)
  12948. * bfd_set_section_size: section prototypes. (line 214)
  12949. * bfd_set_start_address: Miscellaneous. (line 95)
  12950. * bfd_set_symtab: symbol handling functions.
  12951. (line 63)
  12952. * bfd_symbol_info: symbol handling functions.
  12953. (line 135)
  12954. * bfd_target_list: bfd_target. (line 609)
  12955. * bfd_update_compression_header: Miscellaneous. (line 353)
  12956. * bfd_write_bigendian_4byte_int: Internal. (line 12)
  12957. * bfd_zalloc: Opening and Closing.
  12958. (line 257)
  12959. * bfd_zalloc2: Opening and Closing.
  12960. (line 266)
  12961. * check_build_id_file: Opening and Closing.
  12962. (line 491)
  12963. * coff_symbol_type: coff. (line 233)
  12964. * core_file_matches_executable_p: Core Files. (line 38)
  12965. * find_separate_debug_file: Opening and Closing.
  12966. (line 365)
  12967. * generic_core_file_matches_executable_p: Core Files. (line 48)
  12968. * get_build_id: Opening and Closing.
  12969. (line 460)
  12970. * get_build_id_name: Opening and Closing.
  12971. (line 474)
  12972. * Hash tables: Hash Tables. (line 6)
  12973. * internal object-file format: Canonical format. (line 11)
  12974. * Linker: Linker Functions. (line 6)
  12975. * Other functions: Miscellaneous. (line 188)
  12976. * separate_alt_debug_file_exists: Opening and Closing.
  12977. (line 356)
  12978. * separate_debug_file_exists: Opening and Closing.
  12979. (line 343)
  12980. * struct bfd_iovec: Miscellaneous. (line 414)
  12981. * target vector (_bfd_final_link): Performing the Final Link.
  12982. (line 6)
  12983. * target vector (_bfd_link_add_symbols): Adding Symbols to the Hash Table.
  12984. (line 6)
  12985. * target vector (_bfd_link_hash_table_create): Creating a Linker Hash Table.
  12986. (line 6)
  12987. * The HOWTO Macro: typedef arelent. (line 287)
  12988. * what is it?: Overview. (line 6)
  12989. 
  12990. Tag Table:
  12991. Node: Top1051
  12992. Node: Overview1387
  12993. Node: History2445
  12994. Node: How It Works3390
  12995. Node: What BFD Version 2 Can Do4927
  12996. Node: BFD information loss6244
  12997. Node: Canonical format8785
  12998. Node: BFD front end13128
  12999. Node: typedef bfd13552
  13000. Node: Error reporting31009
  13001. Node: Miscellaneous36260
  13002. Node: Memory Usage55374
  13003. Node: Initialization56605
  13004. Node: Sections57281
  13005. Node: Section Input57764
  13006. Node: Section Output58958
  13007. Node: typedef asection61445
  13008. Node: section prototypes85488
  13009. Node: Symbols96232
  13010. Node: Reading Symbols97835
  13011. Node: Writing Symbols98943
  13012. Node: Mini Symbols100687
  13013. Node: typedef asymbol101661
  13014. Node: symbol handling functions107746
  13015. Node: Archives113121
  13016. Node: Formats117258
  13017. Node: Relocations120209
  13018. Node: typedef arelent120936
  13019. Node: howto manager135854
  13020. Node: Core Files267925
  13021. Node: Targets269963
  13022. Node: bfd_target271938
  13023. Node: Architectures299273
  13024. Node: Opening and Closing330730
  13025. Node: Internal349193
  13026. Node: File Caching356025
  13027. Node: Linker Functions357943
  13028. Node: Creating a Linker Hash Table359617
  13029. Node: Adding Symbols to the Hash Table361356
  13030. Node: Differing file formats362256
  13031. Node: Adding symbols from an object file363981
  13032. Node: Adding symbols from an archive366131
  13033. Node: Performing the Final Link368477
  13034. Node: Information provided by the linker369718
  13035. Node: Relocating the section contents370872
  13036. Node: Writing the symbol table372624
  13037. Node: Hash Tables379778
  13038. Node: Creating and Freeing a Hash Table380976
  13039. Node: Looking Up or Entering a String382226
  13040. Node: Traversing a Hash Table383479
  13041. Node: Deriving a New Hash Table Type384268
  13042. Node: Define the Derived Structures385334
  13043. Node: Write the Derived Creation Routine386415
  13044. Node: Write Other Derived Routines389040
  13045. Node: BFD back ends390355
  13046. Node: What to Put Where390625
  13047. Node: aout390805
  13048. Node: coff397087
  13049. Node: elf425238
  13050. Node: mmo425639
  13051. Node: File layout426509
  13052. Node: Symbol-table432422
  13053. Node: mmo section mapping436185
  13054. Node: GNU Free Documentation License439839
  13055. Node: BFD Index464903
  13056. 
  13057. End Tag Table